How would I install gmp (big num) so CLion sees it?
Hi,
Can I follow windows tutorials that I find online to install gmp(big num) and CLion will pickup on my default system parts? Do I have do something specific for CLion to see gmp(big num) after it is installed?
Best
Please sign in to leave a comment.
Hi Brian.
Please try to use find_package CMake command to locate the libary:
Also use include_directories to include the libary header files.
You can find out some additional information here: http://stackoverflow.com/questions/6975718/cmake-basic-library-linking-problem
Does that help?
If you are on Windows and using Cygwin as your tool chain, start Cygwin Setup and grab to the bin and src for...
Let that download and install.
Now, in your CmakeLists.txt file add the line
Now you'll be able to include and compile with #include <gmp.h>.
I hope this helps.