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

[BUG] "fatal error: 'flann/flann.hpp' file not found" in mac Apple Chip #23

Closed
LimHyungTae opened this issue Feb 20, 2025 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@LimHyungTae
Copy link
Member

While I make -j ${num_proc}, the error relevant to flann occurs as follows:

Image

Solution

Step 1. First, install below libraries:

brew install gcc cmake git ninja eigen flann

Step 2. And then, export library directories as follows:

export CPLUS_INCLUDE_PATH=/opt/homebrew/include:$CPLUS_INCLUDE_PATH
export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH
export LD_LIBRARY_PATH=/opt/homebrew/lib:$LD_LIBRARY_PATH

Step 3.

Just remove everything and try to rebuild the repository.

rm -rf *
cmake ..
make -j24
@LimHyungTae LimHyungTae added the bug Something isn't working label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant