你如何编译在Visual Studio 2005/2008弯曲? [英] How do you compile flex in Visual Studio 2005/2008?

查看:143
本文介绍了你如何编译在Visual Studio 2005/2008弯曲?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不明白这一个。我可以使用Visual Studio 2005我想我可以在Cygwin中构建下载从弯曲的GnuWin32的2.5.4a一个Win32二进制,但我想打造的最新版本(2.5.35),但如果是乐趣可言?

I can't figure this one out. I can download a win32 binary of flex 2.5.4a from gnuwin32, but I'd like to build the latest version (2.5.35) using Visual Studio 2005. I suppose I could build in in cygwin, but where is the fun in that?

http://flex.sourceforge.net/

推荐答案

因为没有人提供一个满意的答复我的问题,我在这里发布我的最终解决方案。

since nobody provided a satisfactory answer to my question, i am posting my final solution here.

我无法找到一个方法来建立VS 2005和VS 2008柔性相反,我使用的是分布与cygwin的柔性,这是pretty最近。为了拯救自己每次我需要使用Flex的机器上安装了cygwin的麻烦,我刚才保存过的依赖关系:cygwin1.dll和cygintl-8.dll

i was unable to find a way to build flex in vs 2005 or vs 2008. instead, i am using the flex that is distributed with cygwin, which is pretty recent. in order to save myself the hassle of installing cygwin on every machine that i need to use flex on, i just saved off the dependencies: cygwin1.dll and cygintl-8.dll.

只有一个警告 - Cygwin的弹性也要看M4,虽然你不会看到它的依赖学步车。它需要在路径,这使得它有疼痛感。你可以使用Cygwin的m4.exe,但它取决于cygwin1.dll也,这将需要在路径为M4执行。

there is only one caveat - cygwin's flex also depends on m4, though you won't see it on the dependency walker. it needs to be in the path, which makes it a pain. you can use cygwin's m4.exe, but it depends on cygwin1.dll also, which will need to be in the path for m4 to execute.

,即便如此,我只是检查所有这些文件到我的svn一个工具文件夹下,然后每当我需要另一台机器上进行开发,让我的code和SVN弯曲,复制m4.exe和cygwin1.dll到windows \\ system32文件夹下,我的生意。

even so, i just check all of those files into my svn under a tools folder and then whenever i need to develop on another machine, get my code and flex with svn, copy m4.exe and cygwin1.dll to the windows\system32 folder, and i'm in business.

这篇关于你如何编译在Visual Studio 2005/2008弯曲?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