Horde3D
http://horde3d.org/forums/

Problem when compiling on Linux
http://horde3d.org/forums/viewtopic.php?f=3&t=834
Page 1 of 1

Author:  Funto [ 10.07.2009, 21:51 ]
Post subject:  Problem when compiling on Linux

Hi all,

I am new to Horde3D and wanted to compile the last version from SVN on my Ubuntu box.

"strcmp()" is used in Horde3D/Samples/Chicago/main.cpp, Horde3D/Samples/Knight/main.cpp and Extensions/Terrain/Sample/main.cpp, but neither <cstring> nor <string.h> is included, causing a compilation error.

Furthermore, there are some warnings, namely :
Quote:
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp: In member function ‘virtual bool Renderer::init()’:
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:125: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:126: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:127: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:128: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:129: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:130: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:131: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:132: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:135: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:136: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:137: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Horde3D/Source/Horde3DEngine/egRenderer.cpp:138: attention : deprecated conversion from string constant to ‘char*’

/home/funto/install/horde3d/trunk/Extensions/Terrain/Source/extension.cpp: In function ‘bool Horde3DTerrain::initExtension()’:
/home/funto/install/horde3d/trunk/Extensions/Terrain/Source/extension.cpp:46: attention : deprecated conversion from string constant to ‘char*’
/home/funto/install/horde3d/trunk/Extensions/Terrain/Source/extension.cpp:47: attention : deprecated conversion from string constant to ‘char*’


That's all ^^

Now I am going to test Horde3D a bit :)

Author:  marciano [ 11.07.2009, 09:14 ]
Post subject:  Re: Problem when compiling on Linux

Thanks! You are right, although the code compiles fine with MSVC.

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