ctu-mrs / CTopPRM

CTopPRM
GNU General Public License v3.0
13 stars 1 forks source link

Compilation #6

Open Z-X20A opened 1 month ago

Z-X20A commented 1 month ago

When I run make, it said "./include/prm.hpp:11:10: fatal error: flann/flann.hpp: No such file or directory"

novosma commented 1 month ago

Seems flann library didn't install. Did you run

git submodule update --init --recursive gitman update

?

If so there should be a symlink created in lib/ pointing ../.gitman_sources/flann. Is the symlink broken maybe?

Z-X20A commented 1 month ago

Thank you, but I get another error when I run make dependencies, /mnt/c/Users/7/anaconda3/Library/include/H5public.h:247:19: error: conflicting declaration ‘typedef long long int ssize_t’. I try to run the project in Windows WSL.

novosma commented 1 month ago

Ahh I see. Unfortunately I have not tested installation in Windows WSL and don't have an option to try it at the moment. But it looks like your compiler is using the linux header files instead of the ones compiled for windows. I recommend looking at this thread , looks to be the same issue...