Description: I’m trying to compile a JUCE application in release mode using the Multithreaded (/MT) runtime library option. However, I can only get it to compile in Multithreaded Debug (/MTd) mode (Microsoft Visual Studio 2022). Here are the details:
- Projucer Configuration:
- In Projucer, I’ve set the “Runtime Library” option to “Use static runtime,” but it defaults to Multithreaded Debug (/MTd) with the DEBUG flag.
- Is there a way to force it to use NDEBUG and /MT for release builds?
- Preprocessor Definitions:
- I’ve checked for any specific Debug-related preprocessor definitions (like
DEBUG) in my code or project settings. - Are there any other flags related to Preprocessor Definitions that I should consider?
- Other Dependencies:
- I’m using other libraries alongside JUCE. Could they be affecting the runtime library selection?
- How can I ensure that my application links correctly to the appropriate runtime library?
Any insights or suggestions would be greatly appreciated! Thank you! ![]()
