Problems Building SDL_gfx on Win2k VC++ 2005 Express Beta
Bill Sun
billksun at yahoo.com
Sat Mar 19 01:27:24 PST 2005
I'm getting a bunch of link errors on unresolved external symbols when
building the project.
I downloaded the developer's SDL distribution for VC6, and added the
SDL library and include directories to VC2005's collection of library
and include directories. Then built the SDL_gfx project and got the
errors listed below. Can anyone familiar with VC++ help me out here?
If you want to try building yourself, SDL_gfx can be grabbed here:
http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/index.html
The build instructions can be found in the README file.
SDL can be downloaded here:
http://www.libsdl.org/download-1.2.php
On a side note, I'd also tried building SDL_gfx using VC6. Using the
"nmake" command, but got this error:
makefile(12) : fatal error U1035: syntax error : expected ':' or '='
separator
Stop.
I'm not familiar with C++ so, I'm not sure what to change in the
makefile to make it work.
The following is the VC++ 2005 Express' build error:
Linking...
Creating library Release/sdlgfx.lib and object Release/sdlgfx.exp
SDL_framerate.obj : error LNK2019: unresolved external symbol
_SDL_GetTicks referenced in function _SDL_initFramerate
SDL_framerate.obj : error LNK2019: unresolved external symbol
_SDL_Delay referenced in function _SDL_framerateDelay
SDL_gfxPrimitives.obj : error LNK2019: unresolved external symbol
_SDL_UnlockSurface referenced in function _fastPixelColor
SDL_rotozoom.obj : error LNK2001: unresolved external symbol
_SDL_UnlockSurface
SDL_gfxPrimitives.obj : error LNK2019: unresolved external symbol
_SDL_LockSurface referenced in function _fastPixelColor
SDL_rotozoom.obj : error LNK2001: unresolved external symbol
_SDL_LockSurface
SDL_gfxPrimitives.obj : error LNK2019: unresolved external symbol
_SDL_MapRGBA referenced in function _fastPixelRGBA
SDL_gfxPrimitives.obj : error LNK2019: unresolved external symbol
_SDL_MapRGB referenced in function __putPixelAlpha
SDL_gfxPrimitives.obj : error LNK2019: unresolved external symbol
_SDL_FreeSurface referenced in function _gfxPrimitivesSetFont
SDL_rotozoom.obj : error LNK2001: unresolved external symbol
_SDL_FreeSurface
SDL_gfxPrimitives.obj : error LNK2019: unresolved external symbol
_SDL_UpperBlit referenced in function _characterColor
SDL_rotozoom.obj : error LNK2001: unresolved external symbol
_SDL_UpperBlit
SDL_gfxPrimitives.obj : error LNK2019: unresolved external symbol
_SDL_SetAlpha referenced in function _characterColor
SDL_rotozoom.obj : error LNK2001: unresolved external symbol
_SDL_SetAlpha
SDL_gfxPrimitives.obj : error LNK2019: unresolved external symbol
_SDL_CreateRGBSurface referenced in function _characterColor
SDL_rotozoom.obj : error LNK2001: unresolved external symbol
_SDL_CreateRGBSurface
SDL_rotozoom.obj : error LNK2019: unresolved external symbol
_SDL_SetColorKey referenced in function _zoomSurface
Release/sdlgfx.dll : fatal error LNK1120: 11 unresolved externals
Build log was saved at "file://c:\Documents and Settings\Bill Kuo-Shin
Sun\Desktop\SDL_gfx-2.0.13\VisualC\Release\BuildLog.htm"
sdlgfx - 18 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
Thanks in advanced,
-Bill
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
More information about the Slate
mailing list