JLI Spieleprogrammierung Foren-Übersicht JLI Spieleprogrammierung

 
 FAQFAQ   SuchenSuchen   MitgliederlisteMitgliederliste   BenutzergruppenBenutzergruppen 
 medals.php?sid=7fc8dff0610fa896e672a3614e2d8fabMedaillen   RegistrierenRegistrieren   ProfilProfil   Einloggen, um private Nachrichten zu lesenEinloggen, um private Nachrichten zu lesen   LoginLogin 

DirectXGraphics.cpp
Gehe zu Seite 1, 2  Weiter
 
Neues Thema eröffnen   Neue Antwort erstellen    JLI Spieleprogrammierung Foren-Übersicht -> Fragen, Antworten und Kritik
Vorheriges Thema anzeigen :: Nächstes Thema anzeigen  
Autor Nachricht
Manfred
Mini JLI'ler


Alter: 34
Anmeldedatum: 08.04.2007
Beiträge: 6
Wohnort: Österreich, NÖ
Medaillen: Keine

BeitragVerfasst am: 16.03.2008, 15:41    Titel: DirectXGraphics.cpp Antworten mit Zitat

Hallo Leute,

ich habe wie in Kapitel 19.2.1 ein Projekt angelegt und die Datei DirectXGraphics.cpp hinzugefügt. Wenn ich das Projekt kompilieren will kommen die Melungen
"error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [36]' to 'LPCWSTR'" (Zeile 41)
"error C2440: 'initializing' : cannot convert from 'const char [12]' to 'LPCWSTR'" (Zeile 84)
"error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [12]' to 'LPCWSTR'" (Zeile 100)

Falls das von Relevanz ist, ich benutze Visual C++ 2008 Express Edition.
Hat jemand eine Idee, wie man diese Fehler beheben kann, oder woher sie kommen?
_________________
Casting; die hohe Kunst der Manipulation.
Siehe hierzu auch: jeden Tag im Fernsehen.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
Robrunner
Mini JLI'ler


Alter: 31
Anmeldedatum: 08.07.2007
Beiträge: 44
Wohnort: Passau
Medaillen: Keine

BeitragVerfasst am: 16.03.2008, 16:06    Titel: Antworten mit Zitat

Versuche unter Project -> Properties -> Configuration Properties das Character Set auf Not Set oder Multibyte einzustellen.
_________________
Wer einen Rechtschreibfehler findet darf ihn behalten.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Manfred
Mini JLI'ler


Alter: 34
Anmeldedatum: 08.04.2007
Beiträge: 6
Wohnort: Österreich, NÖ
Medaillen: Keine

BeitragVerfasst am: 16.03.2008, 16:49    Titel: Antworten mit Zitat

Danke, hat funktioniert.
Jetzt kommen aber 2 andere Fehler
"error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "int __cdecl InitDirect3D(struct HWND__ *)" (?InitDirect3D@@YAHPAUHWND__@@@Z)"
"fatal error LNK1120: 1 unresolved externals"

Die Fehler dürften, soweit ich das beurteilen kann, mit dem Linker zu tun haben. Unter Tools ->Options->Projects and Solutions->VC++ Directories
sind die beötigten Einträge für das DirectX-SDK vorhenden, weswegen ich das eigentlich als Fehlerursache ausschließen kann. Die *.lib Dateien wie es im Buch angeführt ist, habe ich nicht extra hinzugefügt, da sich der Compiler nicht über die #includes beschwert.
_________________
Casting; die hohe Kunst der Manipulation.
Siehe hierzu auch: jeden Tag im Fernsehen.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
The Lord of Programming
Living Legend


Alter: 36
Anmeldedatum: 14.03.2003
Beiträge: 3122

Medaillen: Keine

BeitragVerfasst am: 16.03.2008, 17:04    Titel: Antworten mit Zitat

Manfred hat Folgendes geschrieben:
Die *.lib Dateien wie es im Buch angeführt ist, habe ich nicht extra hinzugefügt, da sich der Compiler nicht über die #includes beschwert.

Musst du aber. Die Librarys sind nicht einfach für den Fall, dass der Compiler die einzubindenden Header nicht findet, sondern sie enthalten selbst Code. Dadurch entstehen meistens unaufgelöste externe Verweise.
_________________
www.visualgamesentertainment.net
Current projects: RDTDC(1), JLI-Vor-Projekt, Tetris(-Tutorial), JLI-Format
(1) Realtime Developer Testing and Debugging Console


Anschlag, Anleitung zum Atombombenbau, Sprengkörper...
Hilf Schäuble! Damit er auch was findet...
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
Manfred
Mini JLI'ler


Alter: 34
Anmeldedatum: 08.04.2007
Beiträge: 6
Wohnort: Österreich, NÖ
Medaillen: Keine

BeitragVerfasst am: 16.03.2008, 17:20    Titel: Antworten mit Zitat

Wie kann ich das in VC++2008 machen, ich habe nach einem Punkt zum Hinzufügen von *.lib Dateien gesucht, aber nichts gefunden, und die Anleitung im Buch gilt ja nur für Code::Blocks?
_________________
Casting; die hohe Kunst der Manipulation.
Siehe hierzu auch: jeden Tag im Fernsehen.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
The Lord of Programming
Living Legend


Alter: 36
Anmeldedatum: 14.03.2003
Beiträge: 3122

Medaillen: Keine

BeitragVerfasst am: 17.03.2008, 15:25    Titel: Antworten mit Zitat

Entweder in den Projekteinstellungen unter "Linker" oder einfach im Code per:
CPP:
#pragma comment(lib,"deine.lib")

_________________
www.visualgamesentertainment.net
Current projects: RDTDC(1), JLI-Vor-Projekt, Tetris(-Tutorial), JLI-Format
(1) Realtime Developer Testing and Debugging Console


Anschlag, Anleitung zum Atombombenbau, Sprengkörper...
Hilf Schäuble! Damit er auch was findet...
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
Manfred
Mini JLI'ler


Alter: 34
Anmeldedatum: 08.04.2007
Beiträge: 6
Wohnort: Österreich, NÖ
Medaillen: Keine

BeitragVerfasst am: 17.03.2008, 16:25    Titel: Antworten mit Zitat

