As part of our annual system update to support the latest Adobe InDesign version, we maintain a plugin that relies on a third-party library. Following Adobe’s porting guide, we are using the following setup:
- Boost: Recommended version is 1.74, but we upgraded to Boost 1.80 due to compatibility issues with Visual Studio 2022 (version 17.9.6).
- Compiler: Visual Studio 2022 (version 17.9.6), compiling with C++14.
- InDesign API: Using
indesign::autoptrin our implementation.
The plugin builds successfully; however, it fails to load in Adobe InDesign, crashing with the error: “Cannot load the plugin.”
Has anyone encountered a similar problem with Boost or Visual Studio compatibility in the context of Adobe InDesign plugins? What steps or debugging strategies would you recommend to identify and resolve the root cause of this loading failure?
Any help would be greatly appreciated.
We’ve verified that all other configurations are aligned with Adobe’s porting guide. Despite these adjustments, the issue persists.