Jump to content

Getting message that AL/al.h cannot be found


Recommended Posts

Just installed Leadwerks 3.2 and started a new C++ project in Ubuntu 14.04. I ran the install.sh script so all the dependencies should be met. When attempting to build from Code blocks, I'm getting the following:

 

||=== Build: Debug in CPP_Game_1 (compiler: GNU GCC Compiler) ===|

/home/username/Leadwerks/Include/Leadwerks.h|94|fatal error: AL/al.h: No such file or directory|

||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

 

 

Any ideas as to what's wrong?

Link to comment
Share on other sites

It is OpenAL related ?

I'm quite sure, this is.

 

 

The install-script should install libopenal1:i386 and libopenal1. Maybe there was an error when installing those. Can you try installing them manually and check, whether they failed installing.

sudo apt-get install libopenal1:i386 libopenal1

 

Maybe you had an old apt-database when running the install-script, so you could also try

sudo apt-get update
sudo apt-get upgrade

And after that maybe try running the install-script again (though I think, this should not be necessary).

(all the sudo-operations might ask you for your root-password)

Link to comment
Share on other sites

I installed the "dev" package of libopenal1 and the project compiles successfully, so I wonder if having the "dev" packages needs to be a prerequisite for some of the libraries (openAL, openGL, etc) along with the library packages.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...