Re: error on compiling under MSVC 2010
Chris Robinson <[email protected]> Tue, 23 Oct 2012 14:34:58 -0700
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
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