[Openal] Static libray of OpenAl Without DLL (For visualstudioproject)

wassim_belhadj wassim_belhadj at topnet.tn
Fri Jun 20 00:21:44 PDT 2008



Thank you very much for your answer.
I'am using OpenAl Soft under Windows Platform. 
Indeed, when i run Cmake and thereafter configure i have a red list on the
right (cahe value) .
Among the list there is a variable named DSOUND in front of this variable
it is marked ON.
What I do is click once on configure and the list is now gray.
Apparently I should not do this.
I am a novice using CMAKE...
Can you tell me please what should I do?

NB:The same application works perfectly when i am using Creative OpenAL SDK
 on Windows Platform.
I hope to get help because I'm lost...
Thanks in advance


 
On Thu, 19 Jun 2008 22:09:34 -0700, Chris Robinson <chris.kcat at gmail.com>
wrote:
> On Thursday 19 June 2008 06:55:36 am wassim_belhadj wrote:
>> Thank you very much for your help
>> You are really very nice ...
>> In fact I changed the files "al.h" and "OpenAL32.c" as you told me.
>> I do not use the library ALUT therefore I have not changed the file
>> "alut.h".
>> Then, I build  to have a static libray  and I added it  to my
>> project(visual studioproject).
>> All works well but when i try to open the device i have an error.
>> When I recover the devices name  via function "alcGetString" it was
> bizarre
>> (Wave File Writer)
>> This not been the name of my sound card so  "alcOpenDevice"  function
>> generates an error when it try to open device.
> 
> This sounds like you're using OpenAL Soft, and it didn't build with
> DirectSound support. You'll need to check the full output when you ran
> cmake
> and see what was failing/why it isn't detecting DSound. Note that if you
> use
> OpenAL Soft like this, it'll forever prevent people from using their own
> OpenAL version (either the DSound wrapper from Creative, or a hardware
> driver, or a home-grown version someone may have). And static linking
will
> also prevent people from easilly upgrading OpenAL Soft.
> 
> As well, to abide by the LGPL license with static linking, you must
> provide
> the object files for the project (if not the source), so users can
replace
> OpenAL Soft code as they see fit.
> _______________________________________________
> Openal mailing list
> Openal at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal



More information about the Openal mailing list