You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ${Mathematica_MathLink_LIBRARIES} cmake selects the following mathlink library /Applications/Mathematica.app/Contents/SystemFiles/Links/MathLink/DeveloperKit/MacOSX-x86-64/CompilerAdditions/AlternativeLibraries/mathlink.framework/mathlink in Mathematica 10.3. Unfortunately this library is linked against a non existing library /Volumes/Jenkins/workspace/MathLink.MacOSX-x86-64.release/scratch/CMake.build/lib/mathlink-libc++.framework/Versions/4.25/mathlink-libc++, which subsequently leads to a error when using the compiled executable.
A solution could be to use the library under /Applications/Mathematica.app//Contents/Frameworks/mathlink.framework/mathlink.
The text was updated successfully, but these errors were encountered:
Set the flag Mathematica_USE_LIBCXX_LIBRARIES to OFF before invoking find_package to force using of the standard MathLink framework linked with libstdc++.
set (Mathematica_USE_LIBCXX_LIBRARIES OFF)
find_package(Mathematica)
Set the flag Mathematica_USE_LIBCXX_LIBRARIES to OFF before invoking find_package to force using of the standard MathLink framework linked with libstdc++.
set (Mathematica_USE_LIBCXX_LIBRARIES OFF)
find_package(Mathematica)
—
Reply to this email directly or view it on GitHub #2 (comment).
When using ${Mathematica_MathLink_LIBRARIES} cmake selects the following mathlink library /Applications/Mathematica.app/Contents/SystemFiles/Links/MathLink/DeveloperKit/MacOSX-x86-64/CompilerAdditions/AlternativeLibraries/mathlink.framework/mathlink in Mathematica 10.3. Unfortunately this library is linked against a non existing library /Volumes/Jenkins/workspace/MathLink.MacOSX-x86-64.release/scratch/CMake.build/lib/mathlink-libc++.framework/Versions/4.25/mathlink-libc++, which subsequently leads to a error when using the compiled executable.
A solution could be to use the library under /Applications/Mathematica.app//Contents/Frameworks/mathlink.framework/mathlink.
The text was updated successfully, but these errors were encountered: