RE: error on compiling under MSVC 2010
"Stephane Kyles [ SubNetWorks ]" <[email protected]> Wed, 24 Oct 2012 00:12:49 +0200
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <000301cdb16b$8bb3b600$a31b2200$@org> |
Hi, you should run the cmake to create the vc2010 project, it will then check for the available headers(powf, sqrtf, cosf) and create the configuration header file, it should compile from there, did you go from these steps ? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Chris Robinson Sent: Tuesday, October 23, 2012 11:35 PM To: [email protected] Subject: Re: [Openal] error on compiling under MSVC 2010 On 10/23/2012 09:44 AM, Kraus Philipp wrote: > Hello, > > I have try to build OpenAL under Visual Studio 2010 and I get the compiler error: > > openal-1.14\openal32\include\alu.h(25): error C2059: Syntaxfehler: 'Typ' > openal-1.14\openal32\include\alu.h(30): error C2059: Syntaxfehler: 'Typ' > openal-1.14\openal32\include\alu.h(35): error C2059: Syntaxfehler: 'Typ' > openal-1.14\openal32\include\alu.h(40): error C2059: Syntaxfehler: 'Typ' > openal-1.14\openal32\include\alu.h(45): error C2059: Syntaxfehler: 'Typ' > openal-1.14\openal32\include\alu.h(50): error C2059: Syntaxfehler: 'Typ' > > I have build OpenAL some times ago and the error haven't exist, so it must be new > How can I solve this error? Hi. It looks like you're trying to build a recent Git version? It seems for some reason MSVC doesn't think it has powf, sqrtf, cosf, etc. According to MSDN though, they should be there. Even still, I don't see why it's throwing an error, unless there's a type mismatch somewhere. You could try removing the function wrappers that it's complaining about. I'll probably remove them myself since they're part of C99, and MSDN says they're supported too. _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal