grame-cncm / faustlive

Advanced self-contained prototyping environment for the Faust programming language
Other
80 stars 18 forks source link

Build fails: Cannot find file 'Libs/all.lib' #36

Closed codemasterJyri closed 3 years ago

codemasterJyri commented 3 years ago

I am building the Faustlive on a Raspberry Pi 3B+

So far I have managed to install Faust version 2.30.4.

But when I am trying to build the Faustlive I get the following error messages:

/usr/lib/arm-linux-gnueabihf/qt4/bin/rcc -name application ../../Resources/application.qrc -o tmp/qrc_application.cpp
RCC: Error in '../../Resources/application.qrc': Cannot find file 'Libs/all.lib'
make[2]: *** [Makefile:382: tmp/qrc_application.cpp] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/pi/FaustLive-2.5.2/Build/fldir'
make[1]: *** [Makefile:37: unix] Error 2
make[1]: Leaving directory '/home/pi/FaustLive-2.5.2/Build'
make: *** [Makefile:30: all] Error 2

I have tried to build the version cloned from the Github and releases FaustLive-2.5.2 and FaustLive-2.5.4. When I am using:

cd Build sudo make

All of the builds fail with the same error messages.

Could it be a Qt error? What should I do to resolve this issue? I do not know where to start.

I have the following setup:

Raspberry Pi 3B+ Raspbian GNU/Linux 10 (buster) FAUST Version 2.30.4 Qt version 4.8.7 Jackd version1.9.12

dfober commented 3 years ago

maybe do a git submodule update

nicolalandro commented 3 years ago

On linux Mint 18.2 I have the same Error, so you can replicate it also without an arm architecture.

The command git submodule update does not do nothing.

sletz commented 3 years ago

Try: git submodule update --init --recursive

nicolalandro commented 3 years ago

Now I have another issue. How to install this libreries? I installed sudo apt install llvm-6.0-dev but this maybe is wrong.

