Skip to main content
gamedev.net
🔒 Locked

linker question

Started by phil67rpg 3 replies 550+ views
Original Post
phil67rpg
phil67rpg
I am getting the follwing linker error.
[font="Consolas"][size="1"][font="Consolas"][size="1"]

dx9game.obj : error LNK2019: unresolved external symbol _D3DXCreateSprite@8 referenced in function _WinMain@16

1>C:\Users\phil\documents\visual studio 2010\Projects\dx9game\Debug\dx9game.exe : fatal error LNK1120: 1 unresolved externals

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =========
I am probably missing a library but dont know which one.

[/font][/font]
phil67rpg
phil67rpg
I am still using dx9.
SiCrane
SiCrane
Are you linking against D3dx9.lib?
phil67rpg
phil67rpg
yes I am.

phil67rpg
phil67rpg
well I had to double link the d3dx9.lib file, but I did get it to work, thanks for all the help.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.