Game Development Community

Build Error OSX lion with 1.7.6:

by Steven Durham · in Torque Game Builder · 07/21/2012 (9:13 am) · 1 replies

I don't see a forum that says "Torque2D" or "Torque2DPro" -- I think this might be the right forum, please correct me if I guessed wrong.

I'm trying to build TGB (right out of the box) and get some compile errors:

In t2dStaticSprite.h:
"Semantic Issue"
"Taking the address of a temporary object of type 'RectI'"

Line 306 in t2dStaticSprite.h:
staticSprite->setSourceRect(&getSourceRect());

I assume I've got some compile flags different from everyone else, as I don't see anybody complaining about this problem.


I've got the latest of everything (Xcode, lion, etc) on a mac pro.

#1
07/21/2012 (9:23 am)
Ok, I switched to GCC LLVM instead and got past that.