/usr/bin/ld: impossibile trovare -lLLVMLTO
/usr/bin/ld: impossibile trovare -lLLVMObjCARCOpts
/usr/bin/ld: impossibile trovare -lLLVMSymbolize
/usr/bin/ld: impossibile trovare -lLLVMDebugInfoPDB
/usr/bin/ld: impossibile trovare -lLLVMDebugInfoDWARF
/usr/bin/ld: impossibile trovare -lLLVMXCoreDisassembler
/usr/bin/ld: impossibile trovare -lLLVMXCoreCodeGen
/usr/bin/ld: impossibile trovare -lLLVMXCoreDesc
/usr/bin/ld: impossibile trovare -lLLVMXCoreInfo
/usr/bin/ld: impossibile trovare -lLLVMXCoreAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMSystemZDisassembler
/usr/bin/ld: impossibile trovare -lLLVMSystemZCodeGen
/usr/bin/ld: impossibile trovare -lLLVMSystemZAsmParser
/usr/bin/ld: impossibile trovare -lLLVMSystemZDesc
/usr/bin/ld: impossibile trovare -lLLVMSystemZInfo
/usr/bin/ld: impossibile trovare -lLLVMSystemZAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMSparcDisassembler
/usr/bin/ld: impossibile trovare -lLLVMSparcCodeGen
/usr/bin/ld: impossibile trovare -lLLVMSparcAsmParser
/usr/bin/ld: impossibile trovare -lLLVMSparcDesc
/usr/bin/ld: impossibile trovare -lLLVMSparcInfo
/usr/bin/ld: impossibile trovare -lLLVMSparcAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMPowerPCDisassembler
/usr/bin/ld: impossibile trovare -lLLVMPowerPCCodeGen
/usr/bin/ld: impossibile trovare -lLLVMPowerPCAsmParser
/usr/bin/ld: impossibile trovare -lLLVMPowerPCDesc
/usr/bin/ld: impossibile trovare -lLLVMPowerPCInfo
/usr/bin/ld: impossibile trovare -lLLVMPowerPCAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMNVPTXCodeGen
/usr/bin/ld: impossibile trovare -lLLVMNVPTXDesc
/usr/bin/ld: impossibile trovare -lLLVMNVPTXInfo
/usr/bin/ld: impossibile trovare -lLLVMNVPTXAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMMSP430CodeGen
/usr/bin/ld: impossibile trovare -lLLVMMSP430Desc
/usr/bin/ld: impossibile trovare -lLLVMMSP430Info
/usr/bin/ld: impossibile trovare -lLLVMMSP430AsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMMipsDisassembler
/usr/bin/ld: impossibile trovare -lLLVMMipsCodeGen
/usr/bin/ld: impossibile trovare -lLLVMMipsAsmParser
/usr/bin/ld: impossibile trovare -lLLVMMipsDesc
/usr/bin/ld: impossibile trovare -lLLVMMipsInfo
/usr/bin/ld: impossibile trovare -lLLVMMipsAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMHexagonDisassembler
/usr/bin/ld: impossibile trovare -lLLVMHexagonCodeGen
/usr/bin/ld: impossibile trovare -lLLVMHexagonAsmParser
/usr/bin/ld: impossibile trovare -lLLVMHexagonDesc
/usr/bin/ld: impossibile trovare -lLLVMHexagonInfo
/usr/bin/ld: impossibile trovare -lLLVMCppBackendCodeGen
/usr/bin/ld: impossibile trovare -lLLVMCppBackendInfo
/usr/bin/ld: impossibile trovare -lLLVMBPFCodeGen
/usr/bin/ld: impossibile trovare -lLLVMBPFDesc
/usr/bin/ld: impossibile trovare -lLLVMBPFInfo
/usr/bin/ld: impossibile trovare -lLLVMBPFAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMARMDisassembler
/usr/bin/ld: impossibile trovare -lLLVMARMCodeGen
/usr/bin/ld: impossibile trovare -lLLVMARMAsmParser
/usr/bin/ld: impossibile trovare -lLLVMARMDesc
/usr/bin/ld: impossibile trovare -lLLVMARMInfo
/usr/bin/ld: impossibile trovare -lLLVMARMAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMAMDGPUCodeGen
/usr/bin/ld: impossibile trovare -lLLVMAMDGPUAsmParser
/usr/bin/ld: impossibile trovare -lLLVMAMDGPUDesc
/usr/bin/ld: impossibile trovare -lLLVMAMDGPUUtils
/usr/bin/ld: impossibile trovare -lLLVMAMDGPUInfo
/usr/bin/ld: impossibile trovare -lLLVMAMDGPUAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMAArch64Disassembler
/usr/bin/ld: impossibile trovare -lLLVMAArch64CodeGen
/usr/bin/ld: impossibile trovare -lLLVMAArch64AsmParser
/usr/bin/ld: impossibile trovare -lLLVMAArch64Desc
/usr/bin/ld: impossibile trovare -lLLVMAArch64Info
/usr/bin/ld: impossibile trovare -lLLVMAArch64AsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMAArch64Utils
/usr/bin/ld: impossibile trovare -lLLVMMIRParser
/usr/bin/ld: impossibile trovare -lLLVMLibDriver
/usr/bin/ld: impossibile trovare -lLLVMOption
/usr/bin/ld: impossibile trovare -lLLVMTableGen
/usr/bin/ld: impossibile trovare -lLLVMLineEditor
/usr/bin/ld: impossibile trovare -lLLVMX86Disassembler
/usr/bin/ld: impossibile trovare -lLLVMX86AsmParser
/usr/bin/ld: impossibile trovare -lLLVMX86CodeGen
/usr/bin/ld: impossibile trovare -lLLVMSelectionDAG
/usr/bin/ld: impossibile trovare -lLLVMAsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMX86Desc
/usr/bin/ld: impossibile trovare -lLLVMMCDisassembler
/usr/bin/ld: impossibile trovare -lLLVMX86Info
/usr/bin/ld: impossibile trovare -lLLVMX86AsmPrinter
/usr/bin/ld: impossibile trovare -lLLVMX86Utils
/usr/bin/ld: impossibile trovare -lLLVMMCJIT
/usr/bin/ld: impossibile trovare -lLLVMPasses
/usr/bin/ld: impossibile trovare -lLLVMipo
/usr/bin/ld: impossibile trovare -lLLVMVectorize
/usr/bin/ld: impossibile trovare -lLLVMLinker
/usr/bin/ld: impossibile trovare -lLLVMIRReader
/usr/bin/ld: impossibile trovare -lLLVMAsmParser
/usr/bin/ld: impossibile trovare -lLLVMDebugInfoCodeView
/usr/bin/ld: impossibile trovare -lLLVMInterpreter
/usr/bin/ld: impossibile trovare -lLLVMCodeGen
/usr/bin/ld: impossibile trovare -lLLVMScalarOpts
/usr/bin/ld: impossibile trovare -lLLVMInstCombine
/usr/bin/ld: impossibile trovare -lLLVMInstrumentation
/usr/bin/ld: impossibile trovare -lLLVMProfileData
/usr/bin/ld: impossibile trovare -lLLVMBitWriter
/usr/bin/ld: impossibile trovare -lLLVMOrcJIT
/usr/bin/ld: impossibile trovare -lLLVMTransformUtils
/usr/bin/ld: impossibile trovare -lLLVMExecutionEngine
/usr/bin/ld: impossibile trovare -lLLVMTarget
/usr/bin/ld: impossibile trovare -lLLVMAnalysis
/usr/bin/ld: impossibile trovare -lLLVMRuntimeDyld
/usr/bin/ld: impossibile trovare -lLLVMObject
/usr/bin/ld: impossibile trovare -lLLVMMCParser
/usr/bin/ld: impossibile trovare -lLLVMBitReader
/usr/bin/ld: impossibile trovare -lLLVMMC
/usr/bin/ld: impossibile trovare -lLLVMCore
/usr/bin/ld: impossibile trovare -lLLVMSupport
/usr/bin/ld: impossibile trovare -lfaust
sletz commented 3 years ago
nicolalandro commented 3 years ago

The first point work sudo apt-get install llvm-8-dev, but the second get me an error:

fatal error: llvm-c/Core.h: File or directory does not exist

but if I try to see it seams work

$ llvm-config --libs core
-lLLVMCore -lLLVMSupport
nicolalandro commented 3 years ago

I notice that the version 8 does not work with llvm-config command but llvm-config-8, so I make a symbolic link and faust compile in develop mode.

After I exec sudo make install on faust codebase and I try to compile faustlive, but another error occurred, I put there the log files for error and standard output.

info.log errors.log

sletz commented 3 years ago

Shoul be fixed in 2.5.7.