Hallo ich habe das projekt nach anleitung des updates :
Software-Update: Alle Projekte aus dem Buch "3D-Spieleprogrammierung" für Visual C++ 2010 & neues DirectX-SDK erstellt und den code der da zum testen ist eingefügt.
hier der code:
#include <TriBase.h>
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
char* pcCommandLine,
int iShowCommand)
{
tbInit();
tbConfig Config;
tbDoConfigDialog(&Config);
tbExit();
return 0;
}
Jetzt kommt beim Debugen in der konsole (also wenn ich F7 in Virsual C++ 2010 Express drücke):
1>------ Build started: Project: TriBase, Configuration: Debug Win32 ------
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
2>------ Build started: Project: Bsp 09-05 - Skript, Configuration: Debug Win32 ------
3>------ Build started: Project: Bsp 09-04 - DLLs, Configuration: Debug Win32 ------
4>------ Build started: Project: Bsp 09-03 - Octrees, Configuration: Debug Win32 ------
5>------ Build started: Project: Bsp 09-02 - Videos, Configuration: Debug Win32 ------
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
6>------ Build started: Project: Bsp 09-01 - Schatten, Configuration: Debug Win32 ------
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
7>------ Build started: Project: Bsp 05-06 - TriBase-Sound, Configuration: Debug Win32 ------
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
6>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
8>------ Build started: Project: Bsp 05-05 - Effekte, Configuration: Debug Win32 ------
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
9>------ Build started: Project: Bsp 05-04 - 3D-Sound, Configuration: Debug Win32 ------
8>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
10>------ Build started: Project: Bsp 05-03 - WAV-Dateien, Configuration: Debug Win32 ------
11>------ Build started: Project: Bsp 05-02 - Soundpuffer, Configuration: Debug Win32 ------
9>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
12>------ Build started: Project: Bsp 05-01 - Geräte abzählen, Configuration: Debug Win32 ------
11>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
13>------ Build started: Project: Bsp 04-06 - tbDirectInput, Configuration: Debug Win32 ------
10>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
14>------ Build started: Project: Bsp 04-05 - Kalibrierter Joystick, Configuration: Debug Win32 ------
14>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
12>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
15>------ Build started: Project: Bsp 04-04 - Der Joystick, Configuration: Debug Win32 ------
13>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
16>------ Build started: Project: Bsp 04-03 - Die Maus, Configuration: Debug Win32 ------
17>------ Build started: Project: Bsp 04-02 - Die Tastatur, Configuration: Debug Win32 ------
16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
18>------ Build started: Project: Bsp 04-01 - Geräte abzählen, Configuration: Debug Win32 ------
15>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
17>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
19>------ Build started: Project: Bsp 03-03 - Texte, Configuration: Debug Win32 ------
18>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
20>------ Build started: Project: Bsp 03-02 - Modelle, Configuration: Debug Win32 ------
21>------ Build started: Project: Bsp 03-01 - tbDirect3D, Configuration: Debug Win32 ------
19>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
22>------ Build started: Project: Bsp 02-14 - Effekte, Configuration: Debug Win32 ------
20>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
23>------ Build started: Project: Bsp 02-13 - Stencil-Buffer, Configuration: Debug Win32 ------
22>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
24>------ Build started: Project: Bsp 02-12 - Bump-Mapping, Configuration: Debug Win32 ------
21>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
25>------ Build started: Project: Bsp 02-11 - Environment-Mapping, Configuration: Debug Win32 ------
24>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
26>------ Build started: Project: Bsp 02-10 - Volumentexturen, Configuration: Debug Win32 ------
27>------ Build started: Project: Bsp 02-09 - Multi-Texturing, Configuration: Debug Win32 ------
23>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
25>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
28>------ Build started: Project: Bsp 02-08 - Alpha-Blending, Configuration: Debug Win32 ------
29>------ Build started: Project: Bsp 02-07 - Beleuchtung, Configuration: Debug Win32 ------
26>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
27>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
30>------ Build started: Project: Bsp 02-06 - Nebel, Configuration: Debug Win32 ------
28>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
31>------ Build started: Project: Bsp 02-05 - Vertex- und Index-Buffer, Configuration: Debug Win32 ------
29>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
32>------ Build started: Project: Bsp 02-04 - Texturen, Configuration: Debug Win32 ------
30>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
33>------ Build started: Project: Bsp 02-03 - Das erste Dreieck, Configuration: Debug Win32 ------
31>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
34>------ Build started: Project: Bsp 02-02 - Direct3D-Abzählung, Configuration: Debug Win32 ------
32>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
35>------ Build started: Project: Bsp 02-01 - Fenster, Configuration: Debug Win32 ------
36>------ Build started: Project: Spiel Galactica, Configuration: Debug Win32 ------
33>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
34>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
37>------ Build started: Project: Spiel Breakanoid, Configuration: Debug Win32 ------
35>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
36>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
38>------ Build started: Project: TBTool TerrainEditor, Configuration: Debug Win32 ------
37>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
39>------ Build started: Project: TBTool PWEncrypt, Configuration: Debug Win32 ------
40>------ Build started: Project: TBTool OctreeCompiler, Configuration: Debug Win32 ------
38>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
41>------ Build started: Project: TBTool ModelConverter, Configuration: Debug Win32 ------
40>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
42>------ Build started: Project: TBTool CreateBitmapFont, Configuration: Debug Win32 ------
41>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
43>------ Build started: Project: Gametime, Configuration: Debug Win32 ------
39>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
42>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(511,5): error MSB8008: Specified platform toolset (v120) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected.
43> Versuche eine harte Verknuepfung zu erzeugen ...
43> Das System kann die angegebene Datei nicht finden.
43> Hat nicht funktioniert. Kopiere die Datei ...
43> Das System kann die angegebene Datei nicht finden.
43> Fehler beim Kopieren der Datei!
43>LINK : fatal error LNK1104: Datei "TriBaseD.lib" kann nicht geöffnet werden.
========== Build: 0 succeeded, 43 failed, 0 up-to-date, 0 skipped ==========
was mach ich falsch? und fehlt mir vieleicht die platform sdk? ich finde die auch nirgends.
Danke im voraus Gruß Manuel