PDA

View Full Version : [ubuntu] assaultcube 1.0 and libopenal.so.1



animalprimate
November 23rd, 2008, 09:13 AM
when i try to run the new assault cube I keep getting this message,



.//bin_unix/linux_client: error while loading shared libraries:
libopenal.so.1: cannot open shared object file: No such file or directory


ive been trying new sensible packages but I still get that message whenever i run



./assaultcube.sh


i hope that you can help me get it running that would make me so happy.

heres a small guide with the installation steps below:

http://assault.cubers.net/docs/v1.0/getstarted.html from this link
Linux
You'll need to make sure the appropriate OpenGL drivers are installed, plus these libraries:
* libSDL 1.2
* libSDL_image
* OpenAL
(Note: To use the client provided with the Linux package, you will need OpenAL-Soft instead of OpenAL, otherwise you will need to compile your own client if you would rather use normal OpenAL)... im really baffled.

Bill Cosby
November 25th, 2008, 02:24 PM
After you install the openal package you need to do this:



$ cd /usr/lib
$ sudo ln -s libopenal.so.0 libopenal.so.1

go_beep_yourself
November 25th, 2008, 02:31 PM
Has anybody been able to compile the latest AssaultCube? I keep getting an error about Sound.cpp when running make. Sauerbraten compiled flawlessly though.

djbushido
November 25th, 2008, 02:34 PM
this may not be the best reply, but if you can run assault cube, i would recommend looking at urban terror as an alternative. You can install from repo's (universe i believe), and is quake 3 based so it runs fairly fast on older comp's. While this doesn't solve the problem, i do highly recommend this game.

carlinuxlearner
November 28th, 2008, 05:39 PM
Has anybody been able to compile the latest AssaultCube? I keep getting an error about Sound.cpp when running make. Sauerbraten compiled flawlessly though.

Yep, just did it yesterday, I'm running 8.04 64bit.

I was having the same error message as "animalprimate", so after fighting with it for quite some time (I even tried installing the package from getdeb thinking it would resolve the dependencies, but it didn't cause it's .93 or whatever and what I want to run is 1.0) I finally just gave up and just fallowed the instructions from here http://gwos.org/doku.php/guides:64bit:assultcube

C@RL

go_beep_yourself
December 1st, 2008, 09:22 PM
Yep, just did it yesterday, I'm running 8.04 64bit.

I was having the same error message as "animalprimate", so after fighting with it for quite some time (I even tried installing the package from getdeb thinking it would resolve the dependencies, but it didn't cause it's .93 or whatever and what I want to run is 1.0) I finally just gave up and just fallowed the instructions from here http://gwos.org/doku.php/guides:64bit:assultcube

C@RL

oh, I see. I'm supposed to type make install and not make. For sauerbraten, I typed make and then make install. I'll give it a try now. Thanks.

go_beep_yourself
December 1st, 2008, 09:25 PM
Nope, :( Same errors as before, and I already had all those dependency packages for compiling from when I compiled sauerbraten.



...
make[2]: Leaving directory `/home/chris/Downloads/AssaultCube_v1.0/source/enet'
make[1]: Leaving directory `/home/chris/Downloads/AssaultCube_v1.0/source/enet'
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o client.o client.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o clientgame.o clientgame.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o clients2c.o clients2c.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o command.o command.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o console.o console.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o docs.o docs.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o editing.o editing.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o entities.o entities.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o log.o log.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o main.o main.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o menus.o menus.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o physics.o physics.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o protocol.o protocol.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o rendercubes.o rendercubes.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o rendergl.o rendergl.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o renderhud.o renderhud.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o rendermodel.o rendermodel.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o renderparticles.o renderparticles.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o rendertext.o rendertext.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o rndmap.o rndmap.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o scoreboard.o scoreboard.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o server.o server.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o serverbrowser.o serverbrowser.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o serverms.o serverms.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o shadow.o shadow.cpp
g++ -O3 -fomit-frame-pointer -I/usr/X11R6/include -I../enet/include -I../src `sdl-config --cflags` -fsigned-char -Wall -Wno-deprecated -rdynamic -c -o sound.o sound.cpp
sound.cpp:11:20: error: AL/al.h: No such file or directory
sound.cpp:12:21: error: AL/alc.h: No such file or directory
sound.cpp:26: error: expected constructor, destructor, or type conversion before ‘*’ token
sound.cpp:27: error: expected constructor, destructor, or type conversion before ‘*’ token
sound.cpp: In function ‘void alclearerr()’:
sound.cpp:33: error: ‘alGetError’ was not declared in this scope
sound.cpp: In function ‘bool alerr(bool, int)’:
sound.cpp:38: error: ‘ALenum’ was not declared in this scope
sound.cpp:38: error: expected `;' before ‘er’
sound.cpp:39: error: ‘er’ was not declared in this scope
sound.cpp:44: error: ‘AL_INVALID_NAME’ was not declared in this scope
sound.cpp:45: error: ‘AL_INVALID_ENUM’ was not declared in this scope
sound.cpp:46: error: ‘AL_INVALID_VALUE’ was not declared in this scope
sound.cpp:47: error: ‘AL_INVALID_OPERATION’ was not declared in this scope
sound.cpp:48: error: ‘AL_OUT_OF_MEMORY’ was not declared in this scope
sound.cpp:53: error: ‘er’ was not declared in this scope
sound.cpp: At global scope:
sound.cpp:71: error: ‘ALuint’ does not name a type
sound.cpp:156: error: ‘ALuint’ has not been declared
sound.cpp:174: error: ‘ALsizei’ has not been declared
sound.cpp:174: error: expected ‘,’ or ‘...’ before ‘*’ token
sound.cpp:174: error: ISO C++ forbids declaration of ‘ALuint’ with no type
sound.cpp: In constructor ‘source::source()’:
sound.cpp:77: error: class ‘source’ does not have any field named ‘id’
sound.cpp:80: error: ‘id’ was not declared in this scope
sound.cpp:80: error: ‘alIsSource’ was not declared in this scope
sound.cpp: In member function ‘void source::reset()’:
sound.cpp:100: error: ‘id’ was not declared in this scope
sound.cpp:100: error: ‘alIsSource’ was not declared in this scope
sound.cpp:119: error: ‘id’ was not declared in this scope
sound.cpp:119: error: ‘AL_REFERENCE_DISTANCE’ was not declared in this scope
sound.cpp:119: error: ‘alSourcef’ was not declared in this scope
sound.cpp:120: error: ‘AL_ROLLOFF_FACTOR’ was not declared in this scope
sound.cpp: In member function ‘bool source::generate()’:
sound.cpp:144: error: ‘id’ was not declared in this scope
sound.cpp:144: error: ‘alGenSources’ was not declared in this scope
sound.cpp: In member function ‘bool source::delete_()’:
sound.cpp:152: error: ‘id’ was not declared in this scope
sound.cpp:152: error: ‘alDeleteSources’ was not declared in this scope
sound.cpp: In member function ‘bool source::buffer(int)’:
sound.cpp:162: error: ‘id’ was not declared in this scope
sound.cpp:162: error: ‘AL_BUFFER’ was not declared in this scope
sound.cpp:162: error: ‘alSourcei’ was not declared in this scope
sound.cpp: In member function ‘bool source::looping(bool)’:
sound.cpp:170: error: ‘id’ was not declared in this scope
sound.cpp:170: error: ‘AL_LOOPING’ was not declared in this scope
sound.cpp:170: error: ‘alSourcei’ was not declared in this scope
sound.cpp: In member function ‘bool source::queuebuffers(int, int)’:
sound.cpp:177: error: ‘id’ was not declared in this scope
sound.cpp:177: error: ‘buffer_ids’ was not declared in this scope
sound.cpp:177: error: ‘alSourceQueueBuffers’ was not declared in this scope
sound.cpp: In member function ‘bool source::unqueueallbuffers()’:
sound.cpp:184: error: ‘ALint’ was not declared in this scope
sound.cpp:184: error: expected `;' before ‘queued’
sound.cpp:185: error: ‘id’ was not declared in this scope
sound.cpp:185: error: ‘AL_BUFFERS_QUEUED’ was not declared in this scope
sound.cpp:185: error: ‘queued’ was not declared in this scope
sound.cpp:185: error: ‘alGetSourcei’ was not declared in this scope
sound.cpp:189: error: ‘ALuint’ was not declared in this scope
sound.cpp:189: error: expected `;' before ‘buffer’
sound.cpp:190: error: ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function. Say ‘&source::buffer’
sound.cpp:190: error: ‘alSourceUnqueueBuffers’ was not declared in this scope
sound.cpp: In member function ‘bool source::gain(float)’:
sound.cpp:198: error: ‘id’ was not declared in this scope
sound.cpp:198: error: ‘AL_GAIN’ was not declared in this scope
sound.cpp:198: error: ‘alSourcef’ was not declared in this scope
sound.cpp: In member function ‘bool source::pitch(float)’:
sound.cpp:205: error: ‘id’ was not declared in this scope
sound.cpp:205: error: ‘AL_PITCH’ was not declared in this scope
sound.cpp:205: error: ‘alSourcef’ was not declared in this scope
sound.cpp: In member function ‘bool source::position(const vec&)’:
sound.cpp:212: error: ‘id’ was not declared in this scope
sound.cpp:212: error: ‘AL_POSITION’ was not declared in this scope
sound.cpp:212: error: ‘ALfloat’ was not declared in this scope
sound.cpp:212: error: expected primary-expression before ‘)’ token
sound.cpp:212: error: ‘alSourcefv’ was not declared in this scope
sound.cpp: In member function ‘bool source::position(float, float, float)’:
sound.cpp:219: error: ‘id’ was not declared in this scope
sound.cpp:219: error: ‘AL_POSITION’ was not declared in this scope
sound.cpp:219: error: ‘alSource3f’ was not declared in this scope
sound.cpp: In member function ‘bool source::velocity(float, float, float)’:
sound.cpp:226: error: ‘id’ was not declared in this scope
sound.cpp:226: error: ‘AL_VELOCITY’ was not declared in this scope
sound.cpp:226: error: ‘alSource3f’ was not declared in this scope
sound.cpp: In member function ‘vec source::position()’:
sound.cpp:234: error: ‘id’ was not declared in this scope
sound.cpp:234: error: ‘AL_POSITION’ was not declared in this scope
sound.cpp:234: error: ‘ALfloat’ was not declared in this scope
sound.cpp:234: error: expected primary-expression before ‘)’ token
sound.cpp:234: error: ‘alGetSourcefv’ was not declared in this scope
sound.cpp: In member function ‘bool source::sourcerelative(bool)’:
sound.cpp:242: error: ‘id’ was not declared in this scope
sound.cpp:242: error: ‘AL_SOURCE_RELATIVE’ was not declared in this scope
sound.cpp:242: error: ‘AL_TRUE’ was not declared in this scope
sound.cpp:242: error: ‘AL_FALSE’ was not declared in this scope
sound.cpp:242: error: ‘alSourcei’ was not declared in this scope
sound.cpp: In member function ‘int source::state()’:
sound.cpp:248: error: ‘ALint’ was not declared in this scope
sound.cpp:248: error: expected `;' before ‘s’
sound.cpp:249: error: ‘id’ was not declared in this scope
sound.cpp:249: error: ‘AL_SOURCE_STATE’ was not declared in this scope
sound.cpp:249: error: ‘s’ was not declared in this scope
sound.cpp:249: error: ‘alGetSourcei’ was not declared in this scope
sound.cpp: In member function ‘bool source::secoffset(float)’:
sound.cpp:256: error: ‘id’ was not declared in this scope
sound.cpp:256: error: ‘AL_SEC_OFFSET’ was not declared in this scope
sound.cpp:256: error: ‘alSourcef’ was not declared in this scope
sound.cpp: In member function ‘float source::secoffset()’:
sound.cpp:265: error: ‘ALfloat’ was not declared in this scope
sound.cpp:265: error: expected `;' before ‘s’
sound.cpp:266: error: ‘id’ was not declared in this scope
sound.cpp:266: error: ‘AL_SEC_OFFSET’ was not declared in this scope
sound.cpp:266: error: ‘s’ was not declared in this scope
sound.cpp:266: error: ‘alGetSourcef’ was not declared in this scope
sound.cpp: In member function ‘bool source::playing()’:
sound.cpp:275: error: ‘AL_PLAYING’ was not declared in this scope
sound.cpp: In member function ‘bool source::play()’:
sound.cpp:281: error: ‘id’ was not declared in this scope
sound.cpp:281: error: ‘alSourcePlay’ was not declared in this scope
sound.cpp: In member function ‘bool source::stop()’:
sound.cpp:288: error: ‘id’ was not declared in this scope
sound.cpp:288: error: ‘alSourceStop’ was not declared in this scope
sound.cpp: In member function ‘bool source::rewind()’:
sound.cpp:295: error: ‘id’ was not declared in this scope
sound.cpp:295: error: ‘alSourceRewind’ was not declared in this scope
sound.cpp: In member function ‘void source::printposition()’:
sound.cpp:303: error: ‘ALint’ was not declared in this scope
sound.cpp:303: error: expected `;' before ‘s’
sound.cpp:304: error: ‘id’ was not declared in this scope
sound.cpp:304: error: ‘AL_SOURCE_TYPE’ was not declared in this scope
sound.cpp:304: error: ‘s’ was not declared in this scope
sound.cpp:304: error: ‘alGetSourcei’ was not declared in this scope
sound.cpp: At global scope:
sound.cpp:576: error: ‘ALuint’ does not name a type
sound.cpp:578: error: ‘ALenum’ does not name a type
sound.cpp:696: error: ‘ALuint’ has not been declared
sound.cpp: In constructor ‘oggstream::oggstream()’:
sound.cpp:608: error: ‘bufferids’ was not declared in this scope
sound.cpp:608: error: ‘alGenBuffers’ was not declared in this scope
sound.cpp: In destructor ‘virtual oggstream::~oggstream()’:
sound.cpp:618: error: ‘bufferids’ was not declared in this scope
sound.cpp:618: error: ‘alIsBuffer’ was not declared in this scope
sound.cpp:621: error: ‘alDeleteBuffers’ was not declared in this scope
sound.cpp: In member function ‘void oggstream::reset()’:
sound.cpp:637: error: ‘format’ was not declared in this scope
sound.cpp:637: error: ‘AL_NONE’ was not declared in this scope
sound.cpp: In member function ‘bool oggstream::open(const char*)’:
sound.cpp:676: error: ‘format’ was not declared in this scope
sound.cpp:676: error: ‘AL_FORMAT_STEREO16’ was not declared in this scope
sound.cpp:676: error: ‘AL_FORMAT_MONO16’ was not declared in this scope
sound.cpp: In member function ‘bool oggstream::stream(int)’:
sound.cpp:703: error: ‘ALsizei’ was not declared in this scope
sound.cpp:703: error: expected `;' before ‘size’
sound.cpp:705: error: ‘size’ was not declared in this scope
sound.cpp:713: error: ‘size’ was not declared in this scope
sound.cpp:720: error: ‘format’ was not declared in this scope
sound.cpp:720: error: ‘size’ was not declared in this scope
sound.cpp:720: error: ‘alBufferData’ was not declared in this scope
sound.cpp: In member function ‘bool oggstream::update()’:
sound.cpp:733: error: ‘ALint’ was not declared in this scope
sound.cpp:733: error: expected `;' before ‘processed’
sound.cpp:735: error: ‘struct source’ has no member named ‘id’
sound.cpp:735: error: ‘AL_BUFFERS_PROCESSED’ was not declared in this scope
sound.cpp:735: error: ‘processed’ was not declared in this scope
sound.cpp:735: error: ‘alGetSourcei’ was not declared in this scope
sound.cpp:738: error: ‘ALuint’ was not declared in this scope
sound.cpp:738: error: expected `;' before ‘buffer’
sound.cpp:739: error: ‘struct source’ has no member named ‘id’
sound.cpp:739: error: ‘buffer’ was not declared in this scope
sound.cpp:739: error: ‘alSourceUnqueueBuffers’ was not declared in this scope
sound.cpp:741: error: ‘struct source’ has no member named ‘id’
sound.cpp:741: error: ‘alSourceQueueBuffers’ was not declared in this scope
sound.cpp: In member function ‘bool oggstream::playback(bool)’:
sound.cpp:826: error: ‘bufferids’ was not declared in this scope
sound.cpp:830: error: ‘bufferids’ was not declared in this scope
sound.cpp: At global scope:
sound.cpp:846: error: ‘ALuint’ does not name a type
sound.cpp: In constructor ‘sbuffer::sbuffer()’:
sound.cpp:849: error: class ‘sbuffer’ does not have any field named ‘id’
sound.cpp: In member function ‘bool sbuffer::load()’:
sound.cpp:861: error: ‘id’ was not declared in this scope
sound.cpp:863: error: ‘id’ was not declared in this scope
sound.cpp:863: error: ‘alGenBuffers’ was not declared in this scope
sound.cpp:896: error: ‘AL_FORMAT_STEREO16’ was not declared in this scope
sound.cpp:896: error: ‘AL_FORMAT_MONO16’ was not declared in this scope
sound.cpp:896: error: ‘alBufferData’ was not declared in this scope
sound.cpp:917: error: ‘ALenum’ was not declared in this scope
sound.cpp:917: error: expected `;' before ‘format’
sound.cpp:922: error: ‘format’ was not declared in this scope
sound.cpp:922: error: ‘AL_FORMAT_STEREO8’ was not declared in this scope
sound.cpp:922: error: ‘AL_FORMAT_MONO8’ was not declared in this scope
sound.cpp:926: error: ‘AL_FORMAT_STEREO16’ was not declared in this scope
sound.cpp:926: error: ‘AL_FORMAT_MONO16’ was not declared in this scope
sound.cpp:934: error: ‘format’ was not declared in this scope
sound.cpp:934: error: ‘alBufferData’ was not declared in this scope
sound.cpp: In member function ‘void sbuffer::unload()’:
sound.cpp:949: error: ‘id’ was not declared in this scope
sound.cpp:951: error: ‘id’ was not declared in this scope
sound.cpp:951: error: ‘alIsBuffer’ was not declared in this scope
sound.cpp:951: error: ‘alDeleteBuffers’ was not declared in this scope
sound.cpp:952: error: ‘id’ was not declared in this scope
sound.cpp: In constructor ‘location::location(int, const worldobjreference&, int)’:
sound.cpp:1015: error: ‘struct sbuffer’ has no member named ‘id’
sound.cpp:1024: error: ‘struct sbuffer’ has no member named ‘id’
sound.cpp: In member function ‘void location::update()’:
sound.cpp:1137: error: ‘AL_PLAYING’ was not declared in this scope
sound.cpp:1140: error: ‘AL_STOPPED’ was not declared in this scope
sound.cpp:1141: error: ‘AL_PAUSED’ was not declared in this scope
sound.cpp:1142: error: ‘AL_INITIAL’ was not declared in this scope
sound.cpp: In function ‘void var_soundvol()’:
sound.cpp:1295: error: ‘AL_GAIN’ was not declared in this scope
sound.cpp:1295: error: ‘alListenerf’ was not declared in this scope
sound.cpp: In function ‘void initsound()’:
sound.cpp:1325: error: ‘device’ was not declared in this scope
sound.cpp:1326: error: ‘context’ was not declared in this scope
sound.cpp:1329: error: ‘alcIsExtensionPresent’ was not declared in this scope
sound.cpp:1331: error: expected initializer before ‘*’ token
sound.cpp:1332: error: ‘devices’ was not declared in this scope
sound.cpp:1338: error: expected initializer before ‘*’ token
sound.cpp:1338: error: ‘c’ was not declared in this scope
sound.cpp:1349: error: ‘alcOpenDevice’ was not declared in this scope
sound.cpp:1353: error: ‘alcCreateContext’ was not declared in this scope
sound.cpp:1356: error: ‘alcMakeContextCurrent’ was not declared in this scope
sound.cpp:1358: error: ‘AL_INVERSE_DISTANCE_CLAMPED’ was not declared in this scope
sound.cpp:1358: error: ‘alDistanceModel’ was not declared in this scope
sound.cpp:1361: error: ‘ALC_DEVICE_SPECIFIER’ was not declared in this scope
sound.cpp:1361: error: ‘alcGetString’ was not declared in this scope
sound.cpp:1361: error: ‘AL_RENDERER’ was not declared in this scope
sound.cpp:1361: error: ‘alGetString’ was not declared in this scope
sound.cpp:1361: error: ‘AL_VENDOR’ was not declared in this scope
sound.cpp:1362: error: ‘AL_VERSION’ was not declared in this scope
sound.cpp:1379: error: ‘alcDestroyContext’ was not declared in this scope
sound.cpp:1380: error: ‘alcCloseDevice’ was not declared in this scope
sound.cpp: In function ‘void soundcleanup()’:
sound.cpp:1533: error: ‘alcMakeContextCurrent’ was not declared in this scope
sound.cpp:1534: error: ‘context’ was not declared in this scope
sound.cpp:1534: error: ‘alcDestroyContext’ was not declared in this scope
sound.cpp:1535: error: ‘device’ was not declared in this scope
sound.cpp:1535: error: ‘alcCloseDevice’ was not declared in this scope
sound.cpp: In function ‘void updateaudio()’:
sound.cpp:1639: error: ‘context’ was not declared in this scope
sound.cpp:1639: error: ‘alcSuspendContext’ was not declared in this scope
sound.cpp:1731: error: ‘AL_ORIENTATION’ was not declared in this scope
sound.cpp:1731: error: ‘ALfloat’ was not declared in this scope
sound.cpp:1731: error: expected primary-expression before ‘)’ token
sound.cpp:1731: error: ‘alListenerfv’ was not declared in this scope
sound.cpp:1732: error: ‘AL_POSITION’ was not declared in this scope
sound.cpp:1732: error: expected primary-expression before ‘)’ token
sound.cpp:1734: error: ‘alcProcessContext’ was not declared in this scope
sound.cpp: At global scope:
sound.cpp:1453: warning: ‘__dummy_registermusic’ defined but not used
sound.cpp:1454: warning: ‘__dummy_music’ defined but not used
sound.cpp:1484: warning: ‘__dummy_registersound’ defined but not used
sound.cpp:1487: warning: ‘__dummy_mapsound’ defined but not used
sound.cpp:1514: warning: ‘__dummy_applymapsoundchanges’ defined but not used
sound.cpp:1552: warning: ‘__dummy_mapsoundreset’ defined but not used
sound.cpp:1759: warning: ‘__dummy_unmuteallsounds’ defined but not used
sound.cpp:1760: warning: ‘__dummy_mutesound’ defined but not used
sound.cpp:1761: warning: ‘__dummy_soundmuted’ defined but not used
sound.cpp:1818: warning: ‘__dummy_sound’ defined but not used
sound.cpp:1855: warning: ‘__dummy_voicecom’ defined but not used
sound.cpp:1869: warning: ‘__dummy_soundtest’ defined but not used
make: *** [sound.o] Error 1
chris@ubuntu:~/Downloads/AssaultCube_v1.0/source/src$

