Path error in a header inclusion with Geany (C++)

181 views Asked by At

I found many articles about the what I am about to ask but no precise answer. I wanted to compile a main file from a RSA library. However, this error appears and I don't know how to fix it:

enter image description here

1

There are 1 answers

1
David Yockey On

The error in the image indicates that there's no such file or directory as ${workspaceFolder}boost/multiprecision/cpp_int.hpp.

The file boost/multiprecision/cpp_int.hpp is part of the Boost C++ Libraries. If Boost is not installed, as indicated in the comments above, it will be necessary to install Boost to provide the missing file and any related software to which it refers.

For information on installing Boost, take a look at the Boost Getting Started page.

Note that if you are using Linux, Boost is likely available in your system's repository (i.e. package manager, software manager, or whatever it's called on your system). If so, installing from there would probably be the easiest way to go.

If Boost did happen to be installed and the error was occuring, it would then be necessary to add the location of the Boost include files to the compilation command.