facebookresearch / DeepSDF

Learning Continuous Signed Distance Functions for Shape Representation
MIT License
1.4k stars 259 forks source link

Unable to build #61

Open nick-torenvliet opened 3 years ago

nick-torenvliet commented 3 years ago

Hi - I'm trying to do the initial make of DeedSDF to get the binaries required for processing the data.

The make fails.

I've installed CLI11, Pangolin, nanoflann, and Eigen3 globally.

I'm in DeepSDF/build and run:

cmake ..

I get: -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:9 (add_subdirectory): The source directory /home/myhome/git/DeepSDF/third-party/cnpy does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred! See also "/home/myhome/git/DeepSDF/build/CMakeFiles/CMakeOutput.log".

CMakeFiles/CMakeOutput.log is verbose but unhelpful.

I can't find anything addressing this issue. What do I need to do to get this to compile?

nick-torenvliet commented 3 years ago

My /usr/local/include looks like this: xxx@sibelius:/usr/local/include$ ls CLI eigen3 nanoflann.hpp pangolin vtk-9.0

trancelestial commented 3 years ago

Maybe try git submodule update --init in DeepSDF directory.

nick-torenvliet commented 3 years ago

Of course! Thanks!!

That worked... for others... I also used cmake -DCMAKE_CXX_STANDARD=17 .. to get across a problem with a pangolin/mpark include

I've got two binaries in my DeepSDF/bin dir now

novauto-nju commented 3 years ago

Hi, I'm a newbie in code. I'm going to implement this project. Can you tell me your version of the environment? maybe like conda_env?