dylar Posted May 27, 2010 Report Share Posted May 27, 2010 (edited) I've had lots of problems compiling the prealpha2. Seems I could solve many of them. But now I'm stuck with this:==== Building lowlevel ====ogghack.cpp../../../source/lib/res/sound/ogghack.cpp:34:19: warning: AL/al.h: Datei oder Verzeichnis nicht gefundenIn file included from ../../../source/lib/res/sound/ogghack.cpp:38:../../../source/lib/res/sound/ogghack.h:30: error: ‘ALenum’ has not been declared../../../source/lib/res/sound/ogghack.h:30: error: ‘ALsizei’ has not been declared../../../source/lib/res/sound/ogghack.cpp:149: error: ‘ALenum’ has not been declared../../../source/lib/res/sound/ogghack.cpp:149: error: ‘ALsizei’ has not been declared../../../source/lib/res/sound/ogghack.cpp: In function ‘void ogg_open(void*, int&, int&)’:../../../source/lib/res/sound/ogghack.cpp:164: error: ‘AL_FORMAT_MONO16’ was not declared in this scope../../../source/lib/res/sound/ogghack.cpp:166: error: ‘AL_FORMAT_STEREO16’ was not declared in this scopemake[1]: *** [obj/lowlevel_Debug/ogghack.o] Fehler 1make: *** [lowlevel] Fehler 2isi@linux-7sct:~/trunk/build/workspaces/gcc> "Datei oder Verzeichnis nicht gefunden" means "no such file or directory", in case that's important. Does anyone know what I'm doing wrong? Edited May 27, 2010 by dylar Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 27, 2010 Report Share Posted May 27, 2010 Sounds like you probably don't have OpenAL installed - it should be in /usr/include/AL/al.h. What OS / distro are you using? Quote Link to comment Share on other sites More sharing options...
dylar Posted May 27, 2010 Author Report Share Posted May 27, 2010 (edited) I'm using OpenSuse 11.2.. I checked OpenAL and I had Open AL soft installed. Just that the devel was missing. I installed that as well and now it compiles up to this:==== Building AtlasObject === AtlasObjectText.cpp /bin/sh: wx-config: Kommando nicht gefunden. AtlasObjectImpl.cpp /bin/sh: wx-config: Kommando nicht gefunden. io_align.cpp AtlasObjectXML.cpp /bin/sh: wx-config: Kommando nicht gefunden. vfs_tree.cpp Linking AtlasObject vfs.cpp ==== Building AtlasScript ==== ScriptInterface.cpp /bin/sh: wx-config: Kommando nicht gefunden. ../../../source/tools/atlas/AtlasScript/ScriptInterface.cpp:32:19: error: wx/wx.h: Datei oder Verzeichnis nicht gefunden then it goes on and on with warnings and errors and ends with this:In file included from ../../../source/lib/tex/tex_jpg.cpp:29:../../../source/lib/external_libraries/libjpeg.h:32:21: warning: jpeglib.h: Datei oder Verzeichnis nicht gefunden../../../source/lib/external_libraries/libjpeg.h:33:20: warning: jerror.h: Datei oder Verzeichnis nicht gefunden../../../source/lib/tex/tex_jpg.cpp:46: error: ‘JOCTET’ was not declared in this scope../../../source/lib/tex/tex_jpg.cpp:46: error: template argument 1 is invalid../../../source/lib/tex/tex_jpg.cpp:46: error: expected initializer before ‘LINE_46_’../../../source/lib/tex/tex_jpg.cpp:56: error: field ‘pub’ has incomplete type../../../source/lib/tex/tex_jpg.cpp:68: error: expected constructor, destructor, or type conversion before ‘src_init’../../../source/lib/tex/tex_jpg.cpp:91: error: expected constructor, destructor, or type conversion before ‘(’ tokentex_codec.cppmake[1]: *** [obj/lowlevel_Debug/tex_jpg.o] Fehler 1make[1]: *** Warte auf noch nicht beendete Prozesse...make: *** [lowlevel] Fehler 2isi@linux-7sct:~/trunk/build/workspaces/gcc> "Kommando nicht gefunden" translates to "Command not found" Edited May 27, 2010 by dylar Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 27, 2010 Report Share Posted May 27, 2010 That looks like you need wxGTK-devel and libjpeg-devel. Quote Link to comment Share on other sites More sharing options...
dylar Posted May 27, 2010 Author Report Share Posted May 27, 2010 (edited) right. I was missing several devels. Installed them and no more errors. It ends with/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libGL.so when searching for -lGLI thought all was fine now but I can't run ./test_dbg. So maybe a missing OpenGL devel? But there are so many OpenGL related packages I can choose from. I have the following installed: Mesa, glitz, glitz-devel, gtkglext, gtkglext-devel, wxWidgets-gl, Edited May 27, 2010 by dylar Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 27, 2010 Report Share Posted May 27, 2010 Hmm... Could you try running some commands like file test_dbgfile /usr/X11R6/lib/libGL.sofile -L /usr/X11R6/lib/libGL.solocate libGL.so|xargs file(from binaries/system/)? It sounds like the game was compiled as 64-bit but it's picking up a 32-bit libGL, but that's distro-specific and I'm not sure if that's really the case or why it's happening or how to fix it Quote Link to comment Share on other sites More sharing options...
dylar Posted May 27, 2010 Author Report Share Posted May 27, 2010 thank you. It's working now. I did make clean and then make again and I can start the game. Don't know what was wrong. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted May 27, 2010 Report Share Posted May 27, 2010 Oh, okay. Glad it works now! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.