V2AI / Det3D

World's first general purpose 3D object detection codebse.
https://arxiv.org/abs/1908.09492
Apache License 2.0
1.48k stars 299 forks source link

No sudo access, local libboost not found #159

Closed ajinkyakhoche closed 2 years ago

ajinkyakhoche commented 2 years ago

I am working on a university server with no sudo access, hence instead of apt-get I used conda to install libboost-dev. Using advise here, I was able to compile spconv successfully. But when i try to build Det3D it's unable to find boost. is there a way to provide a path to boost libs provided by conda to setup.py?

Instructions To Reproduce the Issue:

  1. what changes you made (git diff) or what code you wrote: None

  2. what exact command you run: python setup.py build develop

  3. what you observed (including the full logs):

    Det3D/det3d/ops/nms/nms_cpu.h:9:10: fatal error: boost/geometry.hpp: No such file or directory #include <boost/geometry.hpp> ^~~~~~~~~~~~~~~~~~~~ compilation terminated.
poodarchu commented 2 years ago
  1. sudo apt-get install libboost-all-dev
  2. conda install libboost