该用户从未签到
编译日志 OpenSceneGraph-2.3.5编译需要用CMake生成makefile然后在命令行中make -fMakefile编译 OpenSceneGraph-2.3.5除插件外在BCB6下编译通过,但运行似乎有问题,我做了如下修改供大家参考,不对之处请修改: 有些第三方插件需要手工建立BCB6的make文件,有兴趣的可以帮我一把 C:\OpenSceneGraph-2.3.5\applications\osgarchive\osgarchive.cpp(79): else if (fileType==osgDB::DIRECTORY_)//TODO:BCB6 DIRECTORY 有名字冲突改为 DIRECTORY_ C:\OpenSceneGraph-2.3.5\include\osgShadow\OccluderGeometry(26): //TODO:BCB6 using namespace osg; C:\OpenSceneGraph-2.3.5\include\osg\Matrixd(13): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\include\osg\Math(45): #if defined (sun) || defined (__APPLE__) || defined(__BCPLUSPLUS__)//TODO:BCB6 C:\OpenSceneGraph-2.3.5\include\osg\Math(94): defined (APPLE_PRE_10_2) || defined(__BCPLUSPLUS__)//TODO:BCB6 C:\OpenSceneGraph-2.3.5\include\osgUtil\Optimizer(26): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\include\osgViewer\Scene(52): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\include\osgViewer\View(32): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\include\osgViewer\CompositeViewer(23): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\include\osgViewer\Viewer(23): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\include\osgViewer\Viewer(28): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\include\osgViewer\GraphicsWindow(32): //TODO:BCB6 using namespace osg; C:\OpenSceneGraph-2.3.5\include\osgViewer\GraphicsWindow(125): virtual std::string getWindowName() { return _traits.valid() ? _traits->windowName : /*TODO:BCB6 (std::string)*/(std::string)""; } C:\OpenSceneGraph-2.3.5\include\osgDB\FileUtils(36): //TODO:BCB6 DIRECTORY C:\OpenSceneGraph-2.3.5\include\osgSim\ImpostorSprite(31): //TODO:BCB6 using namespace osg; C:\OpenSceneGraph-2.3.5\include\osgSim\ShapeAttribute(82): //TODO:BCB6 using namespace osg; C:\OpenSceneGraph-2.3.5\include\OpenThreads\Thread(22): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osg\GraphicsContext.cpp(632): //TODO:BCB6 GraphicsContext:: C:\OpenSceneGraph-2.3.5\src\osg\GraphicsContext.cpp(654): //TODO:BCB6 GraphicsContext:: C:\OpenSceneGraph-2.3.5\src\osg\GraphicsContext.cpp(704): //TODO:BCB6 GraphicsContext:: C:\OpenSceneGraph-2.3.5\src\osg\LOD.cpp(55): //TODO:BCB6 0!= C:\OpenSceneGraph-2.3.5\src\osg\State.cpp(42): //TODO:BCB6 * C:\OpenSceneGraph-2.3.5\src\osg\State.cpp(552): if (unit>=_textureAttributeMapList.size()) return 0;//TODO:BCB6 return 0 C:\OpenSceneGraph-2.3.5\src\osg\Geometry.cpp(13): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osg\ComputeBoundsVisitor.cpp(13): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osg\AnimationPath.cpp(13): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osg\OcclusionQueryNode.cpp(386): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osgUtil\Simplifier.cpp(230): //TODO:BCB6 (osg::ref_ptr<Point>) C:\OpenSceneGraph-2.3.5\src\osgUtil\Simplifier.cpp(250): //TODO:BCB6 (osg::ref_ptr<Point>) C:\OpenSceneGraph-2.3.5\src\osgUtil\IntersectionVisitor.cpp(27): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osgUtil\CullVisitor.cpp(280): //TODO:BCB6 CullVisitor:: C:\OpenSceneGraph-2.3.5\src\osgUtil\CullVisitor.cpp(307): //TODO:BCB6 CullVisitor:: C:\OpenSceneGraph-2.3.5\src\osgViewer\View.cpp(28): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\src\osgViewer\StatsHandler.cpp(21): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\src\osgViewer\ViewerEventHandlers.cpp(22): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\src\osgViewer\Renderer.cpp(31): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\src\osgViewer\CompositeViewer.cpp(13): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osgViewer\CompositeViewer.cpp(27): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\src\osgViewer\HelpHandler.cpp(22): //TODO:BCB6 原名View和osg::View冲突,改为_View C:\OpenSceneGraph-2.3.5\src\osgViewer\Viewer.cpp(23): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osgViewer\Viewer.cpp(76): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osgViewer\Viewer.cpp(84): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osgDB\FileUtils.cpp(27): //TODO:BCB6 _stati64 C:\OpenSceneGraph-2.3.5\src\osgDB\DatabasePager.cpp(1192): //TODO:BCB6 databaseRequest = _dataToCompileList.empty() ? 0 : _dataToCompileList.front(); C:\OpenSceneGraph-2.3.5\src\osgDB\Registry.cpp(34): #if defined(__sgi) || defined(__BCPLUSPLUS__)//TODO:BCB6 tolower C:\OpenSceneGraph-2.3.5\src\osgText\Font.cpp(341): //TODO:BCB6 using namespace osg; C:\OpenSceneGraph-2.3.5\src\OpenThreads\win32\Win32Thread.cpp(22): //TODO:BCB6 C:\OpenSceneGraph-2.3.5\src\osgManipulator\AntiSquish.cpp(70): //TODO:BCB6 using namespace osg;
使用道具 举报
BCB6_src.rar
2008-3-18 23:21 上传
点击文件名下载附件
176.22 KB, 下载次数: 161, 下载积分: 威望 1
修改后的源码
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页
网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。
|小黑屋|手机版|Archiver|OSG中国官方论坛 ( 陕ICP备14000835号-1 )
GMT+8, 2024-11-28 04:44