vbFourses UGen install error

i got an error when running make:


[igor@v410 build]$ make
[ 50%] Building CXX object CMakeFiles/vbFourses.dir/vbFourses.cpp.o
/home/igor/Downloads/vb_UGens-master/vbFourses/vbFourses.cpp: In function ‘void VBFourses_Ctor(VBFourses*)’:
/home/igor/Downloads/vb_UGens-master/vbFourses/vbFourses.cpp:56:5: error: ‘printf’ was not declared in this scope
   56 |     printf("size_of_horse: %ld\n", sizeof(unit->fourses[0]));
      |     ^~~~~~
/home/igor/Downloads/vb_UGens-master/vbFourses/vbFourses.cpp:13:1: note: ‘printf’ is defined
inheader ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
   12 | #include <math.h>
  +++ |+#include <cstdio>
   13 |
make[2]: *** [CMakeFiles/vbFourses.dir/build.make:82: CMakeFiles/vbFourses.dir/vbFourses.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/vbFourses.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
[igor@v410 build]$

anyone can help me to install it? :slight_smile:
thx in advance!

The error message is totally accurate in this case – that file is missing an include of <cstdio>. I’ve opened a PR against that repository to fix this: https://github.com/v7b1/vb_UGens/pull/2.

You can check it out locally with the following commands:

git fetch https://github.com/brianlheim/vb_UGens linux-patches
git checkout FETCH_HEAD
1 Like

after this its working :slight_smile:
THX!!!

1 Like