Game Development Community

Help with VS9 build symbol link error in Alpha

by Cory - (AU) · in Torque 3D Professional · 12/14/2009 (6:32 pm) · 2 replies

Hi Guys,

I have a build error in VS9 Pro when compiling the engine. Any ideas?

Usual VS9 Links added

C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Utilities\bin\x86
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Include
C:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Lib\x86

Error

1>------ Build started: Project: FFA_v1.1 DLL, Configuration: Release Win32 ------
1>Linking...
1>torque3d.def : error LNK2001: unresolved external symbol AbstractClassRep_FindClassRep
1>torque3d.def : error LNK2001: unresolved external symbol AbstractClassRep_GetCommonParent
1>torque3d.def : error LNK2001: unresolved external symbol AbstractClassRep_GetFieldStructSize
1>torque3d.def : error LNK2001: unresolved external symbol Con_AddCommand_String
1>torque3d.def : error LNK2001: unresolved external symbol Con_AddConsumer
1>torque3d.def : error LNK2001: unresolved external symbol Con_RemoveConsumer
1>torque3d.def : error LNK2001: unresolved external symbol ConsoleBaseType_GetData
1>torque3d.def : error LNK2001: unresolved external symbol ConsoleBaseType_GetInspectorFieldType
1>torque3d.def : error LNK2001: unresolved external symbol ConsoleBaseType_GetTypeById
1>torque3d.def : error LNK2001: unresolved external symbol ConsoleBaseType_GetTypeId
1>torque3d.def : error LNK2001: unresolved external symbol ConsoleBaseType_GetTypeName
1>torque3d.def : error LNK2001: unresolved external symbol ConsoleBaseType_GetTypeSize
1>torque3d.def : error LNK2001: unresolved external symbol ConsoleBaseType_SetData
1>torque3d.def : error LNK2001: unresolved external symbol SimObject_GetClassName
1>torque3d.def : error LNK2001: unresolved external symbol SimObject_GetDataField
1>torque3d.def : error LNK2001: unresolved external symbol SimObject_GetFieldList
1>torque3d.def : error LNK2001: unresolved external symbol SimObject_GetId
1>torque3d.def : error LNK2001: unresolved external symbol SimObject_GetName
1>torque3d.def : error LNK2001: unresolved external symbol SimObject_InspectPostApply
1>torque3d.def : error LNK2001: unresolved external symbol SimObject_InspectPreApply
1>torque3d.def : error LNK2001: unresolved external symbol SimObject_IsLocked
1>torque3d.def : error LNK2001: unresolved external symbol SimObject_SetDataField
1>torque3d.def : error LNK2001: unresolved external symbol SimSet_Begin
1>torque3d.def : error LNK2001: unresolved external symbol SimSet_End
1>torque3d.def : error LNK2001: unresolved external symbol Sim_FindObjectById
1>torque3d.def : error LNK2001: unresolved external symbol Sim_FindObjectByString
1>../../../game/FFA_v1.1.lib : fatal error LNK1120: 26 unresolved externals
1>Build log was saved at "file://c:\Torque\Torque 3D 2009 Pro 1.1 Alpha\My Projects\FFA_v1.1\buildFiles\Link\VC2k8.Release.Win32\FFA_v1.1 DLL\BuildLog.htm"
1>FFA_v1.1 DLL - 27 error(s), 0 warning(s)
2>------ Build started: Project: IE FFA_v1.1 Plugin, Configuration: Release Win32 ------
3>------ Build started: Project: NP FFA_v1.1 Plugin, Configuration: Release Win32 ------
2>Creating Type Library...
3>Linking...
3>LINK : fatal error LNK1181: cannot open input file '..\..\..\game\ffa_v1.1.lib'
3>Build log was saved at "file://c:\Torque\Torque 3D 2009 Pro 1.1 Alpha\My Projects\FFA_v1.1\buildFiles\Link\VC2k8.Release.Win32\NP FFA_v1.1 Plugin\BuildLog.htm"
3>NP FFA_v1.1 Plugin - 1 error(s), 0 warning(s)
2>Processing ..\..\..\web\source\activex\IEWebGamePlugin.idl
2>IEWebGamePlugin.idl
2>oaidl.idl
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\oaidl.idl
2>objidl.idl
2>unknwn.idl
2>wtypes.idl
2>basetsd.h
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\objidl.idl
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\unknwn.idl
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\wtypes.idl
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\basetsd.h
4>------ Build started: Project: FFA_v1.1, Configuration: Release Win32 ------
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\guiddef.h
4>Linking...
2>guiddef.h
4>LINK : fatal error LNK1181: cannot open input file '..\..\..\game\ffa_v1.1.lib'
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\ocidl.idl
4>Build log was saved at "file://c:\Torque\Torque 3D 2009 Pro 1.1 Alpha\My Projects\FFA_v1.1\buildFiles\Link\VC2k8.Release.Win32\FFA_v1.1\BuildLog.htm"
4>FFA_v1.1 - 1 error(s), 0 warning(s)
2>ocidl.idl
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\oleidl.idl
2>oleidl.idl
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\servprov.idl
2>servprov.idl
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\urlmon.idl
2>urlmon.idl
2>Processing C:\Program Files\Microsoft SDKs\Windows\v6.0A\\include\msxml.idl
2>msxml.idl
2>..\..\..\web\source\activex\IEWebGamePlugin.idl(34) : error MIDL2025 : syntax error : expecting { near "."
2>..\..\..\web\source\activex\IEWebGamePlugin.idl(47) : warning MIDL2214 : semantic check incomplete due to previous errors
2>Build log was saved at "file://c:\Torque\Torque 3D 2009 Pro 1.1 Alpha\My Projects\FFA_v1.1\buildFiles\Link\VC2k8.Release.Win32\IE FFA_v1.1 Plugin\BuildLog.htm"
2>IE FFA_v1.1 Plugin - 1 error(s), 1 warning(s)
========== Build: 0 succeeded, 4 failed, 13 up-to-date, 0 skipped ==========

#1
12/14/2009 (8:47 pm)
Well, I can not figure out what the problem is with this information only.

DLL project is compiling with errors that I am almost sure of it.

You're only showing the project's linker's error, post all your projects compilation error's, or send me all your Buildlog's project's.

Perhaps includes and libs directorys not configured properly in your project, check PhysX demo project for all C / C + + includes directorys, and Linker-Aditional Library Directories, and Input-Aditional Dependencies-Libs.

Incorrect projects build order check Demo Build project for correct order, and add: LIBCMT in DLL project Linker-Input-Ignore Specific Library-(LIBC,LIBCD,LIBCMT.

TIP: Clean all your project's and rebuild all project's in correct order.
#2
12/17/2009 (3:49 am)
Thanks you helped me get to the bottom of the issue which was the project(my game)build to many version through the different betas.

Cleaned game and rebuilt everything, Cheers!