We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1051 - VC++ 2010 Express Link Failed
Summary: VC++ 2010 Express Link Failed
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: HG 2.0
Hardware: x86 Windows 7
: P2 trivial
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 12:43 UTC by Airlangga
Modified: 2012-01-13 22:29 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Airlangga 2010-09-08 12:43:35 UTC
Problem:
-Compile failed with error failed to link to SDL_atan and SDL_atan2 in visual studio 2010 solution.
-Link error for bunch of IME and GetVersion function

Solution:
-Adding file from src/libm/e_atan2.c and src/libm/s_atan.c
-Add library imm32.lib and version.lib to additional link library options

Additional info:
G:\SideProject\sdl_1.3\SDL>hg summary
parent: 4881:0972c2893e68 tip
 Add missing imm32.lib from VS2010 project
branch: default
commit: 1 modified
update: 1 new changesets, 2 branch heads (merge)
Comment 1 Rainer Deyke 2011-01-04 15:39:14 UTC
I'm getting the same errors, but only for release builds.  Debug builds seem unaffected.
Comment 2 Sam Lantinga 2011-02-16 03:54:02 UTC
This should be fixed in the latest snapshot:
http://www.libsdl.org/tmp/SDL-1.3.zip

Can you check and see if you have any other problems?

Thanks!