Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualPetwoip

Posted 29 March 2013 - 06:58 PM

I've been looking all over the internet for a guide to link OpenAL-Soft statically with VC++. At the moment I have it working dynamically, but all my other libraries are statically linked and it would be really nice if I could do the same with OpenAL-Soft. I keep hearing that static linking is discouraged for OpenAL-Soft due to licensing issues, but according to this post, I should be fine.

 

I was able to compile the library statically by doing "cmake -DLIBTYPE=STATIC .." and moving the generated lib file to my game's folder, but when building my program I got unresolved external symbol errors when calling OpenAL functions. I made sure that the lib was included in the VS linker settings. Not sure what to try at this point.

 

Thanks!


#1Petwoip

Posted 29 March 2013 - 06:51 PM

I've been looking all over the internet for a guide to link OpenAL-Soft statically with VC++. At the moment I have it working dynamically, but all my other libraries are statically linked and it would be really nice if I could do the same with OpenAL-Soft. I keep hearing that static linking is discouraged for OpenAL-Soft due to licensing issues, but according to this post, I should be fine.

 

I was able to compile the library statically by doing "cmake -DLIBTYPE=STATIC ..", but when building my program I got unresolved external symbol errors when calling OpenAL functions. Not sure what to try at this point.

 

Thanks!


PARTNERS