Game Development Community

Code not compiling on OSX 10.3.7

by Bao Tram · in Torque Game Engine · 02/14/2006 (2:52 am) · 2 replies

Hi,

i just got the code for TGE 1.3.5, and tried compiling on the MiniMac, and apparently have some problems in gettiing the code to complie. and these are the errors that i currently getting...

error: than previous declaration 'void* operator new(long unsigned int, void*)'
/usr/include/gcc/darwin/3.3/c++/new:92: error: declaration of 'void* operator new(long unsigned int, void*) throw ()' throws different exceptions

when i looked around for a solution, this is what i found on one of the forums, which i did use, but to no avail...

1) Click on the Targets tab
2) Select the Target you wish to change
3) Click the Expert View item under Settings
4) Click on the + graphic to add each of the following settings:
a. CC = /usr/bin/gcc-3.3
b. CPLUSPLUS = /usr/bin/g++-3.3
c. GCC_VERSION = 3.x

still having the same problems, hope somebody comes up with a a solution...


I am using ther following:

OSX 10.3.7
Xcode 1.5
Gcc 3.x

Thanks,
Ravi.

#1
02/15/2006 (8:23 pm)
Try getting the latest version of torque, which should be 1.4.0 .
#2
02/15/2006 (9:23 pm)
I got the problem fixed. thanks anyway