Skip to main content
GameDev.net gamedev.net
🔒 Locked

Including Libraries in DevCPP and using Direct Draw

Started by azari Jun 2, 2004 at 9:36 PM 1 replies 150+ views
Original Post
azari
azari
Hello. I just started using Direct Draw today, and I could not get it to work with DevCPP...I have all of the files included properly under the compiler options, but it doesn''t want to work.. it keeps saying: [Linker error] undefined reference to `DirectDrawCreate@12'' Also, do I have to include any files in the directory of my source, and what files do I have to include to make it work and how do I include then(The person that I talked to said that I wasn''t supposed to use #include, so I got confused...) Thanks in advanced, Azari
"A journey of 10000 miles starts with a single step"
Odoacer
Odoacer
DevC++ uses a different library format than MSVC - libraries are appended with an ''.a'' excension I believe.


Try looking here:
http://www.bloodshed.net/dev/packages/index.html

I can''t find the latest version of DX for DevC++ though. Try looking through MSDN or something.
EvilCrap
EvilCrap
Youll need to either download libraries for DevC++ or convert the microsoft libraries to DevC++ format.
info on how to convert the files can be found here:
http://lair.gamedeveloper.net/all/entityview.php?eid=641

Topic Locked

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

Sign in to reply to this topic.