Ich habe jetzt mittels #pragma comment(lib, "name.lib") alle benötigten *.lib Dateien hinzugefügt und es funktioniert so auch. Wie könnte ich die Dateien über Projekt->Eigenschaften->Linker angeben, ich kann überall nur den Pfad zu den Ordnern, in denen die *.lib Dateien liegen, angeben?
_________________
Casting; die hohe Kunst der Manipulation.
Siehe hierzu auch: jeden Tag im Fernsehen.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
The Lord of Programming
Living Legend


Alter: 36
Anmeldedatum: 14.03.2003
Beiträge: 3122

Medaillen: Keine

BeitragVerfasst am: 17.03.2008, 19:11    Titel: Antworten mit Zitat

Bei VS 2005 gibts dort nen Unterpunkt "Eingabe" und dort einfach bei "zusätzliche Abhängigkeiten" eintragen.
_________________
www.visualgamesentertainment.net
Current projects: RDTDC(1), JLI-Vor-Projekt, Tetris(-Tutorial), JLI-Format
(1) Realtime Developer Testing and Debugging Console


Anschlag, Anleitung zum Atombombenbau, Sprengkörper...
Hilf Schäuble! Damit er auch was findet...
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
Manfred
Mini JLI'ler


Alter: 34
Anmeldedatum: 08.04.2007
Beiträge: 6
Wohnort: Österreich, NÖ
Medaillen: Keine

BeitragVerfasst am: 17.03.2008, 21:17    Titel: Antworten mit Zitat

Gibts unter 2008 auch, dachte zuerst, das wäre für einen anderen Zweck.

Danke vielmals.
_________________
Casting; die hohe Kunst der Manipulation.
Siehe hierzu auch: jeden Tag im Fernsehen.
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
newby
JLI'ler



Anmeldedatum: 17.08.2007
Beiträge: 106

Medaillen: Keine

BeitragVerfasst am: 20.03.2008, 10:16    Titel: Antworten mit Zitat

So, dann missbrauche ich den Thread hier mal für meine Frage Wink
Ich hab versucht die DirectXGraphics aus dem Buch im Borland Dev C++ zu kompilieren, der sagt mir aber:

[code:1:abea35c56c]
Compiler: Default compiler
Building Makefile: "C:\Programme\Dev-Cpp\Makefile.win"
Führt make... aus
make.exe -f "C:\Programme\Dev-Cpp\Makefile.win" all
g++.exe -c "../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp" -o "../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.o" -I"C:/Programme/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Programme/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Programme/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Programme/Dev-Cpp/include/c++/3.4.2" -I"C:/Programme/Dev-Cpp/include" -I"C:/Programme/Microsoft DirectX SDK (August 2007)/Include"

In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:32:1: warning: "D3D_SDK_VERSION" redefined
In file included from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9.h:29:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:51: error: redefinition of `struct _D3DVECTOR'

C:/Programme/Dev-Cpp/include/d3d9types.h:1116: error: previous definition of `struct _D3DVECTOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:55: error: ISO C++ forbids declaration of `D3DVECTOR' with no type
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:55: error: conflicting declaration 'typedef int D3DVECTOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:1120: error: 'D3DVECTOR' has a previous declaration as `typedef struct _D3DVECTOR D3DVECTOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:55: error: declaration of `typedef int D3DVECTOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:1120: error: conflicts with previous declaration `typedef struct _D3DVECTOR D3DVECTOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:55: error: declaration of `typedef int D3DVECTOR'

C:/Programme/Dev-Cpp/include/d3d9types.h:1120: error: conflicts with previous declaration `typedef struct _D3DVECTOR D3DVECTOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:60: error: redefinition of `struct _D3DCOLORVALUE'
C:/Programme/Dev-Cpp/include/d3d9types.h:1050: error: previous definition of `struct _D3DCOLORVALUE'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:65: error: ISO C++ forbids declaration of `D3DCOLORVALUE' with no type
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:65: error: conflicting declaration 'typedef int D3DCOLORVALUE'
C:/Programme/Dev-Cpp/include/d3d9types.h:1055: error: 'D3DCOLORVALUE' has a previous declaration as `typedef struct _D3DCOLORVALUE D3DCOLORVALUE'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:65: error: declaration of `typedef int D3DCOLORVALUE'
C:/Programme/Dev-Cpp/include/d3d9types.h:1055: error: conflicts with previous declaration `typedef struct _D3DCOLORVALUE D3DCOLORVALUE'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:65: error: declaration of `typedef int D3DCOLORVALUE'
C:/Programme/Dev-Cpp/include/d3d9types.h:1055: error: conflicts with previous declaration `typedef struct _D3DCOLORVALUE D3DCOLORVALUE'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:70: error: redefinition of `struct _D3DRECT'
C:/Programme/Dev-Cpp/include/d3d9types.h:1197: error: previous definition of `struct _D3DRECT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:75: error: ISO C++ forbids declaration of `D3DRECT' with no type
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:75: error: conflicting declaration 'typedef int D3DRECT'
C:/Programme/Dev-Cpp/include/d3d9types.h:1202: error: 'D3DRECT' has a previous declaration as `typedef struct _D3DRECT D3DRECT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:75: error: declaration of `typedef int D3DRECT'
C:/Programme/Dev-Cpp/include/d3d9types.h:1202: error: conflicts with previous declaration `typedef struct _D3DRECT D3DRECT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:75: error: declaration of `typedef int D3DRECT'
C:/Programme/Dev-Cpp/include/d3d9types.h:1202: error: conflicts with previous declaration `typedef struct _D3DRECT D3DRECT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:80: error: redefinition of `struct _D3DMATRIX'
C:/Programme/Dev-Cpp/include/d3d9types.h:1157: error: previous definition of `struct _D3DMATRIX'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:91: error: ISO C++ forbids declaration of `D3DMATRIX' with no type
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:91: error: conflicting declaration 'typedef int D3DMATRIX'

