[SDL] Problem to rebuild SDL with Windows 7 64-bits and visual C++

Andreas Schiffler aschiffler at ferzkopp.net
Tue Dec 21 08:17:29 PST 2010


Yes, I've seen that as well - on VS2010 the imm32.lib reference was 
missing and needs to be added to the linker dependencies.

You can fix SDL_gesture.c which seems to be looking for the SDL_atan2 
define with this addition:
#ifndef SDL_atan2
#define SDL_atan2       atan2
#endif

--Andreas

On 12/21/10 7:59 AM, ebyard wrote:
> **UPDATE**
>
> Fixed those - found that the missing libraries are in fact windows 
> libraries, are are in the SDK/lib directory. You have to add imm32.lib 
> and version.lib to your linker input stuff in VS.
>
> Only error I get now is
>
> 1>SDL_gesture.obj : error LNK2019: unresolved external symbol 
> _SDL_atan2 referenced in function _dollarNormalize
>
> ..and there is no function body/macro for SDL_atan2...........can 
> someone help?!?!
>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20101221/7764a3b0/attachment-0008.htm>


More information about the SDL mailing list