compiler problems...

Do you have a technical question that doesn't really fit a specific console? Want some general info on electronics, hacking, making cookies, etc? Here's the place to ask! Go nuts.

Moderator: Moderators

Post Reply
Master of Portables
Portablizer
Posts: 335
Joined: Fri Aug 04, 2006 9:48 pm
Contact:

compiler problems...

Post by Master of Portables »

sigh, I am using Dev c++ and am having trouble with ddraw.lib
If your wondering why I am not using VC++, here are my reasons
1 VC++ can't compile headers for beans, unlike dev C++
2 VC++ can't run a simple console program on my computer because it can't FIND the command line!
3 I have spent hours no with it and success :(

anyway... I first tried reimping the ddraw.lib into libddraw.a, and the compiler didn't like it.
then, I used a directx devpack, it didn't like it either... it said something about needing an unqualified id before the < token , and expected a , of ; before the < token... the program works fine without the header, since I am just making the thing run a blank window right now... any ideas on what is wrong?
<img src="http://img168.imageshack.us/img168/1597 ... sigzg0.png">
ChronoTriggerfan wrote:you should focus all your energy on making a really pretty case
Dragon Force pwns every other band in the world!
:mrgreen:
andoba
Posts: 73
Joined: Wed Mar 28, 2007 11:43 am
Location: Spain

Post by andoba »

Simply, change the includes on the devpak to the includes in the DirectX SDK, that worked for me.
Master of Portables
Portablizer
Posts: 335
Joined: Fri Aug 04, 2006 9:48 pm
Contact:

Post by Master of Portables »

ummm, the directx sdk is in .lib format, and dev c++ can't use .lib format, so how would that do anything. and it is not a linker error.
<img src="http://img168.imageshack.us/img168/1597 ... sigzg0.png">
ChronoTriggerfan wrote:you should focus all your energy on making a really pretty case
Dragon Force pwns every other band in the world!
:mrgreen:
Post Reply