C:/Programme/Dev-Cpp/include/d3d9types.h:1167: error: 'D3DMATRIX' has a previous declaration as `typedef struct _D3DMATRIX D3DMATRIX'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:91: error: declaration of `typedef int D3DMATRIX'
C:/Programme/Dev-Cpp/include/d3d9types.h:1167: error: conflicts with previous declaration `typedef struct _D3DMATRIX D3DMATRIX'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:91: error: declaration of `typedef int D3DMATRIX'
C:/Programme/Dev-Cpp/include/d3d9types.h:1167: error: conflicts with previous declaration `typedef struct _D3DMATRIX D3DMATRIX'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:95: error: redefinition of `struct _D3DVIEWPORT9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1250: error: previous definition of `struct _D3DVIEWPORT9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:102: error: ISO C++ forbids declaration of `D3DVIEWPORT9' with no type
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:102: error: conflicting declaration 'typedef int D3DVIEWPORT9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1257: error: 'D3DVIEWPORT9' has a previous declaration as `typedef struct _D3DVIEWPORT9 D3DVIEWPORT9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:102: error: declaration of `typedef int D3DVIEWPORT9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1257: error: conflicts with previous declaration `typedef struct _D3DVIEWPORT9 D3DVIEWPORT9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:102: error: declaration of `typedef int D3DVIEWPORT9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1257: error: conflicts with previous declaration `typedef struct _D3DVIEWPORT9 D3DVIEWPORT9'
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:113:1: warning: "D3DCLIPPLANE0" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:30:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,

from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:114:1: warning: "D3DCLIPPLANE1" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:31:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:115:1: warning: "D3DCLIPPLANE2" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:32:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:116:1: warning: "D3DCLIPPLANE3" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,

from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:33:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:117:1: warning: "D3DCLIPPLANE4" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:34:1: warning: this is the location of the previous definition

In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:118:1: warning: "D3DCLIPPLANE5" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:35:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:124:1: warning: "D3DCS_LEFT" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:46:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:125:1: warning: "D3DCS_RIGHT" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:

C:/Programme/Dev-Cpp/include/d3d9types.h:47:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:126:1: warning: "D3DCS_TOP" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:48:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:127:1: warning: "D3DCS_BOTTOM" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:49:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,

from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:128:1: warning: "D3DCS_FRONT" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:50:1: warning: this is the location of the previous definition

In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:129:1: warning: "D3DCS_BACK" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:51:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:130:1: warning: "D3DCS_PLANE0" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:52:1: warning: this is the location of the previous definition

In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:131:1: warning: "D3DCS_PLANE1" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:

C:/Programme/Dev-Cpp/include/d3d9types.h:53:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:132:1: warning: "D3DCS_PLANE2" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:54:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:133:1: warning: "D3DCS_PLANE3" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:55:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:134:1: warning: "D3DCS_PLANE4" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:56:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,

