Unable to build Torque with VS 2010 [Solved]
by Kamoku Onnanoko · in Torque 3D Beginner · 08/03/2014 (6:41 pm) · 5 replies
Hi. I get 33 warnings & 2 errors when trying to build Torque 3D 3.5.1. Some are like <i>"warning C4996: 'read': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name _read. See online help for details."</i> in the zlib project. And errors like <i>"error LNK1123: failure during conversion to COFF: file invalid or corrupt".</i>
Sorry, I'm a bit new to this & any help would be appreciated. Thanks in advance.
Sorry, I'm a bit new to this & any help would be appreciated. Thanks in advance.
#2
08/03/2014 (8:11 pm)
Hi. No, I put T3D in Downloads. I'm a bit new to VS, is there a way to build past those errors then?
#3
08/04/2014 (12:20 am)
Yeah if you could post just the errors (those C4996 warnings you can ignore in this case) from the visual studio output that would help. Are you running the latest service pack for vis studio 2010? Sometimes these can cause strange errors and reinstalling the service packs can fix it.
#4
Ron
08/04/2014 (10:28 am)
Had this SAME error with VS 2010 and 2012. It has to do with your install of Visual Studio NOT T3D. If you do a search for this: 'COFF: file invalid or corrupt' you will find more than one way to fix it. I believe it has to do with a Service Pack that is needed as well as incremental linking. I know I got it to finally work out but, it is VS not T3D. Ron
#5
08/04/2014 (7:53 pm)
Thanks so much guys! :) That was the problem. Silly me, I didn't realize there was a service pack for VS.
Torque Owner Richard Ranft
Roostertail Games
The warnings should be no big deal - many of the libraries use deprecated C functions for cross-platform compatibility.