Linking Boost Library to qt

Dec 29, 2018 at 4:21am
I recently downloaded qt to be able to create a GUI for my C++ program and was wondering how I can link the boost multi-precision library that I have downloaded to qt. In my .pro file, I've written:

INCLUDEPATH += /usr/local/Cellarboost/1.69.0/include/

LIBS += /usr/local/lib/

However, this produces the errors: "can't map file, errno=22 file '/usr/local/lib/' for architecture x86_64" and "linker command failed with exit code 1 (use -v to see invocation)"

Any help is much appreciated.
Dec 29, 2018 at 4:25am
Is it /usr/local/lib64/ ?
Dec 29, 2018 at 4:45pm
/usr/local/lib64/ gets rid of the previous 2 errors when I try it, but produces a new error: "no such file or directory: '/usr/local/lib64/'"
Dec 29, 2018 at 5:01pm
Right, let's look at that error message:

"no such file or directory: '/usr/local/lib64/'"


So it is saying that there is a problem. It says that the directory /usr/local/lib64/ , which you are trying to use, does not exist. So can you check that? Does that directory, in fact, not exist?

If it doesn't exist, do you understand that it's not possible to use things that don't exist?
Topic archived. No new replies allowed.