from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:135:1: warning: "D3DCS_PLANE5" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:57:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:137:1: warning: "D3DCS_ALL" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:58:1: warning: this is the location of the previous definition
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:150: error: redefinition of `struct _D3DCLIPSTATUS9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1045: error: previous definition of `struct _D3DCLIPSTATUS9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:153: error: ISO C++ forbids declaration of `D3DCLIPSTATUS9' with no type
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:153: error: conflicting declaration 'typedef int D3DCLIPSTATUS9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1048: error: 'D3DCLIPSTATUS9' has a previous declaration as `typedef struct _D3DCLIPSTATUS9 D3DCLIPSTATUS9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:153: error: declaration of `typedef int D3DCLIPSTATUS9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1048: error: conflicts with previous declaration `typedef struct _D3DCLIPSTATUS9 D3DCLIPSTATUS9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:153: error: declaration of `typedef int D3DCLIPSTATUS9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1048: error: conflicts with previous declaration `typedef struct _D3DCLIPSTATUS9 D3DCLIPSTATUS9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:155: error: redefinition of `struct _D3DMATERIAL9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1149: error: previous definition of `struct _D3DMATERIAL9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:161: error: ISO C++ forbids declaration of `D3DMATERIAL9' with no type
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:161: error: conflicting declaration 'typedef int D3DMATERIAL9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1155: error: 'D3DMATERIAL9' has a previous declaration as `typedef struct _D3DMATERIAL9 D3DMATERIAL9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:161: error: declaration of `typedef int D3DMATERIAL9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1155: error: conflicts with previous declaration `typedef struct _D3DMATERIAL9 D3DMATERIAL9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:161: error: declaration of `typedef int D3DMATERIAL9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1155: error: conflicts with previous declaration `typedef struct _D3DMATERIAL9 D3DMATERIAL9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:163: error: multiple definition of `enum _D3DLIGHTTYPE'
C:/Programme/Dev-Cpp/include/d3d9types.h:478: error: previous definition here
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:164: error: conflicting declaration 'D3DLIGHT_POINT'
C:/Programme/Dev-Cpp/include/d3d9types.h:479: error: 'D3DLIGHT_POINT' has a previous declaration as `_D3DLIGHTTYPE D3DLIGHT_POINT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:164: error: declaration of `D3DLIGHT_POINT'
C:/Programme/Dev-Cpp/include/d3d9types.h:479: error: conflicts with previous declaration `_D3DLIGHTTYPE D3DLIGHT_POINT'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:165: error: conflicting declaration 'D3DLIGHT_SPOT'
C:/Programme/Dev-Cpp/include/d3d9types.h:480: error: 'D3DLIGHT_SPOT' has a previous declaration as `_D3DLIGHTTYPE D3DLIGHT_SPOT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:165: error: declaration of `D3DLIGHT_SPOT'
C:/Programme/Dev-Cpp/include/d3d9types.h:480: error: conflicts with previous declaration `_D3DLIGHTTYPE D3DLIGHT_SPOT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:166: error: conflicting declaration 'D3DLIGHT_DIRECTIONAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:481: error: 'D3DLIGHT_DIRECTIONAL' has a previous declaration as `_D3DLIGHTTYPE D3DLIGHT_DIRECTIONAL'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:166: error: declaration of `D3DLIGHT_DIRECTIONAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:481: error: conflicts with previous declaration `_D3DLIGHTTYPE D3DLIGHT_DIRECTIONAL'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:167: error: conflicting declaration 'D3DLIGHT_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:483: error: 'D3DLIGHT_FORCE_DWORD' has a previous declaration as `_D3DLIGHTTYPE D3DLIGHT_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:167: error: declaration of `D3DLIGHT_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:483: error: conflicts with previous declaration `_D3DLIGHTTYPE D3DLIGHT_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:170: error: redefinition of `struct _D3DLIGHT9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1122: error: previous definition of `struct _D3DLIGHT9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:184: error: ISO C++ forbids declaration of `D3DLIGHT9' with no type
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:184: error: conflicting declaration 'typedef int D3DLIGHT9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1136: error: 'D3DLIGHT9' has a previous declaration as `typedef struct _D3DLIGHT9 D3DLIGHT9'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:184: error: declaration of `typedef int D3DLIGHT9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1136: error: conflicts with previous declaration `typedef struct _D3DLIGHT9 D3DLIGHT9'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:184: error: declaration of `typedef int D3DLIGHT9'
C:/Programme/Dev-Cpp/include/d3d9types.h:1136: error: conflicts with previous declaration `typedef struct _D3DLIGHT9 D3DLIGHT9'
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,

from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:189:1: warning: "D3DCLEAR_TARGET" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:27:1: warning: this is the location of the previous definition

In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:190:1: warning: "D3DCLEAR_ZBUFFER" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:28:1: warning: this is the location of the previous definition
In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9.h:260,
from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:46,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:191:1: warning: "D3DCLEAR_STENCIL" redefined
In file included from C:/Programme/Dev-Cpp/include/d3d9.h:26,
from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:6:
C:/Programme/Dev-Cpp/include/d3d9types.h:29:1: warning: this is the location of the previous definition
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:197: error: multiple definition of `enum _D3DSHADEMODE'
C:/Programme/Dev-Cpp/include/d3d9types.h:699: error: previous definition here
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:198: error: conflicting declaration 'D3DSHADE_FLAT'
C:/Programme/Dev-Cpp/include/d3d9types.h:700: error: 'D3DSHADE_FLAT' has a previous declaration as `_D3DSHADEMODE D3DSHADE_FLAT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:198: error: declaration of `D3DSHADE_FLAT'
C:/Programme/Dev-Cpp/include/d3d9types.h:700: error: conflicts with previous declaration `_D3DSHADEMODE D3DSHADE_FLAT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:199: error: conflicting declaration 'D3DSHADE_GOURAUD'
C:/Programme/Dev-Cpp/include/d3d9types.h:701: error: 'D3DSHADE_GOURAUD' has a previous declaration as `_D3DSHADEMODE D3DSHADE_GOURAUD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:199: error: declaration of `D3DSHADE_GOURAUD'
C:/Programme/Dev-Cpp/include/d3d9types.h:701: error: conflicts with previous declaration `_D3DSHADEMODE D3DSHADE_GOURAUD'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:200: error: conflicting declaration 'D3DSHADE_PHONG'
C:/Programme/Dev-Cpp/include/d3d9types.h:702: error: 'D3DSHADE_PHONG' has a previous declaration as `_D3DSHADEMODE D3DSHADE_PHONG'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:200: error: declaration of `D3DSHADE_PHONG'
C:/Programme/Dev-Cpp/include/d3d9types.h:702: error: conflicts with previous declaration `_D3DSHADEMODE D3DSHADE_PHONG'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:201: error: conflicting declaration 'D3DSHADE_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:704: error: 'D3DSHADE_FORCE_DWORD' has a previous declaration as `_D3DSHADEMODE D3DSHADE_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:201: error: declaration of `D3DSHADE_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:704: error: conflicts with previous declaration `_D3DSHADEMODE D3DSHADE_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:204: error: multiple definition of `enum _D3DFILLMODE'
C:/Programme/Dev-Cpp/include/d3d9types.h:399: error: previous definition here
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:205: error: conflicting declaration 'D3DFILL_POINT'
C:/Programme/Dev-Cpp/include/d3d9types.h:400: error: 'D3DFILL_POINT' has a previous declaration as `_D3DFILLMODE D3DFILL_POINT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:205: error: declaration of `D3DFILL_POINT'
C:/Programme/Dev-Cpp/include/d3d9types.h:400: error: conflicts with previous declaration `_D3DFILLMODE D3DFILL_POINT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:206: error: conflicting declaration 'D3DFILL_WIREFRAME'
C:/Programme/Dev-Cpp/include/d3d9types.h:401: error: 'D3DFILL_WIREFRAME' has a previous declaration as `_D3DFILLMODE D3DFILL_WIREFRAME'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:206: error: declaration of `D3DFILL_WIREFRAME'
C:/Programme/Dev-Cpp/include/d3d9types.h:401: error: conflicts with previous declaration `_D3DFILLMODE D3DFILL_WIREFRAME'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:207: error: conflicting declaration 'D3DFILL_SOLID'
C:/Programme/Dev-Cpp/include/d3d9types.h:402: error: 'D3DFILL_SOLID' has a previous declaration as `_D3DFILLMODE D3DFILL_SOLID'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:207: error: declaration of `D3DFILL_SOLID'
C:/Programme/Dev-Cpp/include/d3d9types.h:402: error: conflicts with previous declaration `_D3DFILLMODE D3DFILL_SOLID'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:208: error: conflicting declaration 'D3DFILL_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:404: error: 'D3DFILL_FORCE_DWORD' has a previous declaration as `_D3DFILLMODE D3DFILL_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:208: error: declaration of `D3DFILL_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:404: error: conflicts with previous declaration `_D3DFILLMODE D3DFILL_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:211: error: multiple definition of `enum _D3DBLEND'
C:/Programme/Dev-Cpp/include/d3d9types.h:270: error: previous definition here
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:212: error: conflicting declaration 'D3DBLEND_ZERO'
C:/Programme/Dev-Cpp/include/d3d9types.h:271: error: 'D3DBLEND_ZERO' has a previous declaration as `_D3DBLEND D3DBLEND_ZERO'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:212: error: declaration of `D3DBLEND_ZERO'
C:/Programme/Dev-Cpp/include/d3d9types.h:271: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_ZERO'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:213: error: conflicting declaration 'D3DBLEND_ONE'
C:/Programme/Dev-Cpp/include/d3d9types.h:272: error: 'D3DBLEND_ONE' has a previous declaration as `_D3DBLEND D3DBLEND_ONE'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:213: error: declaration of `D3DBLEND_ONE'
C:/Programme/Dev-Cpp/include/d3d9types.h:272: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_ONE'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:214: error: conflicting declaration 'D3DBLEND_SRCCOLOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:273: error: 'D3DBLEND_SRCCOLOR' has a previous declaration as `_D3DBLEND D3DBLEND_SRCCOLOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:214: error: declaration of `D3DBLEND_SRCCOLOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:273: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_SRCCOLOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:215: error: conflicting declaration 'D3DBLEND_INVSRCCOLOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:274: error: 'D3DBLEND_INVSRCCOLOR' has a previous declaration as `_D3DBLEND D3DBLEND_INVSRCCOLOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:215: error: declaration of `D3DBLEND_INVSRCCOLOR'

