[DX11 입문 서문] vs2015 설치에 관하여

GPG 시리즈 관련 질답, 논의 공간.

Moderator: 류광

비회원

vs2015 설치에 관하여

Post by 비회원 »

vs2012에서 설치를 해보다가 도저히 알수가 없어서 vs2015에서 류광님께서 올려주신

Visual Studio 2015에서 예제 실행하기 <-을 보고 해봤으나

전혀 다른 오류가 계속 나오며 끝까지 실행한 결과 아래와 같은 오류가 나옵니다.

1>------ 빌드 시작: 프로젝트: Win32Project1, 구성: Debug Win32 ------
1> xnacollision.cpp
1> Waves.cpp
1> TextureMgr.cpp
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\texturemgr.cpp(33): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [117]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> MathHelper.cpp
1> LightHelper.cpp
1> GeometryGenerator.cpp
1> GameTimer.cpp
1> dxerr.cpp
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\dxerr.cpp(32): fatal error C1083: Cannot open include file: 'd3d11_1.h': No such file or directory
1> d3dUtil.cpp
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dutil.cpp(43): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [114]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dutil.cpp(68): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [114]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dutil.cpp(81): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [114]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dutil.cpp(104): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [114]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dutil.cpp(152): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [114]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dutil.cpp(164): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [114]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> d3dApp.cpp
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(146): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(148): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(149): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(180): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(181): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(408): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(448): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(451): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(454): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\common\d3dapp.cpp(456): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [113]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> Camera.cpp
1> BoxDemo.cpp
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\chapter 6 drawing in direct3d\box\boxdemo.cpp(172): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [141]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\chapter 6 drawing in direct3d\box\boxdemo.cpp(244): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [141]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\chapter 6 drawing in direct3d\box\boxdemo.cpp(284): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [141]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\chapter 6 drawing in direct3d\box\boxdemo.cpp(314): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [141]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\administrator\desktop\programing\book_file\3d game programming for directx11\dvd\code\chapter 6 drawing in direct3d\box\boxdemo.cpp(336): error C2664: 'DXTraceW' : cannot convert parameter 1 from 'const char [141]' to 'const WCHAR *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1> Generating Code...
========== 빌드: 성공 0, 실패 1, 최신 0, 생략 0 ==========

시작도 못하고.....여기서 계속 막히네요
류광
Posts: 3805
Joined: 2001-07-25 09:00
Location: GPGstudy
Contact:

Post by 류광 »

dxerr.cpp 관련 오류는 viewtopic.php?t=25463 에 링크된 글들에 답이 있습니다.
Post Reply