BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unresolved external.. referenced from..

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder
View previous topic :: View next topic  
Author Message
synreal
Junior Member


Joined: 18 Jul 2006
Posts: 1

PostPosted: Tue Jul 18, 2006 5:56 pm    Post subject: Unresolved external.. referenced from.. Reply with quote



Hi! I'm kinda new to C++ so i'll keep it short..

atm i'm working on a small DirectX9-based rpg-engine. i debugged the code so far, until i got those linker errors:

[Linker Error] Error: Unresolved external 'Direct3DCreate9' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CORE_CGRAPHICS.OBJ
[Linker Error] Error: Unresolved external 'D3DXMatrixPerspectiveFovLH' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CORE_CGRAPHICS.OBJ
[Linker Error] Error: Unresolved external 'D3DXCreateSprite' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CORE_CGRAPHICS.OBJ
[Linker Error] Error: Unresolved external 'D3DXCreateFontIndirectA' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CORE_CGRAPHICS.OBJ
[Linker Error] Error: Unresolved external '_IID_IDirectInput8W' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CORE_CINPUT.OBJ
[Linker Error] Error: Unresolved external '__stdcall DirectInput8Create(void *, unsigned long, const _GUID&, void * *, IUnknown *)' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CORE_CINPUT.OBJ
[Linker Error] Error: Unresolved external '_c_dfDIKeyboard' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CORE_CINPUT.OBJ
[Linker Error] Error: Unresolved external 'cCharacter::~cCharacter()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CCHARACTER.OBJ
[Linker Error] Error: Unresolved external 'cMonster::~cMonster()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CCHARACTER.OBJ
[Linker Error] Error: Unresolved external 'cTreasure::Free()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CCHARACTER.OBJ
[Linker Error] Error: Unresolved external 'cWarp::Free()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CCHARACTER.OBJ
[Linker Error] Error: Unresolved external 'cAbsMap::~cAbsMap()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CMAP.OBJ
[Linker Error] Error: Unresolved external 'cPlayerChar::~cPlayerChar()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\WINMAIN.OBJ
[Linker Error] Error: Unresolved external 'D3DXCreateTextureFromFileExA' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CORE_CGRAPHICS.OBJ
[Linker Error] Error: Unresolved external 'cMenu::~cMenu()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CMENU.OBJ
[Linker Error] Error: Unresolved external 'cAbsMap::UseTilesForLayer(cTiles *, long)' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CMAP.OBJ
[Linker Error] Error: Unresolved external 'cAbsMap::SetLayerData(long, long, long, char *, bool)' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CWORLD.OBJ
[Linker Error] Error: Unresolved external 'cAbsMap::cAbsMap()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CMAP.OBJ
[Linker Error] Error: Unresolved external 'cCharacter::cCharacter()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CCHARACTER.OBJ
[Linker Error] Error: Unresolved external 'cMonster::cMonster()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CCHARACTER.OBJ
[Linker Error] Error: Unresolved external 'cWorld::shouldstartdia()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CWORLD.OBJ
[Linker Error] Error: Unresolved external 'cWorld::giveplayerypos()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CCHARACTER.OBJ
[Linker Error] Error: Unresolved external 'cWorld::giveplayerxpos()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CCHARACTER.OBJ
[Linker Error] Error: Unresolved external 'cMonster::gettype()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CWORLD.OBJ
[Linker Error] Error: Unresolved external '_g_MapXOff' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CMAP.OBJ
[Linker Error] Error: Unresolved external '_g_MapYOff' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\CMAP.OBJ
[Linker Error] Error: Unresolved external 'cPlayerChar::cPlayerChar()' referenced from P:\PROJECTS\YTARY\CODE\DEBUG_BUILD\WINMAIN.OBJ

i already read that the problem should be that i didn't include the libs and the objs, but i did! maybe i included them wrong, i don't know because it's my first project using multiple files.. here the code for the includings:

Code:
#pragma link "d3d9.lib"
#pragma link "d3dx9.lib"
#pragma link "dinput8.lib"
#pragma link "dxguid.lib"

#pragma link "Core_cGraphics.obj"
#pragma link "Core_cInput.obj"
#pragma link "Core_cSystem.obj"
#pragma link "Misc_Classes"
#pragma link "cCharacter.obj"
#pragma link "cMap.obj"
#pragma link "cMenu.obj"
#pragma link "cStory.obj"
#pragma link "cWorld.obj"


i defined the paths to the libs and the objs in the project-settings and i don'f get any other error or warning that the file couldn't be opened or whatev..

hope u can help me.. already tried two other boards, in the first one nobody answered, and in the 2nd one they all just want me to use VC++ and try it with that compiler instead of trying giving me other help.. :/

thx
syn
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.