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
a colleague of mine stumbled upon the issue with missing libuuid again.
He has an Ubuntu machine with Mathematica 12. On this machine the package uuid-dev is not installed, so libuuid is not installed on the system.
When he calls find_package(Mathematica COMPONENTS MathLink), he gets an error message of the form:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Mathematica_uuid_LIBRARY (ADVANCED)
linked by target "gm2calc.mx" in directory /home/pathron/software/GM2Calc/src
If I interpret the error message correctly, it seems that the command
find_library (Mathematica_uuid_LIBRARY uuid)
inside FindMathematica.cmake fails to find libuuid on his system. In this case the variable Mathematica_uuid_LIBRARY is set to NOTFOUND. However, the script just continues without checking if libuuid has been found.
If my interpretation is correct, then a possible fix would be to raise an error if libuuid has not been found.
Many thanks in advance and best regards,
Alexander Voigt
Dear @sakra ,
a colleague of mine stumbled upon the issue with missing
libuuid
again.He has an Ubuntu machine with Mathematica 12. On this machine the package
uuid-dev
is not installed, solibuuid
is not installed on the system.When he calls
find_package(Mathematica COMPONENTS MathLink)
, he gets an error message of the form:If I interpret the error message correctly, it seems that the command
inside
FindMathematica.cmake
fails to findlibuuid
on his system. In this case the variableMathematica_uuid_LIBRARY
is set toNOTFOUND
. However, the script just continues without checking iflibuuid
has been found.If my interpretation is correct, then a possible fix would be to raise an error if
libuuid
has not been found.Many thanks in advance and best regards,
Alexander Voigt
P.S.: This issue has been found when running
cmake
in https://github.com/GM2Calc/GM2CalcThe text was updated successfully, but these errors were encountered: