Game Development Community

TGE Compilation Error

by Unknown · in Torque Game Engine · 05/09/2008 (2:08 pm) · 5 replies

When trying to compile TGE (using the Torque Build Environment Alpha) the compilation gave the following error

--> Compiling platformWin32/winMutex.cc
In file included from platformWin32/winMutex.cc:6:
platformWin32/platformWin32.h:11:7: #error "ERROR: You must have UNICODE defined in your preprocessor settings (ie, /DUNICODE)"

Similar errors were returned at different steps of the compilation.



FYI:

- The Torque SDK was installed at "C:\Torque\SDK"
- The Torque SDK was installed before the Torque Build Environment Alpha
- I'm using Windows XP

#1
05/09/2008 (2:48 pm)
You need to get unicode in your compiler
#2
05/09/2008 (2:56 pm)
I don't know how.
#3
05/09/2008 (3:08 pm)
Actually, I'm even getting another error before the aforementioned. Which I did not catch.

Creating library out.GCC3.RELEASE/lungif.a
mkdir: cannot create directory 'out.GCC3.RELEASE/gui/containers': No such file or directory
make[1]: *** [out.GCC3.RELEASE/gui/containers] Error 1
make: *** [default] Error 2

This happened at about 37% compilation. The previously mentioned error happened at about 99% compilation.
#4
05/10/2008 (10:36 am)
I think you mean TBE 0.6.0 rather than TGE. As noted in your other thread, you should use Visual Studio since TBE is not being updated anymore. I'm just posting this information for others who might find it by searching and get confused. I know you got VS up and running and compiling Torque.
#5
05/10/2008 (10:39 am)
Yes, David Blake. Visual C++ 2008 Express worked perfectly.