How to use gmp-mpir-mpfr in eclipse correctly?
问题 I've managed to to use mpfr-mpir-gmp in CodeBlocks but I want to in eclipse C++: When I compile the code it compiles and build but if I run the project it says: "error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory". So can anyone show me how to configure eclipse to use gmp-mpifr-mpir correctly? If I compile from a terminal: g++ -lmpir -lmpfr -lgmp myEclpiseMPFRMPIRproj.cpp then : ./a.out It works fine and doesn't complain about the