go_beep_yourself
December 1st, 2008, 09:28 PM
Installing libopenal-dev solved the problem. Whoever wrote that guide needs to fix it.

ibuclaw
December 1st, 2008, 10:01 PM
If you want software compiled, you require the -dev packages, as they contain the headers required by the source code.

This is an elementary mistake if you've never tried compiling before. But just make sure that you keep that in mind in the future.


Also, just so you know, I've never got any good gameplay out of assaultcube before...
I can join multiplayer games, but I never seem to be "in the game".
Either on a completely different map or some 6 foot below the map the other players are playing...

But I'll check out this new version, to see if it's any different though (I think it was 0.93 I last tried it).

Regards
Iain

go_beep_yourself
December 1st, 2008, 10:15 PM
If you want software compiled, you require the -dev packages, as they contain the headers required by the source code.

Yeah, I know that. I've done plenty of compiling before both in Linux and my computer science courses. I had all the *-dev packages, but that one. Sauerbraten didn't need it. I thought I'd give it a try, and it worked, so now I've got the game in 64-bit and most others, something you can't do in Winblows.

ibuclaw
December 1st, 2008, 10:24 PM
Cools, as soon as compiledkernel comes back online, I'll notify him of the page that needs updating, as he controls the gwos.org servers ... along with some other nasty stuff ;)

