如何在 Windows 7 上编译 ASL(基于 boost 的 Adobe C++ gui 库)?
所以我尝试在 Windows 7 上编译 ASL 。
- 我得到 Adobe C++ 库文件、文档和示例从此处 到
%ASL%
- 我有下载并编译boost(在其他文件夹
%boost%
) - 所以现在我已经编译了Boost(所有库),bjam,VS 2008安装(我有它在
%ProgramFiles(x86)% code>)
现在我尝试运行
<块引用>%ASL%/tools/build.bat
但我得到了一些奇怪的行,例如在 C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ 找到编译器
设置使用Microsoft Visual Studio 2008 x86 工具的环境。 文件名语法错误 找不到 C:\Users\Avesta\Downloads\asl_1.0.43 (1)\source_release\tools*.obj
我该怎么办?如何在Windows 7上编译ASL?
更新: 所以我尝试了 @vnm的回答(创建了一个新文件夹并一次完成他提供的每个步骤)我忘记解压TBB......解压TBB后全部编译正确=)
但有一个问题代表我 - 如何使构建结果更干净(我的意思是放入像 %ASL%\built_artifacts\msvc-10.0\debug\link-static\threading-multi 这样的文件夹中,然后你就可以了请参阅 libasl.lib,这是一条相当长的导航路径...是否有可能获得一个像 adobe/bin/ 这样的干净文件夹,其中包含诸如 libasl.lib 之类的内容,其中的 libasl_dev.lib
和 libadobe_widgets.lib
)
So I am triing to compile ASL on windows 7.
- I got Adobe C++ Library files, docs and examples from here to
%ASL%
- I have downloaded and compiled boost (in some other folder
%boost%
) - So now I have compiled Boost (all libs), bjam, VS 2008 installed (I have it in
%ProgramFiles(x86)%
) Now I try to run
%ASL%/tools/build.bat
but I get some strange lines likeFound compiler at C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
Sintax error in filename
Can not find C:\Users\Avesta\Downloads\asl_1.0.43 (1)\source_release\tools*.obj
What shall I do? How to compile ASL on windows 7?
Update:
So I tried @vnm's answer (created a new folder and done each step provided by him one at a time) I forgot to unpack TBB... after unpacking TBB all compiled correctly=)
But one question stands for me - how to make results of build more clean (I mean thay lay into folder like %ASL%\built_artifacts\msvc-10.0\debug\link-static\threading-multi and there you see libasl.lib
it is quite a long path to navigate... is it possible to get one clean folder like adobe/bin/ with stuff like libasl.lib
, libasl_dev.lib
and libadobe_widgets.lib
in it? )
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我无法使用库附带的 .bat 脚本构建 asl,
但直接使用 bjam 就可以了。
下载并安装boost库(版本1.45),
英特尔 tbb 库(最新版本),apl 和 asl(最新版本)
编译或下载预编译的bjam 并将其放在 %PATH%
使用下一个布局将下载的库解压到磁盘:
<代码>
启动 Visual Studio 命令提示符
cd 到 %PROJ_ROOT%\adobe_source_libraries并调用 bjam
cd 至%PROJ_ROOT%\platform_release 并调用 bjam
完成! )
PS 我有 Visual C++ 2010 Express,但我认为本指南也适用于 VS2008。
I was unable to build asl using .bat script shipped with library,
but direct using of bjam did the job.
download and install boost libraries (version 1.45),
intel tbb libraries (last version), apl and asl (last versions)
compile or download pre-compilled bjam and put it on %PATH%
unpack downloaded libraries to disk using next layout:
start Visual Studio Command Prompt
cd to %PROJ_ROOT%\adobe_source_libraries and invoke bjam
cd to %PROJ_ROOT%\platform_release and invoke bjam
Done ! )
P.S. I have Visual C++ 2010 Express, but I think that this guide should work for VS2008 too.