Game Development Community

Compiling errors TSE

by mb · in Torque Game Engine · 10/31/2006 (3:16 pm) · 2 replies

I followed all the instructions to setup visual c++ 2005 express and I'm getting these errors:


------ Build started: Project: Torque Shader Engine, Configuration: Debug Win32 ------
Compiling...
win32WinMgr.cpp
e:\tse\engine\platformwin32\win32winmgr.cpp(33) : error C2440: 'initializing' : cannot convert from 'UTF16 *' to 'LPCWSTR'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
e:\tse\engine\platformwin32\win32winmgr.cpp(128) : error C2664: 'CreateWindowExW' : cannot convert parameter 3 from 'UTF16 [64]' to 'LPCWSTR'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
screenshotD3D.cpp
e:\tse\engine\gfx\d3d\screenshotd3d.cpp(66) : error C2664: 'D3DXSaveSurfaceToFileW' : cannot convert parameter 1 from 'UTF16 [512]' to 'LPCWSTR'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
gfxD3DTextureManager.cpp
e:\tse\engine\gfx\d3d\gfxd3dtexturemanager.cpp(48) : error C2664: 'DXTraceW' : cannot convert parameter 4 from 'UTF16 [256]' to 'const WCHAR *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
e:\tse\engine\gfx\d3d\gfxd3dtexturemanager.cpp(515) : error C2664: 'D3DXGetImageInfoFromFileW' : cannot convert parameter 1 from 'UTF16 [256]' to 'LPCWSTR'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
e:\tse\engine\gfx\d3d\gfxd3dtexturemanager.cpp(524) : error C2664: 'D3DXCreateTextureFromFileW' : cannot convert parameter 2 from 'UTF16 [256]' to 'LPCWSTR'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
e:\tse\engine\gfx\d3d\gfxd3dtexturemanager.cpp(535) : error C2664: 'D3DXCreateVolumeTextureFromFileW' : cannot convert parameter 2 from 'UTF16 [256]' to 'LPCWSTR'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
gfxD3DDevice.cpp
e:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(35) : warning C4482: nonstandard extension used: enum 'GFXVertexColor::ColorOrdering' used in qualified name
e:\tse\engine\gfx\d3d\gfxd3ddevice.cpp(1783) : error C2664: 'NVDXDiagWrapper::DXDiagNVUtil::GetDirectXVersion' : cannot convert parameter 3 from 'UTF16 *' to 'TCHAR *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '..\engine\out.vc7.win32.debug\guiTreeViewCtrl.sbr': No such file or directory
Build log was saved at "file://e:\tse\engine\out.vc7.win32.debug\BuildLog.htm"
Torque Shader Engine - 9 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========


Can someone help me with this?

Thread is locked
#1
10/31/2006 (3:53 pm)
Unicode related if that helps any..

seems maybe a preprocessor definition that you require is not set.
#2
10/31/2006 (5:28 pm)
This is not the correect forum for TSE (now TGEA) related questions. Please post in the private TGEA forum areas.