Panel użytkownika
Nazwa użytkownika:
Hasło:
Nie masz jeszcze konta?

DirectX i PhysX w Visual C++ 2010

Ostatnio zmodyfikowano 2011-01-23 16:21
Autor Wiadomość
asembler
Temat założony przez niniejszego użytkownika
DirectX i PhysX w Visual C++ 2010
» 2011-01-23 11:08:05
Witam, ostatnio przeniosłem się na Visual C++ a ponieważ nie mam doświadczenia z owym środowiskiem, piszę ten temat by dowiedzieć się jak zainstalować tam SDK DirectX i SDK PhysX. Z góry dzięki za odpowiedź
Może być samo DirectX
P-26901
SeaMonster131
» 2011-01-23 12:55:10
Podobnie jak w przypadku innych IDE? ;p
P-26908
McAffey
» 2011-01-23 14:43:11
Nie licząc deva, w którym można (ale nie trzeba) ściągać biblioteki z poziomu programu, ale tak to po prostu ściągasz wybraną bibliotekę i przekopiowujesz pliki do odpowiednich katalogów.
P-26918
asembler
Temat założony przez niniejszego użytkownika
» 2011-01-23 16:15:31
Tak też wcześniej zrobiłem i zlinkowałem. Jednak Visual i tak wywala błędy, a skompilowałem to samo na C::B i działał
oto log:
1>------ Build started: Project: gforgrs, Configuration: Debug Win32 ------
1>  gforgrs.cpp
1>c:\documents and settings\admin\pulpit\project\gforgrs\gforgrs\gforgrs.cpp(36): error C2664: 'D3DXLoadMeshFromXW' : cannot convert parameter 1 from 'char *' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\documents and settings\admin\pulpit\project\gforgrs\gforgrs\gforgrs.cpp(46): error C2664: 'D3DXCreateTextureFromFileW' : cannot convert parameter 2 from 'LPSTR' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\documents and settings\admin\pulpit\project\gforgrs\gforgrs\gforgrs.cpp(60): error C2440: '=' : cannot convert from 'const char [9]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\documents and settings\admin\pulpit\project\gforgrs\gforgrs\gforgrs.cpp(69): error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [9]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\documents and settings\admin\pulpit\project\gforgrs\gforgrs\gforgrs.cpp(97): error C2664: 'D3DXCreateEffectFromFileW' : cannot convert parameter 2 from 'const char [10]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\documents and settings\admin\pulpit\project\gforgrs\gforgrs\gforgrs.cpp(100): error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\documents and settings\admin\pulpit\project\gforgrs\gforgrs\gforgrs.cpp(145): warning C4018: '<' : signed/unsigned mismatch
1>c:\documents and settings\admin\pulpit\project\gforgrs\gforgrs\gforgrs.cpp(165): warning C4018: '<' : signed/unsigned mismatch
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
P-26926
Elaine
» 2011-01-23 16:21:02
Project -> Properties -> Configuration Properties -> General -> Character Set ustaw na Not set.
P-26927
« 1 »
  Strona 1 z 1