Horde3D
http://horde3d.org/forums/

Build Error on Lubuntu
http://horde3d.org/forums/viewtopic.php?f=2&t=1871
Page 1 of 1

Author:  crazyafrican [ 14.03.2013, 08:19 ]
Post subject:  Build Error on Lubuntu

Hi there just thought I would give the engine a test run but I get these errors when building.
I have gcc version 4.7.2 and on Lubuntu 12.10

Code:
chris@chris-Satellite-L300:~/Desktop/Horde3D_SDK_1.0.0_Beta5/CMake$ cmake ..
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
-- Looking for glXGetProcAddressARB
-- Looking for glXGetProcAddressARB - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/CMake
chris@chris-Satellite-L300:~/Desktop/Horde3D_SDK_1.0.0_Beta5/CMake$ make
Scanning dependencies of target Horde3D
[  1%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egAnimatables.o
[  3%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egAnimation.o
[  5%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCamera.o
[  7%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCom.o
[  9%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egExtensions.o
[ 10%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egGeometry.o
[ 12%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egLight.o
[ 14%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMain.o
[ 16%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMaterial.o
[ 18%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModel.o
[ 20%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModules.o
[ 21%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egParticle.o
[ 23%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egPipeline.o
[ 25%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egPrimitives.o
[ 27%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRendererBase.o
[ 29%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRenderer.o
[ 30%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egResource.o
[ 32%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egScene.o
[ 34%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egSceneGraphRes.o
In file included from /home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/egSceneGraphRes.cpp:17:0:
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h: In instantiation of ‘OutIt rapidxml::internal::print_node(OutIt, const rapidxml::xml_node<Ch>*, int, int) [with OutIt = std::back_insert_iterator<std::basic_string<char> >; Ch = char]’:
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:420:57:   required from ‘OutIt rapidxml::print(OutIt, const rapidxml::xml_node<Ch>&, int) [with OutIt = std::back_insert_iterator<std::basic_string<char> >; Ch = char]’
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/egSceneGraphRes.cpp:71:96:   required from here
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:145:17: error: ‘print_children’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:199:22: note: ‘template<class OutIt, class Ch> OutIt rapidxml::internal::print_children(OutIt, const rapidxml::xml_node<Ch>*, int, int)’ declared here, later in the translation unit
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:150:17: error: ‘print_element_node’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:272:22: note: ‘template<class OutIt, class Ch> OutIt rapidxml::internal::print_element_node(OutIt, const rapidxml::xml_node<Ch>*, int, int)’ declared here, later in the translation unit
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:155:17: error: ‘print_data_node’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:238:22: note: ‘template<class OutIt, class Ch> OutIt rapidxml::internal::print_data_node(OutIt, const rapidxml::xml_node<Ch>*, int, int)’ declared here, later in the translation unit
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:160:17: error: ‘print_cdata_node’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:249:22: note: ‘template<class OutIt, class Ch> OutIt rapidxml::internal::print_cdata_node(OutIt, const rapidxml::xml_node<Ch>*, int, int)’ declared here, later in the translation unit
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:165:17: error: ‘print_declaration_node’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:328:22: note: ‘template<class OutIt, class Ch> OutIt rapidxml::internal::print_declaration_node(OutIt, const rapidxml::xml_node<Ch>*, int, int)’ declared here, later in the translation unit
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:170:17: error: ‘print_comment_node’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:351:22: note: ‘template<class OutIt, class Ch> OutIt rapidxml::internal::print_comment_node(OutIt, const rapidxml::xml_node<Ch>*, int, int)’ declared here, later in the translation unit
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:175:17: error: ‘print_doctype_node’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:369:22: note: ‘template<class OutIt, class Ch> OutIt rapidxml::internal::print_doctype_node(OutIt, const rapidxml::xml_node<Ch>*, int, int)’ declared here, later in the translation unit
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:180:17: error: ‘print_pi_node’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/chris/Desktop/Horde3D_SDK_1.0.0_Beta5/Horde3D/Source/Horde3DEngine/../Shared/rapidxml_print.h:391:22: note: ‘template<class OutIt, class Ch> OutIt rapidxml::internal::print_pi_node(OutIt, const rapidxml::xml_node<Ch>*, int, int)’ declared here, later in the translation unit
make[2]: *** [Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egSceneGraphRes.o] Error 1
make[1]: *** [Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/all] Error 2
make: *** [all] Error 2
chris@chris-Satellite-L300:~/Desktop/Horde3D_SDK_1.0.0_Beta5/CMake$



not sure what to do with this so any help would be appreciated.
Thanks

Author:  Irdis [ 14.03.2013, 09:42 ]
Post subject:  Re: Build Error on Lubuntu

You should download the latest version from SourceForge svn. It seems that beta 5 sources have some trouble building under Linux (your topic is not the first one).

Author:  crazyafrican [ 15.03.2013, 00:35 ]
Post subject:  Re: Build Error on Lubuntu

Thanks for fast reply works like a charm!

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/