Error Compiling Clean Install...
by Nicolai Dutka · in Torque Game Builder · 05/01/2008 (10:42 am) · 26 replies
I just finished installing 1.7.2 Pro and Visual Studio 2008. I opened VS2008 and then opened: engine/compilers/VisualStudio.net/TorqueGameBuilder.vcproj
I don't do anything to any of the files, right click on TorqueGameBuilder in my Solution Explorer and choose 'Build'.
I would have thought this would work flawlessly the first time since it happens to be a completely fresh install of TGB 1.7.2, but alas, I had problems...
I am trying to make a Debug version of my executable so I can start programming the networking.
Errors:
I don't do anything to any of the files, right click on TorqueGameBuilder in my Solution Explorer and choose 'Build'.
I would have thought this would work flawlessly the first time since it happens to be a completely fresh install of TGB 1.7.2, but alas, I had problems...
I am trying to make a Debug version of my executable so I can start programming the networking.
Errors:
win32MsgBox.cpp
c:\program files (x86)\garagegames\torquegamebuilder-1.7.2\engine\source\platformwin32\nativedialogs\win32msgbox.cpp(76) : error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const UTF16 *' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
win32DirectoryResolver.cpp
c:\program files (x86)\garagegames\torquegamebuilder-1.7.2\engine\source\platformwin32\nativedialogs\win32directoryresolver.cpp(74) : error C2664: 'PathAddExtensionW' : cannot convert parameter 1 from 'UTF16 [260]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\garagegames\torquegamebuilder-1.7.2\engine\source\platformwin32\nativedialogs\win32directoryresolver.cpp(78) : error C2664: 'IPersistFile::Load' : cannot convert parameter 1 from 'UTF16 [260]' to 'LPCOLESTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\garagegames\torquegamebuilder-1.7.2\engine\source\platformwin32\nativedialogs\win32directoryresolver.cpp(93) : error C2664: 'IShellLinkW::GetPath' : cannot convert parameter 1 from 'UTF16 [260]' to 'LPWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\program files (x86)\garagegames\torquegamebuilder-1.7.2\engine\source\platformwin32\nativedialogs\win32directoryresolver.cpp(97) : error C2664: 'PathIsDirectoryW' : cannot convert parameter 1 from 'UTF16 [260]' to 'LPCWSTR'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
fileDialog.cc
c:\program files (x86)\garagegames\torquegamebuilder-1.7.2\engine\source\platformwin32\nativedialogs\filedialog.cc(91) : error C2665: 'convertUTF16toUTF8' : none of the 2 overloads could convert all the argument types
#22
I have done step by step what Mr.Nicolai Dutka posted on "May 03, 2008 01:20 ".
But,still I am getting lots of error.
I am using tgb 1.7.2 & VC 2008 Express Edition compiler but I am not having windows platform SDK install on my PC.
I am new to torque scripting, there one question the how can compile tgb should I ? "right click on .vcproj file & then click on build " or " choose debug option (by pressing F5 on VC)".
Can any experienced person help me on this !!!!!!!!!!!!!!!!!!!!
Thanks in advance....
05/06/2008 (10:54 pm)
Hi,I have done step by step what Mr.Nicolai Dutka posted on "May 03, 2008 01:20 ".
But,still I am getting lots of error.
I am using tgb 1.7.2 & VC 2008 Express Edition compiler but I am not having windows platform SDK install on my PC.
I am new to torque scripting, there one question the how can compile tgb should I ? "right click on .vcproj file & then click on build " or " choose debug option (by pressing F5 on VC)".
Can any experienced person help me on this !!!!!!!!!!!!!!!!!!!!
Thanks in advance....
#23
05/06/2008 (10:56 pm)
You must have the Windows Platform SDK installed on your computer.
#25
But I am getting lot of errors.
05/07/2008 (2:57 am)
I got my answer how to built or compile tgb But I am getting lot of errors.
#26
Follow the steps listed here, just skip the ones you have done.
05/07/2008 (4:34 am)
tdn.garagegames.com/wiki/T2D/TGBTutorials/WindowsSystemSetupFollow the steps listed here, just skip the ones you have done.
Torque 3D Owner Nicolai Dutka