[Openal-devel] OpenAL Soft 1.6.372 released!

Chris Robinson chris.kcat at gmail.com
Sun Nov 23 10:20:45 PST 2008


On Sunday 23 November 2008 08:29:58 am Ludwig Nussel wrote:
> Is that special flag actually needed? I was able to cross compile
> previous openal-soft versions just fine already AFAICT[1]. I use the
> following toolchain file:

I'm not sure how this is supposed to work. CMake will only look for a 
CMakeLists.txt in the directory path its given, so I tried putting it in a 
seperate directory to include the previous one, but it expects the source 
files to be relative from the new sub-directory and won't find them.

I also tried pasting it to the top of the current CMakeLists.txt (changing the 
paths to reflect my system), but it still didn't realize it was building for 
Windows (the IF(WIN32) checks fail). Using the XCOMPILEWIN32 option worked 
and it could build a DLL, but this doesn't seem much better than what it does 
now (though it did get rid of the annoying -fPIC and -rdynamic warnings).

I could probably clean it up a bit more to get it to work better, but is there 
something I'm missing? I've never had much luck when cross-compiling with 
CMake, and the people I talk to that use CMake don't seem to know how, 
either.

- Chris


More information about the Openal-devel mailing list