Hi,

I managed to circumvent the backend scanning problem by editing the cmake
file to always include the LLVM backend for the dynamic lib, but something
goes wrong in the llvm-config process as well, as clang cannot find the
LLVM headers:

In file included from
/Users/macbook/downloads/faust-master-dev-build/compiler/libcode.cpp:158:

In file included from
/Users/macbook/downloads/faust-master-dev-build/compiler/generator/llvm/llvm_code_container.hh:26:

*/Users/macbook/downloads/faust-master-dev-build/compiler/generator/llvm/llvm_instructions.hh:67:10:
**fatal error: *

*      'llvm/Bitcode/ReaderWriter.h' file not found*

#include <llvm/Bitcode/ReaderWriter.h>

*         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
I hope this is of any help.

Kind regards,

Stijn.

PS: I excluded the long build log that I included in my last message, as it
caused the email to be blocked by the mailing system


2018-05-11 16:20 GMT+02:00 stijn . <stijn.v.b...@gmail.com>:

> Hello Stéphane,
>
> I am using the build system on master-dev in the build folder and it works
> really easy!
>
> I built a libfaust dynamic lib on OSX using the cmake based make file.
> using `make configdynamic` to configure using cmake and then `make` to
> build. I linked my own project to the dynamic lib however I get linker
> errors when trying to use createDSPFactoryFromFIle() and deleteDSPFactory()
> from llvm-dsp.h. So it looks like the LLVM backend has not been compiled
> into my dynamic lib. The file backends.cmake contains the line:
>
> set ( LLVM_BACKEND            STATIC DYNAMIC        CACHE STRING  "Include
> LLVM backend"      FORCE )
>
>
> this would mean LLVM_BACKEND would be set for the dynamic lib no?
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to