Skip to content

Build instructions #1

@floriandotpy

Description

@floriandotpy

I was happy to have found this project, as I am playing around with ONI recordings right now.

However, I cannot get it to build. I have no experience with CMake, so excuse my naivity.

cd extern/anyregistration
cmake . 
# seems to have worked

cd ../xndec
cmake .
# seems to also have worked

Now what do I need to do? I tried pip install . which failed:

extern/anyregistration/anyregistration.cpp:4:10: fatal error: 'Eigen/Dense' file not found
    #include <Eigen/Dense>
             ^
    1 error generated.
    error: command 'clang' failed with exit status 1

    ----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/var/folders/xw/99wk0h_n2kv6h04l9p5f_c800000gn/T/pip-Vn53cU-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/xw/99wk0h_n2kv6h04l9p5f_c800000gn/T/pip-3cXMKU-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /var/folders/xw/99wk0h_n2kv6h04l9p5f_c800000gn/T/pip-Vn53cU-build/

Also, I tried to run cmake . on the top level as well, which also failed:

CMake Error at CMakeLists.txt:3 (add_library):
  Cannot find source file:

    xn16zdec.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


CMake Error: CMake can not determine linker language for target: xn16zdec
CMake Error: Cannot determine link language for target "xn16zdec".

Can you give me any pointers to how I can get this working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions