Compilation Fail on Linux With Both Current and SVN Versions
Posted: Mon Jan 04, 2010 20:21
Yeah, the topic's pretty self-explanatory, I'd think. Here are the details: I'm running Ubuntu Karmic (64-bit), I have all the dependencies (most obtained while compiling ZDoom, which, aside from refusing to use TiMiDiTy++, to my unending rage, compiles and works); I am using libfmodex64-4.28.00 and creating my makefile with "cmake -DCMAKE_BUILD_TYPE=Release -DFMOD_LIBRARY=/usr/local/lib/libfmodex64-4.28.00.so ..", exactly as I did with ZDoom. This appears to work, as it allows me to type "make" afterwards and begin compiling. Herein lies the problem: Around 75%, it fails, without fail, either at glnodes.o or gl_vertexbuffer.o, depending on the particular version. Now, to be most relevant, my very last test was using 1.4.0, instead of the SVN versions (which as of this writing still fail to compile as well). The full error message is as follows:
[ 75%] Building CXX object src/CMakeFiles/zdoom.dir/gl/data/gl_vertexbuffer.o
/home/cory/Downloads/Source/GZDoom-1.4.0/src/gl/data/gl_vertexbuffer.cpp: In member function ‘int FVertexBuffer::CreateSubsectorVertices(subsector_t*, const secplane_t&, int)’:
/home/cory/Downloads/Source/GZDoom-1.4.0/src/gl/data/gl_vertexbuffer.cpp:143: warning: comparison between signed and unsigned integer expressions
/home/cory/Downloads/Source/GZDoom-1.4.0/src/gl/data/gl_vertexbuffer.cpp: In member function ‘void FVertexBuffer::MapVBO()’:
/home/cory/Downloads/Source/GZDoom-1.4.0/src/gl/data/gl_vertexbuffer.cpp:263: error: void value not ignored as it ought to be
make[2]: *** [src/CMakeFiles/zdoom.dir/gl/data/gl_vertexbuffer.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
I must admit that I am still relatively new to Linux, having only used it since 2007. If more detail is required, please tell me how I can get it for you.
[ 75%] Building CXX object src/CMakeFiles/zdoom.dir/gl/data/gl_vertexbuffer.o
/home/cory/Downloads/Source/GZDoom-1.4.0/src/gl/data/gl_vertexbuffer.cpp: In member function ‘int FVertexBuffer::CreateSubsectorVertices(subsector_t*, const secplane_t&, int)’:
/home/cory/Downloads/Source/GZDoom-1.4.0/src/gl/data/gl_vertexbuffer.cpp:143: warning: comparison between signed and unsigned integer expressions
/home/cory/Downloads/Source/GZDoom-1.4.0/src/gl/data/gl_vertexbuffer.cpp: In member function ‘void FVertexBuffer::MapVBO()’:
/home/cory/Downloads/Source/GZDoom-1.4.0/src/gl/data/gl_vertexbuffer.cpp:263: error: void value not ignored as it ought to be
make[2]: *** [src/CMakeFiles/zdoom.dir/gl/data/gl_vertexbuffer.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
I must admit that I am still relatively new to Linux, having only used it since 2007. If more detail is required, please tell me how I can get it for you.