C:/Programme/Dev-Cpp/include/d3d9types.h:274: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_INVSRCCOLOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:216: error: conflicting declaration 'D3DBLEND_SRCALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:275: error: 'D3DBLEND_SRCALPHA' has a previous declaration as `_D3DBLEND D3DBLEND_SRCALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:216: error: declaration of `D3DBLEND_SRCALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:275: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_SRCALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:217: error: conflicting declaration 'D3DBLEND_INVSRCALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:276: error: 'D3DBLEND_INVSRCALPHA' has a previous declaration as `_D3DBLEND D3DBLEND_INVSRCALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:217: error: declaration of `D3DBLEND_INVSRCALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:276: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_INVSRCALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:218: error: conflicting declaration 'D3DBLEND_DESTALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:277: error: 'D3DBLEND_DESTALPHA' has a previous declaration as `_D3DBLEND D3DBLEND_DESTALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:218: error: declaration of `D3DBLEND_DESTALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:277: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_DESTALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:219: error: conflicting declaration 'D3DBLEND_INVDESTALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:278: error: 'D3DBLEND_INVDESTALPHA' has a previous declaration as `_D3DBLEND D3DBLEND_INVDESTALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:219: error: declaration of `D3DBLEND_INVDESTALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:278: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_INVDESTALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:220: error: conflicting declaration 'D3DBLEND_DESTCOLOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:279: error: 'D3DBLEND_DESTCOLOR' has a previous declaration as `_D3DBLEND D3DBLEND_DESTCOLOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:220: error: declaration of `D3DBLEND_DESTCOLOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:279: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_DESTCOLOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:221: error: conflicting declaration 'D3DBLEND_INVDESTCOLOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:280: error: 'D3DBLEND_INVDESTCOLOR' has a previous declaration as `_D3DBLEND D3DBLEND_INVDESTCOLOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:221: error: declaration of `D3DBLEND_INVDESTCOLOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:280: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_INVDESTCOLOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:222: error: conflicting declaration 'D3DBLEND_SRCALPHASAT'
C:/Programme/Dev-Cpp/include/d3d9types.h:281: error: 'D3DBLEND_SRCALPHASAT' has a previous declaration as `_D3DBLEND D3DBLEND_SRCALPHASAT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:222: error: declaration of `D3DBLEND_SRCALPHASAT'
C:/Programme/Dev-Cpp/include/d3d9types.h:281: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_SRCALPHASAT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:223: error: conflicting declaration 'D3DBLEND_BOTHSRCALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:282: error: 'D3DBLEND_BOTHSRCALPHA' has a previous declaration as `_D3DBLEND D3DBLEND_BOTHSRCALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:223: error: declaration of `D3DBLEND_BOTHSRCALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:282: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_BOTHSRCALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:224: error: conflicting declaration 'D3DBLEND_BOTHINVSRCALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:283: error: 'D3DBLEND_BOTHINVSRCALPHA' has a previous declaration as `_D3DBLEND D3DBLEND_BOTHINVSRCALPHA'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:224: error: declaration of `D3DBLEND_BOTHINVSRCALPHA'
C:/Programme/Dev-Cpp/include/d3d9types.h:283: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_BOTHINVSRCALPHA'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:225: error: conflicting declaration 'D3DBLEND_BLENDFACTOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:284: error: 'D3DBLEND_BLENDFACTOR' has a previous declaration as `_D3DBLEND D3DBLEND_BLENDFACTOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:225: error: declaration of `D3DBLEND_BLENDFACTOR'

C:/Programme/Dev-Cpp/include/d3d9types.h:284: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_BLENDFACTOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:226: error: conflicting declaration 'D3DBLEND_INVBLENDFACTOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:285: error: 'D3DBLEND_INVBLENDFACTOR' has a previous declaration as `_D3DBLEND D3DBLEND_INVBLENDFACTOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:226: error: declaration of `D3DBLEND_INVBLENDFACTOR'
C:/Programme/Dev-Cpp/include/d3d9types.h:285: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_INVBLENDFACTOR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:235: error: conflicting declaration 'D3DBLEND_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:287: error: 'D3DBLEND_FORCE_DWORD' has a previous declaration as `_D3DBLEND D3DBLEND_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:235: error: declaration of `D3DBLEND_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:287: error: conflicts with previous declaration `_D3DBLEND D3DBLEND_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:238: error: multiple definition of `enum _D3DBLENDOP'
C:/Programme/Dev-Cpp/include/d3d9types.h:289: error: previous definition here
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:239: error: conflicting declaration 'D3DBLENDOP_ADD'

