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

unable to build pure data version of nn~ on linux #60

Open
alexdrymonitis opened this issue Aug 31, 2023 · 1 comment
Open

unable to build pure data version of nn~ on linux #60

alexdrymonitis opened this issue Aug 31, 2023 · 1 comment

Comments

@alexdrymonitis
Copy link

I'm trying to build nn~ on linux, but I'm stuck at this step:

cmake ../src/ -DCMAKE_PREFIX_PATH=/home/alex/Applications/libtorch -DPUREDATA_INCLUDE_DIR=/home/alex/Applications/puredata/pd-0.54-0/src -DCMAKE_BUILD_TYPE=Release

where I get the following output:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at backend/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at frontend/puredata/nn_tilde/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


fatal: not a git repository (or any of the parent directories): .git
CMake Error at frontend/puredata/nn_tilde/CMakeLists.txt:20 (message):
  message called with incorrect number of arguments


-- Configuring incomplete, errors occurred!

Any help appreciated!

@alexdrymonitis
Copy link
Author

A little update here. I removed the directory and cloned from Git (I can't remember where I got the source files before, but probably not Git). It seems to build now, with the following output:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at backend/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found Torch: /home/alex/Applications/libtorch/lib/libtorch.so  
CMake Deprecation Warning at frontend/puredata/nn_tilde/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


v1.5.5-11-gde5dc31
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: /home/alex/Documents/Pd/externals/nn_tilde/build

But I can't find any executable Pd object. I'm searching my entire home directory for an nn~.pd_linux file, but there's none. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant