Copy link to clipboard
Copied
As part of our annual system update to support the latest Adobe InDesign version, we include our plugin, which utilizes a third-party library. According to Adobe's porting guide, the recommended setup includes Boost 1.74 and Visual Studio 2022 (version 17.9.6).
Boost 1.74 does not get compiled on VS 2022(version 17.9.6). Consequently, we have been using Boost 1.80 since the InDesign 2023 update, while keeping all other configurations aligned with the porting guide.Additionally, we are compiling our code with C++14 and using indesign::autoptr in our implementation.Despite these adjustments, we are encountering an issue where our plugin fails to load in InDesign. The application crashes and asserts with the error message: "Cannot load the plugin."We would appreciate any insights or suggestions to resolve this issue.
Copy link to clipboard
Copied
Your screenshot shows a cpp file that I suppose is from your codebase. Did you check the line no. mentioned to see what is written on that line. If you suspect Boost then maybe try commenting the code that refers to Boost and see if the plugin loads. This way we should atleast be able to shortlist on whether Boost is the culprit or something else like project settings
-Manan
Copy link to clipboard
Copied
Thank you for the suggestion. However, we don’t have that specific cpp file in our system. We'll continue investigating to determine if Boost or other factors, such as project settings, could be causing the issue. Let me know if you have any additional insights or suggestions!
Copy link to clipboard
Copied
Boost 1.74 is the one included in the sdk v20.0 and most likely that must be the same version internally used to also build InDesign as well. So if you try to use a different version, that can lead to many weird problems, not recommended at all. In my opinion, you should rather try to fix the compile issue in your plugin, many of the samples in the sdk has example boost preprocessors defined, try to base your plugin project to one of the sdk samples
Copy link to clipboard
Copied
Thank you for your input. However, Boost 1.74 does not support the Visual Studio 2022 (17.9.6) toolset version v143, which is specified in the porting guide. This incompatibility is likely contributing to the issues we're facing. We’ll explore alternative approaches to address the compile issues while adhering to the provided guidelines. Let us know if you have further suggestions or insights.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Request for Support: Boost 1.74 Compatibility with Visual Studio 2022 for Adobe InDesign 2025
By @Lokesh29835019mhvn
Just to let you know that your request for support will likely get lost here as it's just a user-to-user forum. There must be an official support channel for SDK support (although I don't know what that channel is). You may need to simply contact the general Adobe support, and they will redirect you to the appropriate technician.
Copy link to clipboard
Copied
While loading the plugin in debug mode, we encounter the following error:
Exception thrown at 0x00007FF8DB65F47C in InDesign.exe: Microsoft C++ exception: ASKStatus at memory location 0x000000A38ED8E9A0.
If anyone has insights or suggestions regarding this issue, your assistance would be greatly appreciated.