I expect him to appear sometime in the next couple of hours...

Regards
Iain

MRGt
December 29th, 2008, 11:23 PM
Thanks for this thread

I download a .tar file expand it, down the libraries and get the openal.so.1 error, then i did what Bill Cosby Say in Reply #2 and voila!!

Im playing all the sunday. Now i thank to all of you for this Tread

justplayin
December 30th, 2008, 07:16 PM
I downloaded the filesAssaultCube_v1.0.tar.bz2 and AssaultCube_v1.0.1-Update.tar.bz2 for Version 1.0 and 1.0.1, copied the files from AssaultCube_v1.0.1-Update.tar.bz2 to the root directory AssaultCube_v1.0 and replaced the old folders with the new ones provided in AssaultCube_v1.0.1-Update.tar.bz2. But the game didn't run, it always gave me the error:


juz@juz:~/Downloads/Spiele/assaultcube/AssaultCube_v1.0$ sh assaultcube.sh
.//bin_unix/linux_client: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory


I had libsdl1.2debian libsdl-image1.2 libsdl-mixer1.2 installed.

The trick with creating a symlink


sudo ln -s /usr/lib/libopenal.so.0 /usr/lib/libopenal.so.1


didn't work, when starting assaultcube I got the error:


juz@juz:~/Downloads/Spiele/assaultcube/AssaultCube_v1.0$ ./assaultcube.sh
.//bin_unix/linux_client: error while loading shared libraries: libopenal.so.1: cannot open shared object file: Error 40


I didn't try installing libopenal-dev, maybe I should have done that.
But what worked for me was to follow the instructions under
http://assault.cubers.net/wiki/Ubuntu_Support#Compiling_OpenAL_1.0

animalprimate
March 3rd, 2009, 06:58 AM
youre welcome! geez, not sure anyones ever thanked me here, i played this game hard for some time, but im over it now, good fun. i allways mod the players colors to be completely red vs completely blue, and change the grenades colors too see them fly through air easily. plus changing scope view to include all of screen. one more thing i found usefull was making a little dot right at the center of my screen when zoomed in with sniper cause that way its easier to get no scopes! tremendous! thanks for all your advice to other posters that joined this happening thread, gratitude.