Flex errors

Started by antonyvasanth, December 10, 2008, 02:16:12 PM

Previous topic - Next topic

antonyvasanth

Hi victor,

           While compiling in windows environment i have got the following error.
1.
--------------------Configuration: libnxsl - Win32 Debug--------------------
Compiling .\parser.l
flex: unknown flag '-'.  For usage, try
flex --help
Error executing c:\windows\system32\cmd.exe.

2.

nxconfig.exe - 0 error(s), 0 warning(s)
--------------------Configuration: nxcore - Win32 Debug--------------------
Compiling .\nxmp_parser.l
flex: unknown flag '-'.  For usage, try
flex --help
Error executing c:\windows\system32\cmd.exe.


I am using flex 2.5.4a version. Could you please tell me what is the solution i can follow to resolve the above error


Regards,

Antony Vasanth

Victor Kirhenshtein

Hi!

You need flex version 2.5.33.

Best regards,
Victor

sushizang

I can not find "flex version 2.5.33 for windows".

But, Just "flex-2.5.4a".

How can I get it??

Regards.

Victor Kirhenshtein

It is available as part of MSYS: http://www.mingw.org/wiki/msys

Best regards,
Victor

sushizang

I have install msys but can not find it.

So, I have install Cygwin to re-compile flex src.

And I could find it from installed Cygwin directory (c:/cygwin/bin).

In other word, No need re-compile flex.

thanks.

Regards.