dpilger26 / NumCpp

C++ implementation of the Python Numpy library

Home Page:https://dpilger26.github.io/NumCpp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

include problem in vscode

Rocky14683 opened this issue · comments

Describe the bug
I clone the whole directory into my project file, and I wrote include "NumCpp/include/NumCpp.hpp". Then error shows up. It says that 'NumCpp/Coordinates/Coordinate.hpp' file not found. So I delete that line of code, and I found out that every include statements in NumCpp.hpp are causing errors. But I am not sure what is happening.

Expected behavior
Include NumCpp.hpp file without any error or warning occurring.

Screenshots
截圖 2022-07-14 下午10 32 41

截圖 2022-07-14 下午10 33 09
Additional context
I am using vscode on arm64 m1 MacBook pro.

Thanks.

The NumCpp library was designed to have the NumCpp/include directory added to the include directories portion for your target for whatever build tools you are using.

Sorry, I don't get it, I move the NumCpp/include into my project file but this still shows up.

截圖 2022-07-15 下午4 14 57

In C++ you have to tell your build tools about all of your include paths. What are you building with?

Closing due to inactivity.