Closed sashaaaaaaaaa closed 3 years ago
Getting the same problem on Arch, more context where in build this occurs
Compiling audio/SoundfileSaver.c...
audio/SampleReader.cpp compiled. (6s)
/build/radium/src/radium-6.7.72/bin/packages/faust/build/bin/faust -I /build/radium/src/radium-6.7.72/bin/packages/faust/libraries/old -I `pwd`/audio -vec -cn Faust_system_compressor audio/system_compressor.dsp -o audio/system_compressor.cpp
audio/undo_pd_controllers.c compiled. (1s)
cd mixergui/ && "`/build/radium/src/radium-6.7.72/find_moc_and_uic_paths.sh moc`" QM_view.h >mQM_view.cpp
ERROR : unable to open file filter.lib
make: *** [Makefile:2482: audio/system_compressor.cpp] Error 1
Perhaps some build flag changed which now causes an error for the missing FAUST library?
Isn't filter.lib in /build/radium/src/radium-6.7.72/bin/packages/faust/libraries/old/ ?
When compiling this line:
/build/radium/src/radium-6.7.72/bin/packages/faust/build/bin/faust -I /build/radium/src/radium-6.7.72/bin/packages/faust/libraries/old -I `pwd`/audio -vec -cn Faust_system_compressor audio/system_compressor.dsp -o audio/system_compressor.cpp
Here's some more context from me:
Compiling audio/SoundfileSaver.c...
audio/undo_pd_controllers.c compiled. (0s)
/home/s/radium2/bin/packages/faust/build/bin/faust -I /home/s/radium2/bin/packages/faust/libraries/old -I `pwd`/audio -vec -cn Faust_system_compressor audio/system_compressor.dsp -o audio/system_compressor.cpp
audio/undo_plugin_state.c compiled. (0s)
./compile_to_tmp.sh g++ -mfpmath=sse -msse2 audio/KillJackd.cpp -D__STDC_FORMAT_MACROS=1 -c `cat buildtype.opt` -Ibin/packages/gc-7.4.16/include -IQt/ -I/usr/include/python2.7 `cat flagopts.opt` -Werror=array-bounds -msse2 -fomit-frame-pointer -DFOR_LINUX -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/qt5/QtX11Extras -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DWITH_FAUST_DEV -DWITH_PD -I/home/s/boost_1_70_0 -I/home/s/boost_1_67_0 -I/home/s/boost_1_63_0 -I ~/SDKs/VST_SDK/VST2_SDK/ -I ~/SDKs/vstsdk2.4/ -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unknown-pragmas -fno-strict-aliasing -Wmissing-field-initializers -Wnull-dereference -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -fmax-errors=5 -DUSE_QT5 -Wmissing-declarations -DNDEBUG -Wno-parentheses -Wno-deprecated-declarations -std=gnu++14 -DUSE_QT4 -DUSE_QIMAGE_BUFFER=1 `/usr/bin/pkg-config --cflags Qt5Gui --cflags Qt5Network --cflags Qt5OpenGL --cflags Qt5Widgets --cflags Qt5WebKitWidgets --cflags Qt5WebKit --cflags Qt5Concurrent` -I/home/s/radium2/bin/packages/qhttpserver-master/src -I/home/s/radium2/bin/packages/QScintilla_gpl-2.10.8/Qt4Qt5 -DQHTTPSERVER_EXPORT -fPIC -Wno-missing-declarations
ERROR : unable to open file filter.lib
make: *** [Makefile:2482: audio/system_compressor.cpp] Error 1
I have a filter.lib in bin/packages/faust/libraries/faustlibraries-master/old/
Can you run this line alone?
cd /home/s/radium2/
/home/s/radium2/bin/packages/faust/build/bin/faust -I /home/s/radium2/bin/packages/faust/libraries/old -I `pwd`/audio -vec -cn Faust_system_compressor audio/system_compressor.dsp -o audio/system_compressor.cpp
i get the same error ERROR : unable to open file filter.lib...
Strange, it works for me.
Can you post the out of these two lines?
/home/s/radium2/bin/packages/faust/build/bin/faust --version
ls -la /home/s/radium2/bin/packages/faust/libraries/old/filter.lib
Here's my output:
[kjetil@localhost radium]$ /home/kjetil/radium/bin/packages/faust/build/bin/faust --version
FAUST Version 2.30.3
Embedded backends:
DSP to C++
Copyright (C) 2002-2020, GRAME - Centre National de Creation Musicale. All rights reserved.
[kjetil@localhost radium]$ ls -la /home/kjetil/radium/bin/packages/faust/libraries/old/filter.lib
-rw-rw-r--. 1 kjetil kjetil 65386 Dec 20 22:47 /home/kjetil/radium/bin/packages/faust/libraries/old/filter.lib
blanc% /home/s/radium2/bin/packages/faust/build/bin/faust --version
FAUST Version 2.30.3
Embedded backends:
DSP to C++
DSP to LLVM IR
Build with LLVM version 11.0.1
Copyright (C) 2002-2020, GRAME - Centre National de Creation Musicale. All rights reserved.
blanc% ls -la /home/s/radium2/bin/packages/faust/libraries/old/filter.lib
ls: cannot access '/home/s/radium2/bin/packages/faust/libraries/old/filter.lib': No such file or directory
I don't have that folder bin/packages/faust/libraries/old/, just bin/packages/faust/libraries/faustlibraries-master/old/
Strange, well, this should work:
cd bin packages/faust
rm -fr libraries
tar xvzf ../faustlibraries_2020-12-27.tar.gz
mv faustlibraries-master libraries
Yeah it did thx
I get this on slackware64 current when running build_linux.sh:
ERROR : unable to open file filter.lib make: *** [Makefile:2482: audio/system_compressor.cpp] Error 1
6.7.68 is the latest I managed to compile correctly.