|
发表于 2008-12-1 18:00:55
|
显示全部楼层
编译2.7.5出现的问题,有没有统一的下载第三方库的方法呢?
到目前为止,最新版本是2.7.5 时,新版本对HTTP有支持,所以我去试着编译了一下。
开始我用SVN从http://www.openSceneGraph.com里下载的最新的第三方依赖库,下载了OpenSceneGraph-2.7.5.zip,解压缩。
后来,我用CMAKE编译时发现第三方库缺少了10多个。
CMAKE如下所示:(缺失的地方)
CMAKE_AR-NOTFOUND
COLLADA_INCLUDE_DIR-NOTFOUND
COLLADA_LIBRARY-NOTFOUND
DCMTK_ROOT_INCLUDE_DIR-NOTFOUND
DCMTK_config_INCLUDE_DIR-NOTFOUND
DCMTK_dcmdata_INCLUDE_DIR-NOTFOUND
DCMTK_dcmdata_LIBRARY-NOTFOUND
DCMTK_dcmimgle_INCLUDE_DIR-NOTFOUND
DCMTK_dcmimgle_LIBRARY-NOTFOUND
DCMTK_dcmnet_LIBRARY-NOTFOUND
DCMTK_imagedb_LIBRARY-NOTFOUND
DCMTK_ofstd_INCLUDE_DIR-NOTFOUND
DCMTK_ofstd_LIBRARY-NOTFOUND
FLTK_GL_LIBRARY-NOTFOUND
FLTK_INCLUDE_DIR-NOTFOUND
FLTK_LIBRARY-NOTFOUND
FOX_INCLUDE_DIR-NOTFOUND
FOX_LIBRARY-NOTFOUND
FREETYPE_INCLUDE_DIR_freetype2-NOTFOUND
FREETYPE_INCLUDE_DIR_ft2build-NOTFOUND
GDAL_INCLUDE_DIR-NOTFOUND
GDAL_LIBRARY-NOTFOUND
GLUT_glut_LIBRARY-NOTFOUND
INVENTOR_INCLUDE_DIR-NOTFOUND
INVENTOR_LIBRARY-NOTFOUND
INVENTOR_LIBRARY_DEBUG-NOTFOUND
ITK_DIR-NOTFOUND
JASPER_INCLUDE_DIR-NOTFOUND
JASPER_LIBRARY-NOTFOUND
编译OpenSceneGraph.slu时都提示同一个错误:
fatal error C1083: 无法打开源文件:“Files/OpenSceneGraph/lib/osgPlugins-2.7.5”: No such file or directory
Atomic.cpp
用相同的方法编译2.3.7我确实成功了。
我试着去各个官方网站,找了很久,可是发现不同的第三方库都很不一样。我都不知道该下什么东西了。请问楼主,有没有统一的下载第三方库的方法呢?我想把缺失的第三方库下载下来。 |
|