Skip to content
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

Open
SuperKlever opened this issue Feb 21, 2024 · 0 comments
Open

Add header only library #518

SuperKlever opened this issue Feb 21, 2024 · 0 comments

Comments

@SuperKlever
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant