Game Development Community

t3d 1.1 compil errors

by Cedrik zamo · in Torque 3D Professional · 12/02/2011 (4:24 pm) · 11 replies

Hi,

I get those errors when compiling with vc++ 2005 on win 7 64 :


Error 22 error C3861: 'TryEnterCriticalSection': identifier not found c:program files (x86)torque-3d-pro-1.1enginesourceplatformwin32threadsmutex.cpp 31
Error 23 error C3861: 'TryEnterCriticalSection': identifier not found c:program files (x86)torque-3d-pro-1.1enginesourceplatformwin32threadsmutex.cpp 45
Error 29 fatal error LNK1104: cannot open file '......gameabyssmetalhurlant_debug.lib' AbyssMetalHurlant
Error 30 fatal error LNK1104: cannot open file '......gameabyssmetalhurlant_debug.lib' NP AbyssMetalHurlant Plugin
Error 31 fatal error LNK1104: cannot open file '......gameabyssmetalhurlant_debug.lib' IE AbyssMetalHurlant Plugin

#1
12/03/2011 (5:14 am)
Try installing T3D in the default directory (C:/Torque) instead of your Program Files(x86) directory. There are probably permission problems writing the obj files for the linker.
#2
12/10/2011 (7:43 pm)
It don't change anything.
Running visual studio with admin rights don't solve.

According to MS doc it's a problem with #define _WIN32_WINNT 0x0400
#3
12/11/2011 (12:34 pm)
The problem here is using VS 2005 on Win7. VS 2005 has compatibility issues on Win 7 that can make it near impossible to compile if you run into them. Microsoft lists this as a known issue. I highly recommend upgrading to VS 2010 as Microsoft no longer supports 2005 and we have deprecated 2005 support as well.

There are VS 2010 solutions for projects in T3D 1.1, you just have to navigate to them through the project directory as the toolbox wasn't updated to include 2010.
#4
12/11/2011 (1:48 pm)
Thanks for the info, Scott. While I use VS2010, I wasn't aware of that issue with VS2005.
#5
12/11/2011 (2:37 pm)
Ok, 1500 euro software...
#6
12/11/2011 (11:10 pm)
I get the same result with vc++ 2005 on windows xp 32bit
#7
12/12/2011 (8:03 am)
You can get an 'evaluation' version of VS2010 for free. Also, VS2008 seems to work fine under Windows 7 for me.
#8
12/12/2011 (2:03 pm)
There's no need to go pirate VS 2010 when you can download the Express version. Completely free and legit and can be used for commercial use.
#9
12/12/2011 (3:57 pm)
here's the link for VS2010 C++ express edition

www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express

as Scott said, its free, enjoy!

and for the XP error, are you running it in XP Mode on windows 7 or on another computer with XP?
#10
12/13/2011 (1:33 am)
I use 2 hard drives with dual boot, one for XP and the other for W7.
Express do not compile beacause of ATL :


error C1083: Impossible d'ouvrir le fichier include : 'atlbase.h' :
No such file or directory c:torquemy projectsabyssmetalhurlantwebsourceactivexstdafx.h 24

IntelliSense : impossible d'ouvrir le fichier source "atlbase.h"
c:torquemy projectsabyssmetalhurlantwebsourceactivexstdafx.h 24

IntelliSense : impossible d'ouvrir le fichier source "atlcom.h"
c:torquemy projectsabyssmetalhurlantwebsourceactivexstdafx.h 25

IntelliSense : impossible d'ouvrir le fichier source "atlctl.h"
c:torquemy projectsabyssmetalhurlantwebsourceactivexstdafx.h 26

IntelliSense : le nom doit etre un nom d'espace de noms
c:torquemy projectsabyssmetalhurlantwebsourceactivexstdafx.h 28

Hmmm, is it for IE plugin ? If I remember correctly I must exclude IE projetct, right ?
#11
12/13/2011 (2:36 am)
It compile fine, thanks.