NetXMS Support Forum

Development => Windows => Topic started by: antonyvasanth on December 10, 2008, 02:16:12 PM

Title: Flex errors
Post by: antonyvasanth on December 10, 2008, 02:16:12 PM
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
Title: Re: Flex errors
Post by: Victor Kirhenshtein on December 10, 2008, 03:40:59 PM
Hi!

You need flex version 2.5.33.

Best regards,
Victor
Title: Re: Flex errors
Post by: sushizang on June 01, 2009, 04:45:31 AM
I can not find "flex version 2.5.33 for windows".

But, Just "flex-2.5.4a".

How can I get it??

Regards.
Title: Re: Flex errors
Post by: Victor Kirhenshtein on June 01, 2009, 09:55:04 AM
It is available as part of MSYS: http://www.mingw.org/wiki/msys (http://www.mingw.org/wiki/msys)

Best regards,
Victor
Title: Re: Flex errors
Post by: sushizang on June 02, 2009, 05:02:59 AM
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.