Game Development Community

Building Torque3D 1.2 - everything sorted and still not working?

by Sean Brady · in Torque 3D Professional · 08/11/2012 (7:04 am) · 12 replies

Hello, I am currently trying to build the Torque3D 1.2 source, I have all the necessary installs. Currently using Visual C++ 2008 Express. I still get the 14 build and 3 failed message that many others have gotten. Anyone have idea what is causing this? All libraries and sdk's are linked and up to date.

I have no idea what is going on.

#1
08/11/2012 (9:40 am)
What three failed messages?

#2
08/11/2012 (11:10 am)
Actually it says that three modules failed to build due to...

c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : see declaration of '_interlockedbittestandreset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2645) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2642) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2651) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2648) : see declaration of '_interlockedbittestandreset'
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : see declaration of '_interlockedbittestandreset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2645) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2642) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2651) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2648) : see declaration of '_interlockedbittestandreset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2645) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2642) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2651) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2648) : see declaration of '_interlockedbittestandreset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2645) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2642) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2651) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
#3
08/11/2012 (11:11 am)
and...

c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2648) : see declaration of '_interlockedbittestandreset'
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : see declaration of '_interlockedbittestandreset'
d:\torque\torque 3d 1.2\engine\source\platformwin32\threads\mutex.cpp(31) : error C3861: 'TryEnterCriticalSection': identifier not found
d:\torque\torque 3d 1.2\engine\source\platformwin32\threads\mutex.cpp(45) : error C3861: 'TryEnterCriticalSection': identifier not found
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : see declaration of '_interlockedbittestandreset'
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : see declaration of '_interlockedbittestandreset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2645) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2642) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2651) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2648) : see declaration of '_interlockedbittestandreset'
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1040) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft visual studio 9.0\vc\include\intrin.h(1041) : see declaration of '_interlockedbittestandreset'
#4
08/11/2012 (11:12 am)
last bit.

c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2645) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2642) : see declaration of '_interlockedbittestandset'
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2651) : error C2733: second C linkage of overloaded function '_interlockedbittestandreset' not allowed
c:\program files\microsoft platform sdk for windows server 2003 r2\include\winnt.h(2648) : see declaration of '_interlockedbittestandreset'
LINK : fatal error LNK1104: cannot open file '..\..\..\game\full_debug.lib'
#5
08/11/2012 (1:22 pm)
Did you have VC++ 2008 to compile drivers or something else? Or is this a brand new install of VC++ 2008? I am wondering if there are global compiler settings that should not be set.
#6
08/11/2012 (10:34 pm)
Pretty sure you installed the wrong platform sdk. What's your OS?
#7
08/12/2012 (4:43 am)
@Frank,

No I have been compiling with VC++ 2008 Express for a long time. I have checked the settings and they are solid.


@Scott,

Windows XP Service Pack 3

"Microsoft Platform SDK for Windows Server 2003 R2" is the current version.
#8
08/13/2012 (3:28 am)
That platform SDK is ancient. Try this one.
#9
08/13/2012 (12:43 pm)
Will do. Cheers Guy. Will tell you of progress.
#10
08/14/2012 (6:43 am)
BOOM! Guy you are a diamond in the rough. 14 up to date and 3 build. Nice one! Now to dive in to C++.
#11
08/14/2012 (8:04 am)
Yeah, those 2003 server messages looked wrong. I actually have a couple of SDKs installed and I have to do project level compile settings or the SDKs get all hosed up. I had to compile some drivers and you need a different SDK for that and different project level library and compile settings.

Good job getting it all going!

#12
08/14/2012 (8:37 am)
Cheers Frank Carney. Software never changes. I remember my programming professor saying to me that the programming and development is the easy bit as they are pretty much the same after going through several sdks and frameworks but the setup and linking are the nightmare that never gets easier or more pleasant. Don't talk to me about setting up DirectX with Visual Studio. Hrghghghhhhh!!!!