LINK : fatal error LNK1181: cannot open input file 'x3daudio.lib'
by Nicolai Dutka · in Torque Game Engine Advanced · 04/07/2009 (5:24 pm) · 9 replies
Just finished applying a MiniMap resource and am getting a build error:
LINK : fatal error LNK1181: cannot open input file 'x3daudio.lib'
I checked my Linker settings and the file is in the list... if I take it out, it just goes to dxerr9.lib and gives the same error for that file...
LINK : fatal error LNK1181: cannot open input file 'x3daudio.lib'
I checked my Linker settings and the file is in the list... if I take it out, it just goes to dxerr9.lib and gives the same error for that file...
#2
04/07/2009 (7:10 pm)
OMG.. forgot that I had installed a newer version of TGEA and never configured it with the SDK include and lib folders....
#3
Any ideas?
04/07/2009 (7:19 pm)
Ok, after adding those in, I now get these errors:Linking... guiMiniMap.obj : error LNK2019: unresolved external symbol "public: __thiscall AtlasRequestHeader::~AtlasRequestHeader(void)" (??1AtlasRequestHeader@@QAE@XZ) referenced in function "public: __thiscall AtlasResourceStub::~AtlasResourceStub(void)" (??1?$AtlasResourceStub@VAtlasGeomChunk@@@@QAE@XZ) guiMiniMap.obj : error LNK2001: unresolved external symbol "public: static class Point3F AtlasInstance::startCoords" (?startCoords@AtlasInstance@@2VPoint3F@@A) ../../../game/TechnoWizard.exe : fatal error LNK1120: 2 unresolved externals
Any ideas?
#5
04/08/2009 (2:15 am)
Have you installed the lastest DirectX SDK?
#6
04/08/2009 (5:17 am)
If all else fails do a search for the driver on the web and add it to your game's executable directory. I had to do this because a couple of my team's machines had problems with it. game4Rest is right though, just installing the latest DirectX SDK and installing the latest DirectX drivers will fix this in most cases.
#7
I did get a successful build... The problem was that I had recently upgraded from TGEA 1.8.0 to 1.8.1 and forgot to add the lib and include folders from the DirectX SDK. Now that they are back in, the build is working, but using vanilla install. Next step is to make a backup of my engine source and start trying to add in the resources I need such as the one in my 2nd post...
04/08/2009 (8:41 am)
Idk why one of my posts wasn't showing up...I did get a successful build... The problem was that I had recently upgraded from TGEA 1.8.0 to 1.8.1 and forgot to add the lib and include folders from the DirectX SDK. Now that they are back in, the build is working, but using vanilla install. Next step is to make a backup of my engine source and start trying to add in the resources I need such as the one in my 2nd post...
#8
11/21/2009 (3:23 pm)
so. if a final user does not have last directX installed he will get this error ?
#9
Basically, until this error is rectified you can't build anything to ship to an end user - so the end user won't see this error.
01/06/2011 (12:18 am)
The end user will not see this error - this error indicates that the linker can't find a library file that you need to statically link with your project. If the end user doesn't have DirectX installed he should get an entirely different error - along the lines of "Hey, doofus, you don't have DirectX installed...."Basically, until this error is rectified you can't build anything to ship to an end user - so the end user won't see this error.
Torque 3D Owner Nicolai Dutka
www.garagegames.com/community/resources/view/16799/1#comment_form