Jump to content

building lowlevel error


Recommended Posts

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 gefunden
In 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 scope
make[1]: *** [obj/lowlevel_Debug/ogghack.o] Fehler 1
make: *** [lowlevel] Fehler 2
isi@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 by dylar
Link to post
Share on other sites

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 ‘(’ token
tex_codec.cpp
make[1]: *** [obj/lowlevel_Debug/tex_jpg.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
make: *** [lowlevel] Fehler 2
isi@linux-7sct:~/trunk/build/workspaces/gcc>

"Kommando nicht gefunden" translates to "Command not found"

Edited by dylar
Link to post
Share on other sites

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 -lGL

I 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 by dylar
Link to post
Share on other sites

Hmm... Could you try running some commands like

file test_dbg
file /usr/X11R6/lib/libGL.so
file -L /usr/X11R6/lib/libGL.so
locate 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 ;)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...