Click to See Complete Forum and Search --> : DirectX and DevC++
CyberCarsten
Mar 5th, 2001, 01:54 PM
I have just installed DX8.
In my source code I include the ddraw.h, but the compiler errors out with 31 errors.
I have instructed the compiler to search for header files in C:\DEV-C++\Include\G++;C:\DEV-C++\Include\;c:\mssdk\include\
What is wrong???
parksie
Mar 5th, 2001, 01:56 PM
What errors does it give?
CyberCarsten
Mar 5th, 2001, 02:01 PM
Many!!! :)
This is some of them:
49 c:\dev-c_~1\include\objbase.h
from c:\MSSDK\INCLUDE\ddraw.h:36,
3 menuprog.cpp
C:\DEV-C_~1\INCLUDE\unknwn.h:23: `com_interface' only supported with -fvtable-thunks
23 c:\dev-c_~1\include\unknwn.h
warning: `com_interface' attribute directive ignored
37 c:\dev-c_~1\include\unknwn.h
`com_interface' only supported with -fvtable-thunks
The rest looks alot like these...
CyberCarsten
Mar 5th, 2001, 02:07 PM
Here are the erros in a bmp file:
parksie
Mar 5th, 2001, 02:07 PM
That's not a path problem. It means that some of the stuff used in the header files isn't supported by the compiler. Could you attach an full list of all the errors and I'll see if I can find out why.
parksie
Mar 5th, 2001, 02:08 PM
You already attached it while I was asking :rolleyes:
SteveCRM
Mar 5th, 2001, 02:09 PM
dont you need to add the dependencies or something. In VC++ its something like tools->options
CyberCarsten
Mar 5th, 2001, 02:12 PM
I don't know the compiler that well yet......:(
parksie--> :p
CyberCarsten
Mar 5th, 2001, 02:28 PM
Maybe this is better:
parksie
Mar 5th, 2001, 02:33 PM
Have you tried using the vtable chunks option? (Whatever the hell that is :p)
But let's face it...the DirectX SDK is supposed to be for MSVC++.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.