Building third-party products of OpenCascade
eryar@163.com
Available distributives of third-party products
OpenCascade中用到了几个第三方库,其中tcl/tk和freetype是必须的,gl2ps, freeimage, tbb是可选的,可以通过配置custom.bat来进行选择。并不是第三方库需要重新编译。
当OpenCascade编译时报了缺少第三方库的头文件时,这是因为第三方库的头文件及库文件目录未设置正确;
当启运使用了OpenCascade库的程序报图形初始化错误时,可以通过Dependency Walker来对动态库进行检查,若是第三方库的问题,此时就需要重新编译使用到的第三方库了。
|
mandatory |
optional |
|||
Products |
tcl/tk 8.5.8 |
freetype 2.4.10 |
gl2ps 1.3.5 |
freeimage 3.14.1 |
tbb |
Installation from Install Wizard |
yes (Windows) |
– |
– |
– |
– |
Building from source files |
yes (Linux) |
yes |
yes |
yes |
– |
Archive with prebuilt binaries |
yes |
yes |
yes |
yes |
yes |
Building third-party products on Windows
在Windows上编译第三方库,详细步骤可以参考OpenCascade Technology的官方文档:《Guide for building third-party products on Windows》。
第三方库的下载地址为:http://www.opencascade.org/getocc/download/3rdparty/
Windows
Products | vc8 | vc9 | vc10 | vc11 | ||||
32 bit | 64 bit | 32 bit | 64 bit | 32 bit | 64 bit | 32 bit | 64 bit | |
Freeimage 3.14.1 | zip | zip | zip | zip | zip | zip | zip | zip |
Freetype 2.3.7 | zip | zip | zip | zip | zip | zip | — | — |
Freetype 2.4.10 | zip | zip | zip | zip | zip | zip | zip | zip |
Ftgl 2.1.2 | zip | zip | zip | zip | zip | zip | — | — |
Ftgl 2.1.3 | zip | zip | zip | zip | zip | zip | zip | zip |
gl2ps 1.3.5 | zip | zip | zip | zip | zip | zip | zip | zip |
Qt | Qt 4.6.2 | |||||||
TBB | TBB 3.x or 4.x | |||||||
Tcl/Tk | ActiveTcl 8.5 or 8.6 |
不同的Visual Studio及不同的CPU位数应选择对应的第三方库进行编译。
暂无评论内容