Hi,
Suppose this is my first post on these forums, but I have been following the development of this engine for a while. As you may read from the title, I'm running Archlinux with GCC 4.3.0.
However I am experiencing some trouble building the engine.
1: I have to edit the sources to include the stuff that has been removed in the header dependency cleanup of GCC 4.3.0 ( see:
http://gcc.gnu.org/gcc-4.3/porting_to.html ). I see that there is also a patch for it in this thread:
http://www.horde3d.org/forums/viewtopic.php?f=3&t=363. This is not a big problem, but I wish the patch would be included in trunk.
2: I do not know what the following error is, but I get this if I do not add
-msse3 to the definitions in
trunk/Horde3D/Source/Horde3DEngine/CMakeLists.txt:
Code:
[gunnar@archlinux trunk]$ 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
[ 4%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCamera.o
[ 6%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egCom.o
[ 8%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egGeometry.o
[ 9%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egLight.o
[ 11%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMain.o
[ 13%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egMaterial.o
[ 14%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModel.o
[ 16%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egModules.o
[ 18%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egParticle.o
[ 19%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egPipeline.o
[ 21%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRendererBase.o
[ 22%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egRenderer.o
[ 24%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egResource.o
[ 26%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egScene.o
[ 27%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egSceneGraphRes.o
[ 29%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egShader.o
[ 31%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/egTextures.o
[ 32%] Building CXX object Horde3D/Source/Horde3DEngine/CMakeFiles/Horde3D.dir/utImage.o
In file included from /home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp:97:
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/emmintrin.h:34:3: error: #error "SSE2 instruction set not enabled"
/home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘unsigned char* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’:
/home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp:241: warning: deprecated conversion from string constant to ‘char*’
/home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’:
/home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp:281: warning: deprecated conversion from string constant to ‘char*’
/home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘unsigned char* convert_format(unsigned char*, int, int)’:
/home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp:478: warning: deprecated conversion from string constant to ‘char*’
/home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘float* ldr_to_hdr(stbi_uc*, int, int, int)’:
/home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp:518: warning: deprecated conversion from string constant to ‘char*’
/home/gunnar/code/horde3d_svn/trunk/Horde3D/Source/Horde3DEngine/utImage.cpp: In function ‘stbi_uc* hdr_to_ldr(float*, int, int, int)’:
I do not know anything about SSE, is it a problem with
utImage.cpp, or GCC 4.3.0? Why do I have to supply the -msse3 to get it to compile (have not tried other options tho..)?
EDIT: OT, but I really like what you are doing with this engine. Superclean and nice code, I am quickly able to read through the code and get an overview of whats going on. More projects should be coded like this. Kudos to everyone involved, you have done a smashing job!