Torque 2D-Spine branch won't compile
by Amjad Yahya · in Torque 2D Beginner · 09/23/2013 (12:26 am) · 4 replies
I've failed to compile the engine <spine branch> because of this error: could not find spine-torque2d.h.
I'm compiling using Visual Studio 2010 pro.
I'm compiling using Visual Studio 2010 pro.
About the author
#2
09/23/2013 (9:09 am)
Did that, but I still get errors:4>..\..\source\spine\spine-torque2d.cc(41): error C2065: 'Texture' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(41): error C2065: 'texture' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(41): error C2061: syntax error : identifier 'Texture' 4>..\..\source\spine\spine-torque2d.cc(42): error C2065: 'texture' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(42): error C2227: left of '->loadFromFile' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(43): error C2039: 'texture' : is not a member of 'spine::AtlasPage' 4> C:\Documents and Settings\Amjad Yahya\Desktop\Torque2D-spine\engine\Source\spine/Atlas.h(53) : see declaration of 'spine::AtlasPage' 4>..\..\source\spine\spine-torque2d.cc(44): error C2065: 'Vector2u' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(44): error C2146: syntax error : missing ';' before identifier 'size' 4>..\..\source\spine\spine-torque2d.cc(44): error C2065: 'size' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(44): error C2227: left of '->getSize' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(45): error C2065: 'size' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(45): error C2228: left of '.x' must have class/struct/union 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(46): error C2065: 'size' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(46): error C2228: left of '.x' must have class/struct/union 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(50): error C2065: 'Texture' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(50): error C2059: syntax error : ')' 4>..\..\source\spine\spine-torque2d.cc(60): error C2065: 'Torque2DAtlasPage' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(60): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(60): error C2065: 'Torque2DAtlasPage' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(60): error C2059: syntax error : ')' 4>..\..\source\spine\spine-torque2d.cc(61): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(61): error C2227: left of '->super' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(61): error C3861: '_AtlasPage_deinit': identifier not found 4>..\..\source\spine\spine-torque2d.cc(65): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(69): error C2065: 'Torque2DAtlasPage' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(69): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(69): error C2065: 'Torque2DAtlasPage' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(69): error C2059: syntax error : ')'
#3
09/23/2013 (9:11 am)
...continued4>..\..\source\spine\spine-torque2d.cc(70): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(70): error C2227: left of '->super' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(70): error C3861: '_AtlasPage_init': identifier not found 4>..\..\source\spine\spine-torque2d.cc(74): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(74): error C2227: left of '->super' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(80): error C2065: 'Torque2DSkeleton' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(80): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(80): error C2065: 'Torque2DSkeleton' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(80): error C2059: syntax error : ')' 4>..\..\source\spine\spine-torque2d.cc(81): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(81): error C2227: left of '->super' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(81): error C3861: '_Skeleton_deinit': identifier not found 4>..\..\source\spine\spine-torque2d.cc(85): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(89): error C2065: 'Torque2DSkeleton' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(89): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(89): error C2065: 'Torque2DSkeleton' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(89): error C2059: syntax error : ')' 4>..\..\source\spine\spine-torque2d.cc(90): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(90): error C2227: left of '->super' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(90): error C3861: '_Skeleton_init': identifier not found 4>..\..\source\spine\spine-torque2d.cc(92): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(92): error C2227: left of '->skeletonObject' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(94): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(94): error C2227: left of '->super' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(100): error C2065: 'Torque2DRegionAttachment' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(100): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(100): error C2065: 'Torque2DRegionAttachment' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(100): error C2059: syntax error : ')' 4>..\..\source\spine\spine-torque2d.cc(101): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(101): error C2227: left of '->super' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(101): error C3861: '_RegionAttachment_deinit': identifier not found 4>..\..\source\spine\spine-torque2d.cc(105): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(114): error C2065: 'Torque2DRegionAttachment' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(114): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(114): error C2065: 'Torque2DRegionAttachment' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(114): error C2059: syntax error : ')' 4>..\..\source\spine\spine-torque2d.cc(115): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(115): error C2227: left of '->super' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(115): error C3861: '_RegionAttachment_init': identifier not found 4>..\..\source\spine\spine-torque2d.cc(119): error C2065: 'self' : undeclared identifier 4>..\..\source\spine\spine-torque2d.cc(119): error C2227: left of '->super' must point to class/struct/union/generic type 4> type is ''unknown-type'' 4>..\..\source\spine\spine-torque2d.cc(124): error C2084: function 'char *spine::_Util_readFile(const char *,int *)' already has a body 4> C:\Documents and Settings\Amjad Yahya\Desktop\Torque2D-spine\engine\Source\spine/extension.h(102) : see previous definition of '_Util_readFile'
#4
09/23/2013 (10:38 am)
The VS 2010 project has not been updated in a while, as the goal was to get the main features in before updating all solutions/projects. The VS 2012 solution does compile. If you can open that, compare the project structure and included files.
Torque Owner Richard Ranft
Roostertail Games