Skip to main content
gamedev.net
🔒 Locked

a moron needs help!

Started by PPCThug Dec 20, 2002 at 10:44 PM 1 replies 200+ views
Original Post
PPCThug
PPCThug
hello, I'm making a simple directx program, from what I know I'm supposed to "#include <ddraw.h>" and add ddraw.lib to my project and put mssdk/include in the search path(which I did), when I try to compile I get 31 error messages which I will get to later, I am sure that this is my fault and I'm not sure what exactly I'm doing wrong, but I'm sure that it has something to do with the directx file's. Unfortunately I know I have had this problem before(on a different compiler) about a year or more ago, but I can't remember the solution.(my compiler should be in my sig) here are the error messages: 49 e:\dev-c_~1\include\objbase.h from E:\mssdk\include\ddraw.h:26, 12 work4.cpp E:\DEV-C_~1\INCLUDE\unknwn.h:23: `com_interface' only supported with -fvtable-thunks 23 e:\dev-c_~1\include\unknwn.h warning: `com_interface' attribute directive ignored 37 e:\dev-c_~1\include\unknwn.h `com_interface' only supported with -fvtable-thunks 37 e:\dev-c_~1\include\unknwn.h warning: `com_interface' attribute directive ignored 50 e:\dev-c_~1\include\objbase.h from E:\mssdk\include\ddraw.h:26, 12 work4.cpp E:\DEV-C_~1\INCLUDE\objidl.h:367: `com_interface' only supported with -fvtable-thunks 367 e:\dev-c_~1\include\objidl.h warning: `com_interface' attribute directive ignored 368 e:\dev-c_~1\include\objidl.h `com_interface' only supported with -fvtable-thunks edit by ze: Removed roughly 27 copies of the above error message. Did you really think adding all that helped?
Bloodshed Dev-C++ 4.01 DX 8.0a DX SDK 6.1 win98 #define WIN32_LEAN_AND_MEAN the Particle Projection Cannon fires a shimmering blue bolt, much like a cross between lightning and a sine wave that ripples along its path. [edited by - zealouselixir on December 20, 2002 12:52:02 AM]
Bloodshed Dev-C++ 4.9.8.0 Mingw DX 9.0a DX SDK 6.1win2k#define WIN32_LEAN_AND_MEANthe Particle Projection Cannon fires a shimmering blue bolt, much like a cross between lightning and a sine wave that ripples along its path.mechwarrior 2 mercenaries, 4 particle projection cannons, thug chassis
Beer Hunter
Beer Hunter
Look in the project options dialog for where you can type in additional compiler options.
Add -fvtable-thunks.
Had that problem myself, once...
PPCThug
PPCThug
that may have fixed it, Thanks!



Bloodshed Dev-C++ 4.01
DX 8.0a DX SDK 6.1
win98
#define WIN32_LEAN_AND_MEAN
the Particle Projection Cannon fires a shimmering blue bolt, much like a cross between lightning and a sine wave that ripples along its path.
Bloodshed Dev-C++ 4.9.8.0 Mingw DX 9.0a DX SDK 6.1win2k#define WIN32_LEAN_AND_MEANthe Particle Projection Cannon fires a shimmering blue bolt, much like a cross between lightning and a sine wave that ripples along its path.mechwarrior 2 mercenaries, 4 particle projection cannons, thug chassis

Topic Locked

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

Sign in to reply to this topic.