Game Development Community

[BUG] 1.0 unable to compile engine without editors out of the box

by Thomas Huehn · in Torque 3D Professional · 09/29/2009 (1:53 pm) · 2 replies

License 3.h says it's not allowed to distribute Torque 3D editors in any manner.
So I excluded the editors in gui/worldeditor and environment/editors.
It ends up with "32 unresolved externals".

To not break the license there should be a configuration like "Distribution Release" without any editor.

#1
09/30/2009 (12:29 am)
Actually, if you use the Package Project from the Torque Toolbox it will exclude most of that, so the editors won't work even with a debug build.

You should define TORQUE_SHIPPING, TORQUE_PLAYER, and TORQUE_RELEASE, I think for a final release build. These may already be defined in the Release configuration, I'm not sure.

But use the Package Project as Zip file to get your directory structure without the tools.
#2
09/30/2009 (4:56 am)
Thanks Brett, TORQUE_PLAYER did it. Was not defined in Release configuration but should to match the license.