brummer10 / Ratatouille.lv2

Ratatouille is a Neural Model loader and mixer for Linux/Windows
BSD 3-Clause "New" or "Revised" License
63 stars 1 forks source link

fatal error: 'resampler.cc' file not found #3

Open yurivict opened 5 months ago

yurivict commented 5 months ago
gmake[1]: warning: -j1 forced in submake: resetting jobserver mode.
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory
gmake[1]: arch: No such file or directory
gmake[1]: arch: No such file or directory
 Compiling Ratatouille. 
Ratatouille.cpp:18:10: fatal error: 'resampler.cc' file not found
   18 | #include "resampler.cc"
      |          ^~~~~~~~~~~~~~

Version: 0.1 clang-18 FreeBSD 14.0

brummer10 commented 5 months ago

@yurivict It would be nice if you response when I try to solve issues you reported related to BSD. I'm myself didn't use BSD so I need your help to solve it. https://github.com/brummer10/ImpulseLoader.lv2/issues/1#issuecomment-1926259282 https://github.com/brummer10/guitarix/issues/154#issuecomment-2053085870 https://github.com/brummer10/Mamba/issues/56#issuecomment-2017311503

again, what is the output of uname -s on FreeBSD, I need to know that in order to detect if we build on BSD.

yurivict commented 5 months ago

It would be nice if you response when I try to solve issues you reported related to BSD. I'm myself didn't use BSD so I need your help to solve it.

I am very sorry, these messages are in my queue, and I didn't answer them yet. I will do so shortly.

$ uname -s
FreeBSD
brummer10 commented 5 months ago

$ uname -s FreeBSD

Ah, okay, that should fix the issue. Please try with the latest commit.

yurivict commented 5 months ago

The latest revision fails like this:

===>  Building for ratatouille-lv2-0.1
for         FreeBSD
with        cc
using       gold
and         xxd -i
gmake[1]: warning: -j1 forced in submake: resetting jobserver mode.
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory
gmake[1]: arch: No such file or directory
gmake[1]: arch: No such file or directory
 Compiling Ratatouille.so 
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
In file included from Ratatouille.cpp:9:
In file included from /usr/include/c++/v1/atomic:521:
In file included from /usr/include/c++/v1/__assert:13:
/usr/include/c++/v1/__config:426:14: fatal error: 'features.h' file not found
  426 | #    include <features.h>
      |              ^~~~~~~~~~~~
^Cgmake[1]: *** [makefile:174: Ratatouille.so] Interrupt
gmake: *** [makefile:33: Ratatouille] Interrupt
*** Signal 2
brummer10 commented 5 months ago

Didn't clang support -std=c++17

yurivict commented 5 months ago

Clang supports -std=c++17 .

brummer10 commented 5 months ago

I've implemented some more checks for FreeBSD now to avoid using unsupported flags with clang++. "featuers.h" is a glibc header, maybe you need to install it on your build machine.

38github commented 5 months ago

So this plugin supports automatic resampling? This is what I have been missing in neural-amp-modeler-lv2. EDIT: I read on the first page that it does support resampling. Great!