Forums
missing al.h alc.h - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: missing al.h alc.h (/showthread.php?tid=226)



missing al.h alc.h - feldmaus - 05-24-2006

Hi All,

have found some Bugs,
In file included from include/vamos/body/Gl_Car.h:31,
from src/vamos/body/Gl_Car.cc:19:
include/sound.h:61:26: error: AL/al.h: No such file or directory
include/sound.h:62:27: error: AL/alc.h: No such file or directory

which package include this both files?

I have searched for this files, but auto-apt tells me more then one package that provides these files.

mfg Markus


- thelusiv - 05-24-2006

These are part of the OpenAL headers. Which version do you have installed?


- feldmaus - 05-26-2006

Hi,

Code:
markus@feld-bert:~$ dpkg -l openal*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Säubern/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konf./Halb install.
|/ Fehler?=(keiner)/Halten/R=Neuinst. notw/X=beides (Status, Fehler: GROß=schlecht)
||/ Name                  Version               Beschreibung
+++-=====================-=====================-==========================================================
pn  openalpp-cvs-doc      <keine>               (keine Beschreibung vorhanden)
markus@feld-bert:~$ dpkg -l libopenal*
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Säubern/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konf./Halb install.
|/ Fehler?=(keiner)/Halten/R=Neuinst. notw/X=beides (Status, Fehler: GROß=schlecht)
||/ Name                  Version               Beschreibung
+++-=====================-=====================-==========================================================
pn  libopenal-dev         <keine>               (keine Beschreibung vorhanden)
pn  libopenal0            <keine>               (keine Beschreibung vorhanden)
ii  libopenal0a           0.0.8-1               OpenAL is a portable library for 3D spatialized audio
pn  libopenalpp-cvs       <keine>               (keine Beschreibung vorhanden)
pn  libopenalpp-cvs-dev   <keine>               (keine Beschreibung vorhanden)
pn  libopenalpp-cvs1      <keine>               (keine Beschreibung vorhanden

As you can see, only libopenal0a is installed.
I installed ehis Version, because the libopenal0 seems to have dependence Problems.


mfg Markus


- FFuser - 05-26-2006

try to install libopenal-dev

What distribution are you using (Debian/Ubuntu/Other) and what version (Dapper Drake/3.1/...)


- feldmaus - 05-29-2006

Thanks that worked for me :-)
I have got a Debian Sid System, with nvidia Graphic.


But it comes new Bugs,

Code:
src/sound.cpp: In member function 'void SOUNDMANAGER::LoadSoundFile(std::string)':
src/sound.cpp:280: warning: 'alutLoadWAVFile' is deprecated (declared at /usr/include/AL/alut.h:102)
src/sound.cpp:280: warning: 'alutLoadWAVFile' is deprecated (declared at /usr/include/AL/alut.h:102)
src/sound.cpp:297: warning: 'alutUnloadWAV' is deprecated (declared at /usr/include/AL/alut.h:105)
src/sound.cpp:297: warning: 'alutUnloadWAV' is deprecated (declared at /usr/include/AL/alut.h:105)
...
src/bezier.cpp: In member function 'bool BEZIER::CollideSubDivQuadSimpleNorm(VERTEX, VERTEX, VERTEX&, VERTEX&)':
src/bezier.cpp:1223: warning: unused variable 'fuzziness'
src/bezier.cpp:1235: warning: unused variable 'subdivnum'
...
build/sound.o: In function `~SOUNDMANAGER':
src/sound.cpp:194: undefined reference to `alutExit'
src/sound.cpp:194: undefined reference to `alutExit'
build/sound.o: In function `SOUNDMANAGER::LoadSoundFile(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
src/sound.cpp:280: undefined reference to `alutLoadWAVFile'
src/sound.cpp:297: undefined reference to `alutUnloadWAV'
build/sound.o: In function `SOUNDMANAGER::Load()':
src/sound.cpp:92: undefined reference to `alutInit'
collect2: ld returned 1 exit status

mfg Markus


- FFuser - 05-29-2006

If you are trying to compile the 21-02 version it is probably not going to work.

You should use the latest svn or be patient and wait on the new version