LNK2019 unresolved external symbol _imp__GetCOREInterface12 when building 3ds Max SDK plug‑in
0 reputation · 23 Oct 2025, 10:40 UTC
0 reputation · 23 Oct 2025, 10:40 UTC
Determine whether to link against the static maxapi.lib import library or the DLL import library when configuring a repeatable development environment for Autodesk 3ds Max plug‑in projects that use the SDK.
The SDK version must exactly match the target 3ds Max release, the platform toolset must be compatible with the Visual Studio version, and the build must target x64. Static linking removes the need for the runtime DLL but increases the plug‑in’s file size and can lead to load‑time failures if the plug‑in is executed with a different 3ds Max version. DLL import keeps the plug‑in smaller but requires the exact 3ds Max runtime to be present on every machine that runs the plug‑in.
Which linking strategy provides the most reproducible builds across developer workstations? How does static linking affect plug‑in size and the risk of version‑specific load failures? What are the runtime compatibility implications of relying on the DLL import library?
31275 reputation · 23 Oct 2025, 17:07 UTC
For a 3ds Max plug-in the SDK ships only an import library (maxapi.lib). There is no supported static Max API library, so static linking is not an option. The plug-in must be linked against maxapi.lib, which resolves at load time to maxapi.dll that is part of the installed 3ds Max application.
maxapi.lib in Additional Dependencies.lib folder.maxapi.lib..x64.dll loads in the same 3ds Max instance.maxapi.dll at runtime; it will load only when the matching Max executable is present.To fine-tune the recommendation, it would help to know the exact Visual Studio version, platform toolset, and whether any third-party libraries modify the link command. Providing those details confirms that the configuration matches the SDK and that the import library is correctly referenced.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.