lvm / build-supercollider

A dead simple script that builds and installs Supercollider
The Unlicense
67 stars 14 forks source link

[Makefile:152: all] Error 2 #21

Closed mykolan closed 3 years ago

mykolan commented 3 years ago

Trying to build sc3-plugins under Pop OS, I constantly get an error message.

[ 11%] Building CXX object source/CMakeFiles/NHHall.dir/NHUGens/NHHall.cpp.o
/tmp/sc3-plugins/source/NHUGens/NHHall.cpp: In constructor ‘NHHall::NHHall()’:
/tmp/sc3-plugins/source/NHUGens/NHHall.cpp:56:13: error: ‘printf’ was not declared in this scope
   56 |             printf("Could not allocate real-time memory for NHHall\n");
      |             ^~~~~~
/tmp/sc3-plugins/source/NHUGens/NHHall.cpp:30:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
   29 | #include "SC_PlugIn.hpp"
  +++ |+#include <cstdio>
   30 | 
make[2]: *** [source/CMakeFiles/NHHall.dir/build.make:63: source/CMakeFiles/NHHall.dir/NHUGens/NHHall.cpp.o] Error 1
make[2]: Leaving directory '/tmp/sc3-plugins/build'
make[1]: *** [CMakeFiles/Makefile2:2492: source/CMakeFiles/NHHall.dir/all] Error 2
make[1]: Leaving directory '/tmp/sc3-plugins/build'
make: *** [Makefile:152: all] Error 2
lvm commented 3 years ago

hi @mykolan this bug is directly related to the sc3-plugins project, i would suggest to report this bug over there: https://github.com/supercollider/sc3-plugins/issues

This project only cares of compiling whatever they provide.

mykolan commented 3 years ago

Ok, thanks! I've reported the bug there.