oylz / DS

cpp deep_sort: C++ implementation of Simple Online Realtime Tracking with a Deep Association Metric
https://github.com/nwojke/deep_sort
GNU General Public License v3.0
250 stars 78 forks source link

fatal error: Eigen/Core: No such file or directory #17

Open mdswyz opened 4 years ago

mdswyz commented 4 years ago

l have this problem when I dong “sudo ./make.sh” l reinstall eigen lib many times, what should l do? l am looking forword to seeing you can help me to solve this problem By the way ,this is a awesome project!

mdswyz commented 4 years ago

image

oylz commented 4 years ago

sorry, it is my negligence. you can have a look at make.sh line 21

IINCLUDE="-I/home/$USER/code/test/pp/opencvlib/include -I/usr/local/include -I/home/$USER/.cache/bazel/bazel$USER/$BAZEL/external/eigen_archive/Eigen -I/home/$USER/code1/tbb-2018_U1/include/tbb -I/home/$USER/code1/tbb-2018_U1/include"

may be you shoud change eigen include directory from -I/home/$USER/.cache/bazel/bazel$USER/$BAZEL/external/eigen_archive/Eigen to -I/usr/local/include/eigen3/Eige

quangnmkma commented 2 years ago

I had add #include <eigen3/Eigen/Core> in file Detection.h , iou_matching.h, linear_assignment.h, nn_matching.h . i had add #include <eigen3/unsupported/Eigen/MatrixFunctions> in file kalman_filter.h\ i had repair at make.sh line 21 : IINCLUDE="-I/home/$USER/code/test/pp/opencvlib/include -I/usr/local/include -I/home/$USER/.cache/bazel/bazel$USER/$BAZEL/external/eigen_archive/Eigen -I/home/$USER/code1/tbb-2018_U1/include/tbb -I/home/$USER/code1/tbb-2018_U1/include"
become : IINCLUDE="-I/home/$USER/code/test/pp/opencvlib/include -I/usr/local/include -I/usr/local/include/eigen3/Eige -I/home/$USER/code1/tbb-2018_U1/include/tbb -I/home/$USER/code1/tbb-2018_U1/include"

but when i run "./make.sh" i have this problem : Screenshot from 2021-12-06 16-41-38