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

MacOS puredata examples build fail #43

Closed
shakfu opened this issue Dec 2, 2021 · 3 comments
Closed

MacOS puredata examples build fail #43

shakfu opened this issue Dec 2, 2021 · 3 comments

Comments

@shakfu
Copy link

shakfu commented Dec 2, 2021

I built vult.native and also have vult in my path but the make part fails (see below)

$ mkdir build
$ cd build/
$ cmake ../
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is AppleClang 12.0.0.12000032
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 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.


-- Vult compiler found in $HOME/vult/vultc.native
-- Configuring done
-- Generating done
-- Build files have been written to: $HOME/vult/examples/build
zod:build sa$ make
make[2]: *** No rule to make target `osc/phase.vult', needed by `phase.cpp'.  Stop.
make[1]: *** [CMakeFiles/phase_code.dir/all] Error 2
make: *** [all] Error 2
$ cmake ../
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 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.


-- Vult compiler found in $HOME/vult/vultc.native
-- Configuring done
-- Generating done
-- Build files have been written to: $HOME/vult/examples/build
$ make
make[2]: *** No rule to make target `osc/phase.vult', needed by `phase.cpp'.  Stop.
make[1]: *** [CMakeFiles/phase_code.dir/all] Error 2
make: *** [all] Error 2
@modlfo
Copy link
Collaborator

modlfo commented Dec 6, 2021

Hi @shakfu ,

I have fixed the compilation issue. However, for Vult v1 I have changed the way PD objects are created. If you want to give a try to the new style I can prepare a short guide.

@shakfu
Copy link
Author

shakfu commented Dec 6, 2021

Hi @modlfo

Thanks for your response. Sure I would bet happy to try the new style of pd object creation.

S

@shakfu
Copy link
Author

shakfu commented Dec 6, 2021

Just tried it again with the new file. Works well: all examples compile fine without errors.

Thanks! 👍

@modlfo modlfo closed this as completed Feb 25, 2023
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

2 participants