C:/Programme/Dev-Cpp/include/d3d9types.h:290: error: 'D3DBLENDOP_ADD' has a previous declaration as `_D3DBLENDOP D3DBLENDOP_ADD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:239: error: declaration of `D3DBLENDOP_ADD'
C:/Programme/Dev-Cpp/include/d3d9types.h:290: error: conflicts with previous declaration `_D3DBLENDOP D3DBLENDOP_ADD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:240: error: conflicting declaration 'D3DBLENDOP_SUBTRACT'
C:/Programme/Dev-Cpp/include/d3d9types.h:291: error: 'D3DBLENDOP_SUBTRACT' has a previous declaration as `_D3DBLENDOP D3DBLENDOP_SUBTRACT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:240: error: declaration of `D3DBLENDOP_SUBTRACT'
C:/Programme/Dev-Cpp/include/d3d9types.h:291: error: conflicts with previous declaration `_D3DBLENDOP D3DBLENDOP_SUBTRACT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:241: error: conflicting declaration 'D3DBLENDOP_REVSUBTRACT'
C:/Programme/Dev-Cpp/include/d3d9types.h:292: error: 'D3DBLENDOP_REVSUBTRACT' has a previous declaration as `_D3DBLENDOP D3DBLENDOP_REVSUBTRACT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:241: error: declaration of `D3DBLENDOP_REVSUBTRACT'
C:/Programme/Dev-Cpp/include/d3d9types.h:292: error: conflicts with previous declaration `_D3DBLENDOP D3DBLENDOP_REVSUBTRACT'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:242: error: conflicting declaration 'D3DBLENDOP_MIN'
C:/Programme/Dev-Cpp/include/d3d9types.h:293: error: 'D3DBLENDOP_MIN' has a previous declaration as `_D3DBLENDOP D3DBLENDOP_MIN'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:242: error: declaration of `D3DBLENDOP_MIN'
C:/Programme/Dev-Cpp/include/d3d9types.h:293: error: conflicts with previous declaration `_D3DBLENDOP D3DBLENDOP_MIN'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:243: error: conflicting declaration 'D3DBLENDOP_MAX'
C:/Programme/Dev-Cpp/include/d3d9types.h:294: error: 'D3DBLENDOP_MAX' has a previous declaration as `_D3DBLENDOP D3DBLENDOP_MAX'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:243: error: declaration of `D3DBLENDOP_MAX'
C:/Programme/Dev-Cpp/include/d3d9types.h:294: error: conflicts with previous declaration `_D3DBLENDOP D3DBLENDOP_MAX'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:244: error: conflicting declaration 'D3DBLENDOP_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:296: error: 'D3DBLENDOP_FORCE_DWORD' has a previous declaration as `_D3DBLENDOP D3DBLENDOP_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:244: error: declaration of `D3DBLENDOP_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:296: error: conflicts with previous declaration `_D3DBLENDOP D3DBLENDOP_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:247: error: multiple definition of `enum _D3DTEXTUREADDRESS'
C:/Programme/Dev-Cpp/include/d3d9types.h:909: error: previous definition here
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:248: error: conflicting declaration 'D3DTADDRESS_WRAP'
C:/Programme/Dev-Cpp/include/d3d9types.h:910: error: 'D3DTADDRESS_WRAP' has a previous declaration as `_D3DTEXTUREADDRESS D3DTADDRESS_WRAP'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:248: error: declaration of `D3DTADDRESS_WRAP'
C:/Programme/Dev-Cpp/include/d3d9types.h:910: error: conflicts with previous declaration `_D3DTEXTUREADDRESS D3DTADDRESS_WRAP'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:249: error: conflicting declaration 'D3DTADDRESS_MIRROR'
C:/Programme/Dev-Cpp/include/d3d9types.h:911: error: 'D3DTADDRESS_MIRROR' has a previous declaration as `_D3DTEXTUREADDRESS D3DTADDRESS_MIRROR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:249: error: declaration of `D3DTADDRESS_MIRROR'
C:/Programme/Dev-Cpp/include/d3d9types.h:911: error: conflicts with previous declaration `_D3DTEXTUREADDRESS D3DTADDRESS_MIRROR'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:250: error: conflicting declaration 'D3DTADDRESS_CLAMP'
C:/Programme/Dev-Cpp/include/d3d9types.h:912: error: 'D3DTADDRESS_CLAMP' has a previous declaration as `_D3DTEXTUREADDRESS D3DTADDRESS_CLAMP'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:250: error: declaration of `D3DTADDRESS_CLAMP'
C:/Programme/Dev-Cpp/include/d3d9types.h:912: error: conflicts with previous declaration `_D3DTEXTUREADDRESS D3DTADDRESS_CLAMP'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:251: error: conflicting declaration 'D3DTADDRESS_BORDER'
C:/Programme/Dev-Cpp/include/d3d9types.h:913: error: 'D3DTADDRESS_BORDER' has a previous declaration as `_D3DTEXTUREADDRESS D3DTADDRESS_BORDER'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:251: error: declaration of `D3DTADDRESS_BORDER'
C:/Programme/Dev-Cpp/include/d3d9types.h:913: error: conflicts with previous declaration `_D3DTEXTUREADDRESS D3DTADDRESS_BORDER'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:252: error: conflicting declaration 'D3DTADDRESS_MIRRORONCE'
C:/Programme/Dev-Cpp/include/d3d9types.h:914: error: 'D3DTADDRESS_MIRRORONCE' has a previous declaration as `_D3DTEXTUREADDRESS D3DTADDRESS_MIRRORONCE'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:252: error: declaration of `D3DTADDRESS_MIRRORONCE'
C:/Programme/Dev-Cpp/include/d3d9types.h:914: error: conflicts with previous declaration `_D3DTEXTUREADDRESS D3DTADDRESS_MIRRORONCE'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:253: error: conflicting declaration 'D3DTADDRESS_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:916: error: 'D3DTADDRESS_FORCE_DWORD' has a previous declaration as `_D3DTEXTUREADDRESS D3DTADDRESS_FORCE_DWORD'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:253: error: declaration of `D3DTADDRESS_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:916: error: conflicts with previous declaration `_D3DTEXTUREADDRESS D3DTADDRESS_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:256: error: multiple definition of `enum _D3DCULL'
C:/Programme/Dev-Cpp/include/d3d9types.h:320: error: previous definition here
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:257: error: conflicting declaration 'D3DCULL_NONE'
C:/Programme/Dev-Cpp/include/d3d9types.h:321: error: 'D3DCULL_NONE' has a previous declaration as `_D3DCULL D3DCULL_NONE'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:257: error: declaration of `D3DCULL_NONE'
C:/Programme/Dev-Cpp/include/d3d9types.h:321: error: conflicts with previous declaration `_D3DCULL D3DCULL_NONE'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:258: error: conflicting declaration 'D3DCULL_CW'
C:/Programme/Dev-Cpp/include/d3d9types.h:322: error: 'D3DCULL_CW' has a previous declaration as `_D3DCULL D3DCULL_CW'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:258: error: declaration of `D3DCULL_CW'
C:/Programme/Dev-Cpp/include/d3d9types.h:322: error: conflicts with previous declaration `_D3DCULL D3DCULL_CW'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:259: error: conflicting declaration 'D3DCULL_CCW'
C:/Programme/Dev-Cpp/include/d3d9types.h:323: error: 'D3DCULL_CCW' has a previous declaration as `_D3DCULL D3DCULL_CCW'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:259: error: declaration of `D3DCULL_CCW'
C:/Programme/Dev-Cpp/include/d3d9types.h:323: error: conflicts with previous declaration `_D3DCULL D3DCULL_CCW'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:260: error: conflicting declaration 'D3DCULL_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:325: error: 'D3DCULL_FORCE_DWORD' has a previous declaration as `_D3DCULL D3DCULL_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:260: error: declaration of `D3DCULL_FORCE_DWORD'
C:/Programme/Dev-Cpp/include/d3d9types.h:325: error: conflicts with previous declaration `_D3DCULL D3DCULL_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:263: error: multiple definition of `enum _D3DCMPFUNC'
C:/Programme/Dev-Cpp/include/d3d9types.h:298: error: previous definition here
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:264: error: conflicting declaration 'D3DCMP_NEVER'
C:/Programme/Dev-Cpp/include/d3d9types.h:299: error: 'D3DCMP_NEVER' has a previous declaration as `_D3DCMPFUNC D3DCMP_NEVER'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:264: error: declaration of `D3DCMP_NEVER'
C:/Programme/Dev-Cpp/include/d3d9types.h:299: error: conflicts with previous declaration `_D3DCMPFUNC D3DCMP_NEVER'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:265: error: conflicting declaration 'D3DCMP_LESS'
C:/Programme/Dev-Cpp/include/d3d9types.h:300: error: 'D3DCMP_LESS' has a previous declaration as `_D3DCMPFUNC D3DCMP_LESS'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:265: error: declaration of `D3DCMP_LESS'

