Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
Hi Tony, I'm looking into this, currently it looks like a case issue on one of the CMake variables. I should have a fix checked in soon. Robert. On 11 September 2015 at 09:29, Tony Vasilewrote: > I am trying to build VirtualPlanetBuilder on Centos 6 and I am getting > the following errors: > > CMake Error at CMakeLists.txt:318 (INCLUDE): >include could not find load file: > > VpbMacroUtils > > > > CMake Error at src/vpb/CMakeLists.txt:83 (LINK_EXTERNAL): >Unknown CMake command "LINK_EXTERNAL". > > I have take a clean build from the Github mirror and just run "ccmake .". > The macro file VpbMacroUtils.cmake is in CMakeModules but for some reason > cmake is not finding it. Any suggestions? > > > Tony V > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=65113#65113 > > > > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
I am trying to build VirtualPlanetBuilder on Centos 6 and I am getting the following errors: CMake Error at CMakeLists.txt:318 (INCLUDE): include could not find load file: VpbMacroUtils CMake Error at src/vpb/CMakeLists.txt:83 (LINK_EXTERNAL): Unknown CMake command "LINK_EXTERNAL". I have take a clean build from the Github mirror and just run "ccmake .". The macro file VpbMacroUtils.cmake is in CMakeModules but for some reason cmake is not finding it. Any suggestions? Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65113#65113 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
Hi Tony, On 11 September 2015 at 09:56, Robert Osfieldwrote: > I'm looking into this, currently it looks like a case issue on one of the > CMake variables. I should have a fix checked in soon. > I have tracked down the issue to a change of case of CMake project name from VIRTUALPLANETBUILDER to VirtualPlanetBuilder, this change fixed a branching/tag issue but inadvertently broke the build. I can't have do a clean cmake . after making the changes last month. The change in case cased a problem because I didn't spot the need for changing the cmake generated VIRTUALPLANETBUILDER_SOURCE_DIR var usag to VirtualPlanetBuilder_SOURCE_DIR. Making this later change fixes the cmake issues. I have check this fix into VPB svn/trunk and the VPB-1.0 branch. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
Thanks Robert, How to disable checked iterators properly? And what to do about SqlAllocConnect error? Cheers, Can -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64433#64433 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
News: Choosing gdal_i.lib instead of gdal.lib solves the problem; i guess it's about linking to static libraries. Now I'll rebuild our terrain models and see if they look ok. Now two things to declare: 1. VIRTUALPLANETBUILDER_SOURCE_DIR to be replaced with CMAKE_SOURCE_DIR (or some other tweak to make it build smoothly on VS2013) 2. We need a flag for disabling MSVC checked iterators just as one exists in OSG right now. I'll be back with good news I guess:) Regards, Can -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64436#64436 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
Hi, Builds on VS2010 with osg-trunk and vpb-master without any problems. The build errors are really strange. Something like: error C2039: 'Serializer' : is not a member of 'osgDB' may indicate that you are pulling in some foreign headers. I'll check the RC when I've got time Cheers Sebastian Hi Robert, Thank you for the quick response. I've attached the build log. Please note that this is from 3.4.0 RC1, RC5 is also similar, right now I have access to my other desktop so I'm sending this one to give a quick idea. Regards, Can -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64391#64391 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
Hi robert, I ever do the same things in windows 7 x64 and VC2010 some days ago,have no problem,but the compiled VPB can't work properly. zhuwan 07,22,2015 在2015-7-22 13:21:01,Robert Osfield robert.osfi...@gmail.com 写道: -原始邮件- 发件人: Robert Osfield robert.osfi...@gmail.com 发送时间: 2015-7-22 13:21:01 收件人: OpenSceneGraph Users osg-users@lists.openscenegraph.org 主题: Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013 Hi Can, I have just compiled VPB svn/trunk against OSG svn/trunk under Linux and there are no build errors. This is building with Kubuntu 15.04. I have looked at your build errors and it looks like VPB isn't building against the latest OSG. Any chance the CMake configuration for VPB is pointing at an old version of the OSG? Robert. On 22 July 2015 at 00:10, Can T. Oguz cto...@gmail.com wrote: Hi Robert, Thank you for the quick response. I've attached the build log. Please note that this is from 3.4.0 RC1, RC5 is also similar, right now I have access to my other desktop so I'm sending this one to give a quick idea. Regards, Can -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64391#64391 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
HI Can, On 22 July 2015 at 13:28, Can T. Oguz cto...@gmail.com wrote: I've found out what the problem is: On CmakeLists.txt line#29, there's a typo: PROJECT(VitualPlanetBuilder) Ooopps a typo I introduced this morning when trying to make VPB a bit more consistent. Now fixed and checked into VPB svn/trunk and VPB-1.0 branch. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
Hi There, It turns out that it was an old version of VPB (!) Just checked out the truck folder and now Cmake says: msvc2010 + build fix /FORCE:MULTIPLE CMake Error at CMakeLists.txt:318 (INCLUDE): include could not find load file: VpbMacroUtils CMake Error at src/vpb/CMakeLists.txt:81 (LINK_EXTERNAL): Unknown CMake command LINK_EXTERNAL. And yes, VpbMacroUtils is where it should be. It looks like SET(CMAKE_MODULE_PATH ${VIRTUALPLANETBUILDER_SOURCE_DIR}/CMakeModules;${CMAKE_MODULE_PATH}) command didn't work because FindGDAL was also not overriden. Any ideas? Can Thank you! Cheers, Can -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64410#64410 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
I've found out what the problem is: On CmakeLists.txt line#29, there's a typo: PROJECT(VitualPlanetBuilder) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64414#64414 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
Hi Can, Could you provide the build errors so we can work out what might be amiss. Robert. On 21 July 2015 at 16:35, Can T. Oguz cto...@gmail.com wrote: Hello There, I was trying to build VPB with the latest OSG on Windows with VS2013 and I got a lot of compiler errors; there's a big chance that latest versions are incompatible. I wanted to check out if it's a platform/compiler issue or not. Anybody tried that using the latest RC on linux or other platforms? Thank you! Cheers, Can -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64389#64389 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
Hi Can, I have just compiled VPB svn/trunk against OSG svn/trunk under Linux and there are no build errors. This is building with Kubuntu 15.04. I have looked at your build errors and it looks like VPB isn't building against the latest OSG. Any chance the CMake configuration for VPB is pointing at an old version of the OSG? Robert. On 22 July 2015 at 00:10, Can T. Oguz cto...@gmail.com wrote: Hi Robert, Thank you for the quick response. I've attached the build log. Please note that this is from 3.4.0 RC1, RC5 is also similar, right now I have access to my other desktop so I'm sending this one to give a quick idea. Regards, Can -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64391#64391 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Latest VPB with OSG 3.4.0RC5 with VS2013
Hi Robert, Thank you for the quick response. I've attached the build log. Please note that this is from 3.4.0 RC1, RC5 is also similar, right now I have access to my other desktop so I'm sending this one to give a quick idea. Regards, Can -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64391#64391 1-- Rebuild All started: Project: ZERO_CHECK, Configuration: Debug Win32 -- 1 Checking Build System 1 CMake does not need to re-run because C:/lib/VirtualPlanetBuilder/CMakeFiles/generate.stamp is up-to-date. 1 CMake does not need to re-run because C:/lib/VirtualPlanetBuilder/src/CMakeFiles/generate.stamp is up-to-date. 1 CMake does not need to re-run because C:/lib/VirtualPlanetBuilder/src/vpb/CMakeFiles/generate.stamp is up-to-date. 1 CMake does not need to re-run because C:/lib/VirtualPlanetBuilder/applications/CMakeFiles/generate.stamp is up-to-date. 1 CMake does not need to re-run because C:/lib/VirtualPlanetBuilder/applications/osgdem/CMakeFiles/generate.stamp is up-to-date. 1 CMake does not need to re-run because C:/lib/VirtualPlanetBuilder/applications/vpbcache/CMakeFiles/generate.stamp is up-to-date. 1 CMake does not need to re-run because C:/lib/VirtualPlanetBuilder/applications/vpbsizes/CMakeFiles/generate.stamp is up-to-date. 1 CMake does not need to re-run because C:/lib/VirtualPlanetBuilder/applications/vpbmaster/CMakeFiles/generate.stamp is up-to-date. 2-- Rebuild All started: Project: vpb, Configuration: Debug Win32 -- 2 Building Custom Rule C:/lib/VirtualPlanetBuilder/src/vpb/CMakeLists.txt 2 CMake does not need to re-run because C:\lib\VirtualPlanetBuilder\src\vpb\CMakeFiles\generate.stamp is up-to-date. 2 BuildLog.cpp 2 BuildOperation.cpp 2 BuildOptions.cpp 2 BuildOptionsIO.cpp 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(202): warning C4005: 'ADD_ENUM_VALUE' : macro redefinition 2 C:\Program Files (x86)\OpenSceneGraph\include\osgDB/Serializer(1840) : see previous definition of 'ADD_ENUM_VALUE' 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(235): error C2039: 'Serializer' : is not a member of 'osgDB' 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(235): error C2065: 'Serializer' : undeclared identifier 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(235): error C2923: 'osg::ref_ptr' : 'Serializer' is not a valid template type argument for parameter 'T' 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(235): error C3203: 'ref_ptr' : unspecialized class template can't be used as a template argument for template parameter '_Ty', expected a real type 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(242): error C2275: 'vpb::BuildOptions' : illegal use of this type as an expression 2 C:\lib\VirtualPlanetBuilder\include\vpb/BuildOptions(31) : see declaration of 'vpb::BuildOptions' 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(242): error C2065: 'Directory' : undeclared identifier 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(242): error C3861: 'CREATE_STRING_SERIALIZER': identifier not found 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(243): error C2275: 'vpb::BuildOptions' : illegal use of this type as an expression 2 C:\lib\VirtualPlanetBuilder\include\vpb/BuildOptions(31) : see declaration of 'vpb::BuildOptions' 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(243): error C2065: 'OutputTaskDirectories' : undeclared identifier 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(243): error C3861: 'CREATE_BOOL_SERIALIZER': identifier not found 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(244): error C2275: 'vpb::BuildOptions' : illegal use of this type as an expression 2 C:\lib\VirtualPlanetBuilder\include\vpb/BuildOptions(31) : see declaration of 'vpb::BuildOptions' 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(244): error C2065: 'DestinationTileBaseName' : undeclared identifier 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(244): error C3861: 'CREATE_STRING_SERIALIZER': identifier not found 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(245): error C2275: 'vpb::BuildOptions' : illegal use of this type as an expression 2 C:\lib\VirtualPlanetBuilder\include\vpb/BuildOptions(31) : see declaration of 'vpb::BuildOptions' 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(245): error C2065: 'DestinationTileExtension' : undeclared identifier 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(245): error C3861: 'CREATE_STRING_SERIALIZER': identifier not found 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(246): error C2275: 'vpb::BuildOptions' : illegal use of this type as an expression 2 C:\lib\VirtualPlanetBuilder\include\vpb/BuildOptions(31) : see declaration of 'vpb::BuildOptions' 2C:\lib\VirtualPlanetBuilder\src\vpb\BuildOptionsIO.cpp(246): error C2065: