evemuproject / evemu_server

MAIN SERVER DEVELOPMENT
http://www.evemu.org
148 stars 103 forks source link

Build errors at commit 127e3f0 #6

Closed Jehreg closed 12 years ago

Jehreg commented 12 years ago

[ 12%] Built target doc [ 12%] Generating CMakeFiles/eve-core.dir/eve-core.h.gch /eve/evemu_server/include/eve-core/eve-core.h:160:23: fatal error: GaPreReqs.h: No such file or directory compilation terminated. make[2]: * [src/eve-core/CMakeFiles/eve-core.dir/eve-core.h.gch] Error 1 make[1]: * [src/eve-core/CMakeFiles/eve-core.dir/all] Error 2 make: *\ [all] Error 2

root@thinkpad:/eve/evemu_server# git branch -av

Ubuntu Precise 12.04

git clone mkdir build cd build cmake ../evemu_server make

bobekjan commented 12 years ago

Hey Jehreg, thanks for the report. Could you please run

grep GANGSTA CMakeCache.txt

in the build directory and post the output here?

Jehreg commented 12 years ago

root@thinkpad:/eve/build# grep GANGSTA CMakeCache.txt GANGSTA_INCLUDE_DIRS:PATH=GANGSTA_INCLUDE_DIRS-NOTFOUND GANGSTA_LIBRARIES:FILEPATH=GANGSTA_LIBRARIES-NOTFOUND //ADVANCED property for variable: GANGSTA_INCLUDE_DIRS GANGSTA_INCLUDE_DIRS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: GANGSTA_LIBRARIES GANGSTA_LIBRARIES-ADVANCED:INTERNAL=1

bobekjan commented 12 years ago

Should be fixed in 5eb7200. You'll need to upgrade CMake to finish the build; you can use the Ubuntu Quantal package repository or official binaries found at http://cmake.org/cmake/resources/software.html.

I'll wait for your feedback before closing this issue.

Jehreg commented 12 years ago

It worked, you can close this issue.

Now I have to figure out why it has problems with TinyXML:

[ 19%] Building CXX object src/eve-core/CMakeFiles/eve-core.dir/utils/XMLParser.cpp.o /eve/evemuserver/src/eve-core/utils/XMLParser.cpp: In member function ‘bool XMLParser::ParseElementChildren(const TiXmlElement, size_t) const’: /eve/evemuserver/src/eve-core/utils/XMLParser.cpp:81:13: error: ‘ELEMENT’ is not a member of ‘TiXmlNode’ make[2]: ** [src/eve-core/CMakeFiles/eve-core.dir/utils/XMLParser.cpp.o] Error 1 make[1]: * [src/eve-core/CMakeFiles/eve-core.dir/all] Error 2 make: * [all] Error 2

Should I open another issue ?

Jehreg commented 12 years ago

Just in case:

root@thinkpad:/eve/build# dpkg -l | grep tiny ii libtinyxml-dev 2.6.2-1build1 TinyXml library - header and static library ii libtinyxml2.6.2 2.6.2-1build1 C++ XML parsing library

bobekjan commented 12 years ago

Yup, that's another issue. That TinyXML is too new, you should be able to workaround that by removing the packages. Anyway, I'm closing this for now; just create another issue if you run into any more problems.