C:/Programme/Dev-Cpp/include/d3d9types.h:300: error: conflicts with previous declaration `_D3DCMPFUNC D3DCMP_LESS'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:266: error: conflicting declaration 'D3DCMP_EQUAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:301: error: 'D3DCMP_EQUAL' has a previous declaration as `_D3DCMPFUNC D3DCMP_EQUAL'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:266: error: declaration of `D3DCMP_EQUAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:301: error: conflicts with previous declaration `_D3DCMPFUNC D3DCMP_EQUAL'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:267: error: conflicting declaration 'D3DCMP_LESSEQUAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:302: error: 'D3DCMP_LESSEQUAL' has a previous declaration as `_D3DCMPFUNC D3DCMP_LESSEQUAL'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:267: error: declaration of `D3DCMP_LESSEQUAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:302: error: conflicts with previous declaration `_D3DCMPFUNC D3DCMP_LESSEQUAL'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:268: error: conflicting declaration 'D3DCMP_GREATER'
C:/Programme/Dev-Cpp/include/d3d9types.h:303: error: 'D3DCMP_GREATER' has a previous declaration as `_D3DCMPFUNC D3DCMP_GREATER'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:268: error: declaration of `D3DCMP_GREATER'
C:/Programme/Dev-Cpp/include/d3d9types.h:303: error: conflicts with previous declaration `_D3DCMPFUNC D3DCMP_GREATER'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:269: error: conflicting declaration 'D3DCMP_NOTEQUAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:304: error: 'D3DCMP_NOTEQUAL' has a previous declaration as `_D3DCMPFUNC D3DCMP_NOTEQUAL'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:269: error: declaration of `D3DCMP_NOTEQUAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:304: error: conflicts with previous declaration `_D3DCMPFUNC D3DCMP_NOTEQUAL'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:270: error: conflicting declaration 'D3DCMP_GREATEREQUAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:305: error: 'D3DCMP_GREATEREQUAL' has a previous declaration as `_D3DCMPFUNC D3DCMP_GREATEREQUAL'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:270: error: declaration of `D3DCMP_GREATEREQUAL'
C:/Programme/Dev-Cpp/include/d3d9types.h:305: error: conflicts with previous declaration `_D3DCMPFUNC D3DCMP_GREATEREQUAL'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:271: error: conflicting declaration 'D3DCMP_ALWAYS'
C:/Programme/Dev-Cpp/include/d3d9types.h:306: error: 'D3DCMP_ALWAYS' has a previous declaration as `_D3DCMPFUNC D3DCMP_ALWAYS'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:271: error: declaration of `D3DCMP_ALWAYS'
C:/Programme/Dev-Cpp/include/d3d9types.h:306: error: conflicts with previous declaration `_D3DCMPFUNC D3DCMP_ALWAYS'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:272: error: conflicting declaration 'D3DCMP_FORCE_DWORD'

C:/Programme/Dev-Cpp/include/d3d9types.h:308: error: 'D3DCMP_FORCE_DWORD' has a previous declaration as `_D3DCMPFUNC D3DCMP_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:272: error: declaration of `D3DCMP_FORCE_DWORD'

C:/Programme/Dev-Cpp/include/d3d9types.h:308: error: conflicts with previous declaration `_D3DCMPFUNC D3DCMP_FORCE_DWORD'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:275: error: multiple definition of `enum _D3DSTENCILOP'
C:/Programme/Dev-Cpp/include/d3d9types.h:882: error: previous definition here
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:276: error: conflicting declaration 'D3DSTENCILOP_KEEP'
C:/Programme/Dev-Cpp/include/d3d9types.h:883: error: 'D3DSTENCILOP_KEEP' has a previous declaration as `_D3DSTENCILOP D3DSTENCILOP_KEEP'

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:276: error: declaration of `D3DSTENCILOP_KEEP'
C:/Programme/Dev-Cpp/include/d3d9types.h:883: error: conflicts with previous declaration `_D3DSTENCILOP D3DSTENCILOP_KEEP'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:277: error: conflicting declaration 'D3DSTENCILOP_ZERO'
C:/Programme/Dev-Cpp/include/d3d9types.h:884: error: 'D3DSTENCILOP_ZERO' has a previous declaration as `_D3DSTENCILOP D3DSTENCILOP_ZERO'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:277: error: declaration of `D3DSTENCILOP_ZERO'
C:/Programme/Dev-Cpp/include/d3d9types.h:884: error: conflicts with previous declaration `_D3DSTENCILOP D3DSTENCILOP_ZERO'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:278: error: conflicting declaration 'D3DSTENCILOP_REPLACE'
C:/Programme/Dev-Cpp/include/d3d9types.h:885: error: 'D3DSTENCILOP_REPLACE' has a previous declaration as `_D3DSTENCILOP D3DSTENCILOP_REPLACE'
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3d9types.h:278: error: declaration of `D3DSTENCILOP_REPLACE'
C:/Programme/Dev-Cpp/include/d3d9types.h:885&
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
DirectXer
Dark JLI'ler



Anmeldedatum: 05.02.2005
Beiträge: 1201
Wohnort: Köln
Medaillen: Keine

BeitragVerfasst am: 20.03.2008, 10:50    Titel: Antworten mit Zitat

sieht offenbar so aus, als ob du 2 DirectX SDKs auf deinem PC einbidest. Schau mal in den Include-Directories nach (die Pfade) ob dort sowohl C:/Programme/Microsoft DirectX SDK (August 2007)/Include/ als auch C:/Programme/Dev-Cpp/include/ angegeben sind

Gruß DXer
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden
newby
JLI'ler



Anmeldedatum: 17.08.2007
Beiträge: 106

Medaillen: Keine

BeitragVerfasst am: 20.03.2008, 11:45    Titel: Antworten mit Zitat

Stimmt du hast recht, wusste garnicht das bei Borland eine DirectX SDK dabei ist Wink

so sieht das ganze jetzt aus:

Code:

Compiler: Default compiler
Building Makefile: "C:\Programme\Dev-Cpp\Makefile.win"
Führt  make... aus
make.exe -f "C:\Programme\Dev-Cpp\Makefile.win" all
g++.exe -c "../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp" -o "../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.o" -I"C:/Programme/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Programme/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Programme/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Programme/Dev-Cpp/include/c++/3.4.2"  -I"C:/Programme/Microsoft DirectX SDK (August 2007)/Include"   

In file included from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9math.h:1787,
                 from C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9.h:47,
                 from ../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:7:
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9math.inl: In static member function `static void* _D3DXMATRIXA16::operator new(size_t)':
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9math.inl:993: warning: `operator new' must not return NULL unless it is declared `throw()' (or -fcheck-new is in effect)

