[Openal] I don't understand why my code wont compile

Chris Robinson chris.kcat at gmail.com
Fri Mar 13 19:09:42 PDT 2009


On Friday 13 March 2009 6:16:59 pm Margin Marh wrote:
> I wanted to try the Cmake way first and then the dynamically loading(to
> practise and get more knowledge), but i got stuck on the cmake way.
>
> I downloaded and installed Cmake then i extracted alure-1.0-src to desktop,
> then i did these steps :
> 1.open CMakeSetup(deprecated)
> 2.where is the source : alure-1.0\src, where to build the binaries :
> alure-1.0\build
> 3.copied CMakeLists.txt,alure.pc.in,config.h.in to alure-1.0\src

2 and 3 are your problems. Tell it the source is in alure-1.0, and build the 
binaries in alure-1.0\build, and delete the CMakeLists.txt, alure.pc.in, and 
config.h.in copies from alure-1.0\src.

CMakeLists.txt will automatically look in the src/ folder for the actual 
source files, so it won't find them if it's in the same folder.


More information about the Openal mailing list