-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add header only library #518
Comments
I am also experiencing some issues when specifying paths to library files. It has worked well up until the point where I attempt to use nonstandard libraries. Platform: Linux Ubuntu 22.04.5 LTS x86_64 Example One: #include <options.h> Error One: Example Two: #include <auto_rng.h> Error Two: Note: Notice how it is not asking for any of the includes that I have explicitly declared, it is asking for other (types.h and rng.h) related include that is in the same location and exists. And even if I explicitly declare this include, it still fails. Troubleshooting Attempts: |
I downloaded the header only library (NumCpp) and now I have the /include directory. The library folder is located in the same directory as my .ipynb file.
I'm trying to add add library to include path, however it doesn't seem to work.
#pragma cling add_include_path("/NumCpplib/include")
#include "NumCpplib/include/NumCpp.hpp"
After running this code, I get the classic error that the path to the library was not found.
./NumCpplib/include/NumCpp/Coordinates.hpp:30:10: fatal error: 'NumCpp/Coordinates/Cartesian.hpp' file not found
What am I doing wrong?
The text was updated successfully, but these errors were encountered: