Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compile DirectX code whith command line.

Status
Not open for further replies.

spirou

Programmer
Oct 22, 2001
22
FR
Hye,

I want to compile some DirectX5 code i find on the Web.
I download the Borland C Compiler where DirectX7 librairies are supplied.
I configured bcc32 and iLink32 to look in the librairie and include directories but when I compile I have this message :

Error: Unresolved external 'DirectDrawCreate' referenced from C:\PERSONNEL\DEV\IA\IAMAINFRAME.OBJ

But the ddraw.h and .lib are in the directories I specified before.


Could someone help me ?
 
Ok, I found a answer.
I just put the librairy name 'ddraw.lib' in the command line.
Now it's running.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top