Duion Posted June 3, 2020 Share Posted June 3, 2020 Is there any new tutorial how to compile the new engine version Torque3D version 4.0? I managed to compile any version so far, but now it does not work anymore. I followed this tutorial, but it does not work: http://wiki.torque3d.org/coder:compiling-in-windowsMy latest error is:Severity Code Description Project File Line Suppression StateError C2675 unary '--': 'NetClassGroups' does not define this operator or a conversion to a type acceptable to the predefined operator (compiling source file D:\UebergameProject\Torque3D-1\Engine\source\gfx\gl\gfxGLTextureTarget.cpp) Uebergame D:\Programme\Microsoft Visual Studio 14.0\VC\include\xutility 2797 This error happens 913 times, every time inside xutility line 2797.Do I need a new compiler, Visual Studio, Cmake Gui etc? Quote Link to comment Share on other sites More sharing options...
Bloodknight Posted June 4, 2020 Share Posted June 4, 2020 There were some issues with certain CMake versions and certain torque versions, new CMake not liking older torque, and the inverse at times.Assuming you are running the preview4.0 branch thenCMake 3.17.0 works, VS 2019 and 2017 also work.VS 2015 may well no longer support parts of C++ 11 that the engine uses, might need another dev to step in here, but those seem like very weird errors, and usually, if you get a lot then there's usually a fundamental issue of understanding between one part or another.Quick google tells me this may be an enum related thing, which might help the versioning guys add better detail. Quote Link to comment Share on other sites More sharing options...
Duion Posted June 4, 2020 Author Share Posted June 4, 2020 My Cmake is up to date ( 3.17.3 ), Visual Studio however no longer works after I upgraded to 2019, older versions are no longer available officially.I tried to compile with LLVM and Ninja, but it fails at others issues in Cmake.Is there any other way to compile or do I really have to bother with Visual Studio? I like how to compile on Linux, I just enter "ninja" into command line and everything just works, why can't it work like that on Windows as well?Maybe compile on Linux but for Windows, but I never tried that. Quote Link to comment Share on other sites More sharing options...
Azaezel Posted June 4, 2020 Share Posted June 4, 2020 Visual Studio however no longer works after I upgraded to 2019, older versions are no longer available officially. Clarify that bit? Quote Link to comment Share on other sites More sharing options...
Duion Posted June 4, 2020 Author Share Posted June 4, 2020 I meant the program "Visual Studio" does no longer run on my computer for some weird reason, it crashes with an "unknown error" have to figure that out first, or compile on another machine. Quote Link to comment Share on other sites More sharing options...
Duion Posted June 4, 2020 Author Share Posted June 4, 2020 I did that like 5 times now, I also downloaded a tool that uninstalled all my old Visual Studios, all versions and libs from 2011 to 2016 and even without anything left from Visual Studio a reinstall of 2019 still crashed. I also checked my Drive for errors, which none were found. Quote Link to comment Share on other sites More sharing options...
trident Posted June 4, 2020 Share Posted June 4, 2020 i know you you not like this when i killed my vs and it would not start the only fix was a clean install of windows then put back everything you needsorry i can not help any more then this Quote Link to comment Share on other sites More sharing options...
Bloodknight Posted June 5, 2020 Share Posted June 5, 2020 This seems like it might be a job for MS forums.If the tool you used was this https://github.com/Microsoft/VisualStudioUninstaller then I'm close to the end of my knowledge of VS install/uninstall errors apart from asking about windows versions? are you still on win 7 or did you get win 10? might be an issue in there if still on win 7. Quote Link to comment Share on other sites More sharing options...
Duion Posted June 5, 2020 Author Share Posted June 5, 2020 Yes, this is what I used and I'm on Win 7 and VS 2019 should work with it, since the support only ran out in 2020. Long Term I will probably have to compile in a Win10 virtual machine anyway, this is already what I do for Linux, since I don't want to personally use the "popular" distribution I compile on.I will report when I tried with another machine with Win10. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.