Tutorial: How to compile the new version of Torque3D v3.9

There are no stupid questions, just stupid answers.
  • 1
  • 2
13 posts Page 2 of 2
whyasky
Posts: 4
Joined: Wed Aug 26, 2015 4:26 am
by whyasky » Tue Nov 15, 2016 5:49 am
So, maybe its a silly question ... but does this imply we cannot build it using VS 2010 anymore?

I got a few errors relating to openal includes and added these to the Full DLL C++ Includes;
../../../../../Engine/lib/openal-soft/include
../../../../../Engine/lib/openal-soft/include/AL

and now it compiles but fails on the linkage...
1>ClCompile:
1> All outputs are up-to-date.
1>../../Link/VC2010.Debug.Win32/Full DLL/fileDialog.obj : warning LNK4042: object specified more than once; extras ignored
1> Creating library ../../../game/Full_DEBUG DLL.lib and object ../../../game/Full_DEBUG DLL.exp
1>entity.obj : error LNK2019: unresolved external symbol "public: void __thiscall Component::setOwner(class Entity *)" (?setOwner@Component@@QAEXPAVEntity@@@Z) referenced in function "public: bool __thiscall Entity::addComponent(class Component *)" (?addComponent@Entity@@QAE_NPAVComponent@@@Z)
1>../../../game/Full_DEBUG DLL.dll : fatal error LNK1120: 1 unresolved externals
1>
1>Build FAILED.
Johxz
Posts: 390
Joined: Sat Feb 07, 2015 11:37 pm
by Johxz » Tue Nov 15, 2016 12:42 pm
If your are using Torque3D v3.9 or development branch you need to use Visual Studio 2015 and CMake (supported version v2.8.12 until v3.6.2)

Max supported version for Visual Studio 2010 is Torque3D v3.8. Download here
Timmy
Posts: 237
Joined: Thu Feb 05, 2015 3:20 am
by Timmy » Wed Nov 16, 2016 12:46 am
Yes only Visual Studio 2013/15 are supported now. Just head over and grad the free community edition here and latest cmake(3.7) here. Talking of CMake, i have nearly finished fixing up the old project manager to handle the cmake build system so should make it easier for everyone as you don't have to deal directly with cmake.
  • 1
  • 2
13 posts Page 2 of 2

Who is online

Users browsing this forum: No registered users and 1 guest