安装后出现 3ds Max SDK 链接器错误

3ds Max SDK linker errors after installing

提问人:David G 提问时间:11/17/2023 更新时间:11/17/2023 访问量:18

问:

我下载了 3ds Max SDK 并使用 Visual Studio 2019 打开了解决方案。我将文件夹添加到库目录并将文件添加到包含目录,但我仍然收到未解决的外部符号错误和未找到文件的错误。 完整的生成输出如下。maxsdk/samples/samples.slnmaxsdk/libmaxsdk/include

该项目有多种解决方案。我无法使用基本解决方案添加包含路径和库路径,因为“属性”窗口显示了这一点

enter image description here

而不是通常的:

enter image description here

无论如何,当我尝试更改其中一个解决方案的属性以添加包含和库路径时,我认为它不会为项目中的每个解决方案更新它们。当我手动将它们全部添加到每个符号中时,我似乎仍然会遇到未解决的外部符号错误。

一些单独的解决方案能够自行成功构建。但是构建基本解决方案总是失败的。

当单独使用 sdk 而不使用其他任何内容时,就会发生这些错误。我尝试重新安装 Visual Studio 或使用旧版本,但似乎没有帮助。

下面是生成输出。这只是链接器错误数量的一小部分:

Build started...
1>------ Build started: Project: NotificationSystem, Configuration: Debug x64 ------
2>------ Build started: Project: PolyPaint, Configuration: Debug x64 ------
3>------ Build started: Project: morpher (Modifiers\Morpher\morpher), Configuration: Debug x64 ------
4>------ Build started: Project: viewfile (Viewfile\viewfile), Configuration: Debug x64 ------
5>------ Build started: Project: ctrl, Configuration: Debug x64 ------
6>------ Build started: Project: auctrl, Configuration: Debug x64 ------
7>------ Build started: Project: block, Configuration: Debug x64 ------
8>------ Build started: Project: boolcntrl, Configuration: Debug x64 ------
9>------ Build started: Project: reactor, Configuration: Debug x64 ------
10>------ Build started: Project: jiggle, Configuration: Debug x64 ------
11>------ Build started: Project: wavectrl, Configuration: Debug x64 ------
12>------ Build started: Project: comsrvgup, Configuration: Debug x64 ------
2>LINK : fatal error LNK1104: cannot open file 'mnmath.lib'
1>LINK : fatal error LNK1104: cannot open file 'geom.lib'
2>Done building project "PolyPaint.vcxproj" -- FAILED.
1>Done building project "NotificationSystem.vcxproj" -- FAILED.
13>------ Build started: Project: maxclient, Configuration: Debug x64 ------
14>------ Build started: Project: RenderingAPI, Configuration: Debug x64 ------
3>wm3_channel.cpp
3>wm3_core.cpp
4>LINK : fatal error LNK1104: cannot open file 'bmm.lib'
4>Done building project "viewfile.vcxproj" -- FAILED.
15>------ Build started: Project: GeometryChecker, Configuration: Debug x64 ------
5>QtMsBuild: could not locate qt.targets, qt.props; project may not build correctly.
8>LINK : fatal error LNK1104: cannot open file 'core.lib'
8>Done building project "boolcntrl.vcxproj" -- FAILED.
16>------ Build started: Project: plugman, Configuration: Debug x64 ------
6>   Creating library C:\Users\employee\Desktop\maxsdk\\obj\x64\Debug\auctrl\\auctrl.lib and object C:\Users\employee\Desktop\maxsdk\\obj\x64\Debug\auctrl\\auctrl.exp
7>LINK : fatal error LNK1104: cannot open file 'core.lib'
7>Done building project "blockcontrol.vcxproj" -- FAILED.
17>------ Build started: Project: SaveVerification, Configuration: Debug x64 ------
11>LINK : fatal error LNK1104: cannot open file 'geom.lib'
6>aupos.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z) referenced in function "public: virtual void * __cdecl Tab<class FPInterface *>::`scalar deleting destructor'(unsigned int)" (??_G?$Tab@PEAVFPInterface@@@@UEAAPEAXI@Z)
12>LINK : fatal error LNK1104: cannot open file 'bmm.lib'
12>Done building project "comsrvgup.vcxproj" -- FAILED.
10>   Creating library C:\Users\employee\Desktop\maxsdk\lib\x64\Debug\\spring.lib and object C:\Users\employee\Desktop\maxsdk\lib\x64\Debug\\spring.exp
6>aurot.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
6>auscale.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
6>auctrl.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
6>aufloat.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
6>aup3dlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
6>aupoint3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
18>------ Build started: Project: CubeMap, Configuration: Debug x64 ------
11>Done building project "wavectrl.vcxproj" -- FAILED.
19>------ Build started: Project: hsutil, Configuration: Debug x64 ------
6>aupoint3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
6>aupos.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
6>aurot.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
6>auscale.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
6>auctrl.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
6>aufloat.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
9>   Creating library C:\Users\employee\Desktop\maxsdk\\obj\x64\Debug\reactor\\reactor.lib and object C:\Users\employee\Desktop\maxsdk\\obj\x64\Debug\reactor\\reactor.exp
6>aup3base.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
6>aup3dlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
6>auctrl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl WStr::WStr(void)" (__imp_??0WStr@@QEAA@XZ) referenced in function "public: int __cdecl AudioBaseControl::FixupFilename(class WStr &,wchar_t const *)" (?FixupFilename@AudioBaseControl@@QEAAHAEAVWStr@@PEB_W@Z)
6>auctrl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl WStr::WStr(wchar_t const *)" (__imp_??0WStr@@QEAA@PEB_W@Z) referenced in function "public: int __cdecl AudioBaseControl::FixupFilename(class WStr &,wchar_t const *)" (?FixupFilename@AudioBaseControl@@QEAAHAEAVWStr@@PEB_W@Z)
6>aufloat.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl WStr::WStr(wchar_t const *)" (__imp_??0WStr@@QEAA@PEB_W@Z)
6>aup3dlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl WStr::WStr(wchar_t const *)" (__imp_??0WStr@@QEAA@PEB_W@Z)
10>PickModes.obj : error LNK2001: unresolved external symbol "public: virtual class BaseInterface * __cdecl InterfaceServer::GetInterface(class Interface_ID)" (?GetInterface@InterfaceServer@@UEAAPEAVBaseInterface@@VInterface_ID@@@Z)
10>SpringSys.obj : error LNK2001: unresolved external symbol "public: virtual class BaseInterface * __cdecl InterfaceServer::GetInterface(class Interface_ID)" (?GetInterface@InterfaceServer@@UEAAPEAVBaseInterface@@VInterface_ID@@@Z)
10>DlgProcs.obj : error LNK2001: unresolved external symbol "public: virtual class BaseInterface * __cdecl InterfaceServer::GetInterface(class Interface_ID)" (?GetInterface@InterfaceServer@@UEAAPEAVBaseInterface@@VInterface_ID@@@Z)
10>DllEntry.obj : error LNK2001: unresolved external symbol "public: virtual class BaseInterface * __cdecl InterfaceServer::GetInterface(class Interface_ID)" (?GetInterface@InterfaceServer@@UEAAPEAVBaseInterface@@VInterface_ID@@@Z)
5>layerctrl.cpp
16>LINK : fatal error LNK1104: cannot open file 'maxutil.lib'
16>Done building project "plugman.vcxproj" -- FAILED.
14>LINK : fatal error LNK1104: cannot open file 'maxscrpt.lib'
14>Done building project "RenderingAPI.vcxproj" -- FAILED.
20>------ Build started: Project: LightMap, Configuration: Debug x64 ------
13>LINK : fatal error LNK1104: cannot open file 'comsrv.lib'
13>Done building project "maxclient.vcxproj" -- FAILED.
21>------ Build started: Project: mb_select, Configuration: Debug x64 ------
22>------ Build started: Project: Membrane, Configuration: Debug x64 ------
5>listctrl.cpp
10>jiggle.obj : error LNK2001: unresolved external symbol "public: virtual class BaseInterface * __cdecl InterfaceServer::GetInterface(class Interface_ID)" (?GetInterface@InterfaceServer@@UEAAPEAVBaseInterface@@VInterface_ID@@@Z)
10>jiggleFunctions.obj : error LNK2001: unresolved external symbol "public: virtual class BaseInterface * __cdecl InterfaceServer::GetInterface(class Interface_ID)" (?GetInterface@InterfaceServer@@UEAAPEAVBaseInterface@@VInterface_ID@@@Z)
10>PickModes.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
10>SpringSys.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
10>DlgProcs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
10>DllEntry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
10>jiggle.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
10>jiggleFunctions.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void * __cdecl MaxHeapOperators::operator new(unsigned __int64)" (__imp_??2MaxHeapOperators@@SAPEAX_K@Z)
10>NodeSearchEnumProc.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
10>PickModes.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
10>SpringSys.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
10>SubAnimEnumProc.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
10>DlgProcs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
10>DllEntry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
10>jiggle.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
10>jiggleFunctions.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl MaxHeapOperators::operator delete(void *)" (__imp_??3MaxHeapOperators@@SAXPEAX@Z)
10>PickModes.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl assert1(int,wchar_t const *,wchar_t const *,wchar_t const *)" (__imp_?assert1@@YAHHPEB_W00@Z)
10>SpringSys.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl assert1(int,wchar_t const *,wchar_t const *,wchar_t const *)" (__imp_?assert1@@YAHHPEB_W00@Z)
10>DlgProcs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl assert1(int,wchar_t const *,wchar_t const *,wchar_t const *)" (__imp_?assert1@@YAHHPEB_W00@Z)
10>DllEntry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl assert1(int,wchar_t const *,wchar_t const *,wchar_t const *)" (__imp_?assert1@@YAHHPEB_W00@Z)
10>jiggle.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl assert1(int,wchar_t const *,wchar_t const *,wchar_t const *)" (__imp_?assert1@@YAHHPEB_W00@Z)
10>jiggleFunctions.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl assert1(int,wchar_t const *,wchar_t const *,wchar_t const *)" (__imp_?assert1@@YAHHPEB_W00@Z)
10>PickModes.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(wchar_t const *)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@PEB_W@Z)
10>SpringSys.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(wchar_t const *)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@PEB_W@Z)
10>DlgProcs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(wchar_t const *)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@PEB_W@Z)
10>DllEntry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(wchar_t const *)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@PEB_W@Z)
10>jiggle.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(wchar_t const *)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@PEB_W@Z)
10>jiggleFunctions.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(wchar_t const *)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@PEB_W@Z)
10>PickModes.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl MaxSDK::Util::OutOfRangeException::~OutOfRangeException(void)" (__imp_??1OutOfRangeException@Util@MaxSDK@@UEAA@XZ)
10>SpringSys.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl MaxSDK::Util::OutOfRangeException::~OutOfRangeException(void)" (__imp_??1OutOfRangeException@Util@MaxSDK@@UEAA@XZ)
10>DlgProcs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl MaxSDK::Util::OutOfRangeException::~OutOfRangeException(void)" (__imp_??1OutOfRangeException@Util@MaxSDK@@UEAA@XZ)
10>DllEntry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl MaxSDK::Util::OutOfRangeException::~OutOfRangeException(void)" (__imp_??1OutOfRangeException@Util@MaxSDK@@UEAA@XZ)
10>jiggle.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl MaxSDK::Util::OutOfRangeException::~OutOfRangeException(void)" (__imp_??1OutOfRangeException@Util@MaxSDK@@UEAA@XZ)
10>jiggleFunctions.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl MaxSDK::Util::OutOfRangeException::~OutOfRangeException(void)" (__imp_??1OutOfRangeException@Util@MaxSDK@@UEAA@XZ)
10>PickModes.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(class MaxSDK::Util::OutOfRangeException const &)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@AEBV012@@Z)
10>SpringSys.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(class MaxSDK::Util::OutOfRangeException const &)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@AEBV012@@Z)
10>DlgProcs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(class MaxSDK::Util::OutOfRangeException const &)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@AEBV012@@Z)
10>DllEntry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(class MaxSDK::Util::OutOfRangeException const &)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@AEBV012@@Z)
10>jiggle.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(class MaxSDK::Util::OutOfRangeException const &)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@AEBV012@@Z)
10>jiggleFunctions.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl MaxSDK::Util::OutOfRangeException::OutOfRangeException(class MaxSDK::Util::OutOfRangeException const &)" (__imp_??0OutOfRangeException@Util@MaxSDK@@QEAA@AEBV012@@Z)
10>PickModes.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl TBDelete(struct TabHdr * *,int,int,int)" (__imp_?TBDelete@@YAHPEAPEAUTabHdr@@HHH@Z)
10>DlgProcs.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl TBDelete(struct TabHdr * *,int,int,int)" (__imp_?TBDelete@@YAHPEAPEAUTabHdr@@HHH@Z)
10>DllEntry.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl TBDelete(struct TabHdr * *,int,int,int)" (__imp_?TBDelete@@YAHPEAPEAUTabHdr@@HHH@Z)
10>jiggle.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl TBDelete(struct TabHdr * *,int,int,int)" (__imp_?TBDelete@@YAHPEAPEAUTabHdr@@HHH@Z)
10>jiggleFunctions.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __cdecl TBDelete(struct TabHdr * *,int,int,int)" (__imp_?TBDelete@@YAHPEAPEAUTabHdr@@HHH@Z)
10>DlgProcs.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl WStr::WStr(void)" (__imp_??0WStr@@QEAA@XZ) referenced in function "public: void __cdecl Jiggle::UpdateNodeList(bool)" (?UpdateNodeList@Jiggle@@QEAAX_N@Z)
10>PickModes.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl WStr::WStr(wchar_t const *)" (__imp_??0WStr@@QEAA@PEB_W@Z)
C++ 插件 visual-studio-2019 blender 3dsmax

评论


答: 暂无答案