Re: Building in Visual Studio 2010

Raphaël Lemoine <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
Hello,

On Aug 23, 2010, at 8:35 PM, John Doe wrote:

> I apologize if this has been asked a million times before but there seems to be no way to search the mailing archives short of browsing through every thread. I have used OpenAL previously in a linux environment but I'm new to using it in a Visual Studio project.
> 
> In Project Options in Visual Studio 2010 I have added C:\Windows\System32 to the VC++ library paths and added the include directories in the include paths also. I've also added OpenAl32.dll to Configuration Properties-->Linker-->Input-->Additional Dependencies. However when I try to build my project I keep getting the error:
>  
> 	"C:\Windows\SysWOW64\OpenAL32.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2B0"
> 

You must add the LIB file to the dependencies, not the DLL file.

> If I remove OpenAl32.dll from the Additional Dependencies option all I get is 'unresolved symbol' errors for the OpenAL function calls in my code.
> 
> Can someone help me out with linking OpenAL in visual Studio 2010?
> 
> Thanks
> Javad

Regards,

Raphaël

> _______________________________________________
> Openal mailing list
> [email protected]
> http://opensource.creative.com/mailman/listinfo/openal


_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.