C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9math.inl: In static member function `static void* _D3DXMATRIXA16::operator new [](size_t)':
C:/Programme/Microsoft DirectX SDK (August 2007)/Include/d3dx9math.inl:1008: warning: `operator new' must not return NULL unless it is declared `throw()' (or -fcheck-new is in effect)

../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp: In function `HWND__* CreateMainWindow(HINSTANCE__*)':
../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.cpp:103: warning: passing NULL used for non-pointer converting 1 of `HWND__* CreateWindowExA(DWORD, const CHAR*, const CHAR*, DWORD, int, int, int, int, HWND__*, HMENU__*, HINSTANCE__*, void*)'

g++.exe "../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.o"  -o "Halli Galli.exe" -L"C:/Programme/Dev-Cpp/lib" -L"C:/Programme/Microsoft DirectX SDK (August 2007)/Lib/x86" -mwindows "../Microsoft DirectX SDK (August 2007)/Lib/x86/dxguid.lib" "../Microsoft DirectX SDK (August 2007)/Lib/x86/d3dx9.lib" 

../Jetzt lerne ich Spieleprogrammierung mit DirectX/Kapitel 19/DirectXGraphics/DirectXGraphics.o(.text+0x360):DirectXGraphics.cpp: undefined reference to `Direct3DCreate9@4'
collect2: ld returned 1 exit status

make.exe: *** ["Halli] Error 1

Ausführung beendet
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
The Lord of Programming
Living Legend


Alter: 36
Anmeldedatum: 14.03.2003
Beiträge: 3122

Medaillen: Keine

BeitragVerfasst am: 20.03.2008, 16:29    Titel: Antworten mit Zitat

Die D3D-Librarys eingebunden und Pfade überprüft?
_________________
www.visualgamesentertainment.net
Current projects: RDTDC(1), JLI-Vor-Projekt, Tetris(-Tutorial), JLI-Format
(1) Realtime Developer Testing and Debugging Console


Anschlag, Anleitung zum Atombombenbau, Sprengkörper...
Hilf Schäuble! Damit er auch was findet...
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen
newby
JLI'ler



Anmeldedatum: 17.08.2007
Beiträge: 106

Medaillen: Keine

BeitragVerfasst am: 20.03.2008, 20:28    Titel: Antworten mit Zitat

Ich hab das Problem jetzt gelöst indem ich die DirectX SDK deinstalliert hab und die alte Version aus dem Buch genommen hab. (hatte die von august 2007, dachte das wäre abwärtskompatibel)

Jetzt hab ich das Problem:

Code:

  [Linker error] undefined reference to `Direct3DCreate9@4'


denke mal ne bibliothek fehlt, hab die hier gelinkt:

Code:

#pragma comment(lib, 'dxguid.lib')
#pragma comment(lib, 'd3d9.lib')
#pragma comment(lib, 'd3dx9.lib')
#include <d3d9.h>
#include <d3dx9.h>
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
newby
JLI'ler



Anmeldedatum: 17.08.2007
Beiträge: 106

Medaillen: Keine

BeitragVerfasst am: 21.03.2008, 12:58    Titel: Antworten mit Zitat

ich habs jetzt mal so versucht:

Code:

#include <d3d9.h>
#include <d3dx9.h>
#pragma comment(lib, "../Microsoft DirectX 9.0 SDK (October 2005)/Lib/x86/dxguid.lib")
#pragma comment(lib, "../Microsoft DirectX 9.0 SDK (October 2005)/Lib/x86/d3d9.lib")
#pragma comment(lib, "../Microsoft DirectX 9.0 SDK (October 2005)/Lib/x86/d3dx9.lib")


ich habe bei Projekt/Projekt Optionen/Verzeichnisse/Bibliotheks-Verzeichnisse und Include-Verzeichnisse eingetragen C:/Programme/Microsoft DirectX 9.0 SDK (October 2005)/Lib/x86 bzw. C:/Programme/Microsoft DirectX 9.0 SDK (October 2005)/include


immernoch der gleiche fehler
Nach oben
Benutzer-Profile anzeigen Private Nachricht senden
Beiträge der letzten Zeit anzeigen:   
Neues Thema eröffnen   Neue Antwort erstellen    JLI Spieleprogrammierung Foren-Übersicht -> Fragen, Antworten und Kritik Alle Zeiten sind GMT
Gehe zu Seite 1, 2  Weiter
Seite 1 von 2

 
Gehe zu:  
Du kannst keine Beiträge in dieses Forum schreiben.
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de

Impressum