ShaiviAgarwal2 commented on issue #35239:
URL: https://github.com/apache/arrow/issues/35239#issuecomment-1882569773
@kevingurney
According to my understanding, the issue arises because the resulting
arrow.dll file is linked against a [MultiThreadedDebugDLL (i.e., /MDd)
version](url) of the MSVC Runtime libraries.
We can follow these steps to solve the issue-:
Firstly, we will identify the build mode (Debug or Release) that MATLAB is
using this can be done by checking the MSVC Runtime library that MATLAB is
linked against. If it's a non-debug version, MATLAB is built with Release.
If the build mode is Debug, we should display an error message to the user.
The error message should clearly state that building in Debug mode is not
allowed because MATLAB is built with Release. It should also tell the user to
use Release mode instead.
After displaying the error message, we should then stop the build process
which will prevent the user from accidentally building the project in Debug
mode.
Finally, the user should switch to Release mode for building the project
which can be done from the build configuration settings in Visual Studio.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]