Hallo,
ich versuche die Source SDK unter VS C++ 10 Express zum Laufen zu bringen aber habe es bis jetzt nicht hinbekommen. Ich habe erst gedacht, dass ich es bin, der das nicht hinkriegt, aber langsam glaub ich, dass es nicht mein Fehler ist. Ich verfolge ein frisch gemachtes Tutorial (etwa 5 Monate alt). Das Problem ist das hier:
|
C-/C++-Quelltext
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
1>d:\halflifemod_learn\src\public\tier0\dbg.h(463): error C2664: 'Msg' : cannot convert parameter 1 from 'const char [6]' to 'const tchar *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\halflifemod_learn\src\public\tier0\dbg.h(467): error C2664: 'Msg' : cannot convert parameter 1 from 'const char [5]' to 'const tchar *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\halflifemod_learn\src\public\tier0\threadtools.h(183): error C2664: '_SpewMessage' : cannot convert parameter 1 from 'const char [3]' to 'const tchar *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\halflifemod_learn\src\public\tier0\threadtools.h(184): error C2664: '_SpewMessage' : cannot convert parameter 1 from 'const char [3]' to 'const tchar *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\halflifemod_learn\src\public\tier0\threadtools.h(185): error C2664: '_SpewMessage' : cannot convert parameter 1 from 'const char [3]' to 'const tchar *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\halflifemod_learn\src\public\tier0\threadtools.h(186): error C2664: '_SpewMessage' : cannot convert parameter 1 from 'const char [3]' to 'const tchar *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\halflifemod_learn\src\public\tier0\threadtools.h(187): error C2664: '_SpewMessage' : cannot convert parameter 1 from 'const char [3]' to 'const tchar *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\halflifemod_learn\src\public\tier0\threadtools.h(188): error C2664: '_SpewMessage' : cannot convert parameter 1 from 'const char [3]' to 'const tchar *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>d:\halflifemod_learn\src\public\basehandle.h(95): fatal error C1003: error count exceeds 100; stopping compilation
|
Hab die Meldung gekürzt. Die ist viel länger
Ich weiß ungefähr was ich da machen muss. Und zwar _T() verwendne. Aber unmögliche Arbeit bei 3000 Dokumenten
.
Aber darum gehts mir nicht. Ich habe ein Video Tutorial angeschaut. Dort tut der Typ so genau so installieren, wie ich es auch tue. Aber mich hat auch nur der Bereich interessiert die Meldung 'const tchar *' gefixt wird. Und sehe.. er hat solche Fehler gar nicht. Obwohl wir genau die gleiche SDK runter laden. Es ist über Steam. Ich hatte schon vor ein Jahr das Problem und heute immernoch
ein VS 2005 wird auf 2010 konvertiert. Ohne Errors wie auf dem Video und wie bei mir. Trotzdem hab ich solche Fehlermeldungen. Er aber auf dem Video nicht.
Hab ich da etwa was falsch installiert?