Hi,
I’m trying to install the latest beta version from repo on ubuntu 18.04.05 (my old pc wouldn’t support 20.04)
I got this error :
./linux-prebuild.sh --build-aubio
Warning: Unix build scripts are still a work in progress!
Building server external dependencies...
-- Aubio Builder
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nlb/audio/spi3.3-beta/app/gui/qt/external/build
Building sp_midi...
Scanning dependencies of target sp_midi
[ 12%] Creating directories for 'sp_midi'
[ 25%] No download step for 'sp_midi'
[ 37%] No patch step for 'sp_midi'
[ 50%] No update step for 'sp_midi'
[ 62%] Performing configure step for 'sp_midi'
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so (found version "1.1.3")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
ERLANG_INCLUDE_PATH
-- Build files have been written to: /home/nlb/audio/spi3.3-beta/app/gui/qt/external/build/sp_midi-prefix/src/sp_midi-build
[ 75%] Performing build step for 'sp_midi'
Scanning dependencies of target oscpack
[ 5%] Building CXX object external_libs/oscpack_1_1_0/CMakeFiles/oscpack.dir/ip/IpEndpointName.cpp.o
[ 10%] Building CXX object external_libs/oscpack_1_1_0/CMakeFiles/oscpack.dir/ip/posix/NetworkingUtils.cpp.o
[ 15%] Building CXX object external_libs/oscpack_1_1_0/CMakeFiles/oscpack.dir/ip/posix/UdpSocket.cpp.o
[ 20%] Building CXX object external_libs/oscpack_1_1_0/CMakeFiles/oscpack.dir/osc/OscTypes.cpp.o
[ 25%] Building CXX object external_libs/oscpack_1_1_0/CMakeFiles/oscpack.dir/osc/OscReceivedElements.cpp.o
/home/nlb/audio/spi3.3-beta/app/gui/qt/external/sp_midi/external_libs/oscpack_1_1_0/osc/OscReceivedElements.cpp: In function ‘const char* osc::FindStr4End(const char*, const char*)’:
/home/nlb/audio/spi3.3-beta/app/gui/qt/external/sp_midi/external_libs/oscpack_1_1_0/osc/OscReceivedElements.cpp:67:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if( p >= end )
^~
/home/nlb/audio/spi3.3-beta/app/gui/qt/external/sp_midi/external_libs/oscpack_1_1_0/osc/OscReceivedElements.cpp:70:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if( p[0] == '\0' ) // special case for SuperCollider integer address pattern
^~
[ 30%] Building CXX object external_libs/oscpack_1_1_0/CMakeFiles/oscpack.dir/osc/OscPrintReceivedElements.cpp.o
[ 35%] Building CXX object external_libs/oscpack_1_1_0/CMakeFiles/oscpack.dir/osc/OscOutboundPacketStream.cpp.o
[ 40%] Linking CXX static library liboscpack.a
/usr/bin/ar qc liboscpack.a CMakeFiles/oscpack.dir/ip/IpEndpointName.cpp.o CMakeFiles/oscpack.dir/ip/posix/NetworkingUtils.cpp.o CMakeFiles/oscpack.dir/ip/posix/UdpSocket.cpp.o CMakeFiles/oscpack.dir/osc/OscTypes.cpp.o CMakeFiles/oscpack.dir/osc/OscReceivedElements.cpp.o CMakeFiles/oscpack.dir/osc/OscPrintReceivedElements.cpp.o CMakeFiles/oscpack.dir/osc/OscOutboundPacketStream.cpp.o
/usr/bin/ranlib liboscpack.a
[ 40%] Built target oscpack
Scanning dependencies of target libsp_midi
[ 45%] Building CXX object CMakeFiles/libsp_midi.dir/src/sp_midi.cpp.o
In file included from /home/nlb/audio/spi3.3-beta/app/gui/qt/external/sp_midi/src/sp_midi.cpp:27:0:
/home/nlb/audio/spi3.3-beta/app/gui/qt/external/sp_midi/src/sp_midi.h:3:10: fatal error: erl_nif.h: Aucun fichier ou dossier de ce type
#include <erl_nif.h>
^~~~~~~~~~~
compilation terminated.
CMakeFiles/libsp_midi.dir/build.make:65: recipe for target 'CMakeFiles/libsp_midi.dir/src/sp_midi.cpp.o' failed
make[6]: *** [CMakeFiles/libsp_midi.dir/src/sp_midi.cpp.o] Error 1
CMakeFiles/Makefile2:98: recipe for target 'CMakeFiles/libsp_midi.dir/all' failed
make[5]: *** [CMakeFiles/libsp_midi.dir/all] Error 2
Makefile:86: recipe for target 'all' failed
make[4]: *** [all] Error 2
CMakeFiles/sp_midi.dir/build.make:111: recipe for target 'sp_midi-prefix/src/sp_midi-stamp/sp_midi-build' failed
make[3]: *** [sp_midi-prefix/src/sp_midi-stamp/sp_midi-build] Error 2
CMakeFiles/Makefile2:170: recipe for target 'CMakeFiles/sp_midi.dir/all' failed
make[2]: *** [CMakeFiles/sp_midi.dir/all] Error 2
CMakeFiles/Makefile2:177: recipe for target 'CMakeFiles/sp_midi.dir/rule' failed
make[1]: *** [CMakeFiles/sp_midi.dir/rule] Error 2
Makefile:157: recipe for target 'sp_midi' failed
make: *** [sp_midi] Error 2
nlb@devbox:~/audio/spi3.3-beta/app/gui/qt$ erl --version
Erlang/OTP 24 [DEVELOPMENT] [erts-11.1] [source-8ef1bc22b9] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [jit]
Eshell V11.1 (abort with ^G)
Does someone understand why i get this error ?
I have installed erl lang from the github repo but not sure i do use the right version.
So how to check if i do use the latest erl lang version ? command ?
Thanks for your help