Csound Csound-dev Csound-tekno Search About

[Csnd] Faust opcodes

Date2019-01-20 23:37
Fromebmtranceboy
Subject[Csnd] Faust opcodes
Hello and happy new year, everyone!

Four years after my successful installation of the Faust opcodes on Ubuntu with LLVM 3.3 (https://github.com/csound/csound/blob/develop/BUILD.md#faust-opcodes), I'm stuck once again with the same problem with LLVM 5.0 on Ubuntu 18.04.

I have FAUST Version 2.14.2 Build with LLVM version 5.0.1 with libfaust.a at /usr/local/lib/.

My cmake command:

cmake -DLLVM_DIR=/usr/lib/llvm-5.0/share/llvm/cmake -DCMAKE_MODULE_LINKER_FLAGS="-L/usr/lib/llvm-5.0/lib" -DBUILD_FAUST_OPCODES=1 -DFAUST_LIBRARY=/usr/local/lib/libfaust.a ..

produces:

-- BUILD_FAUST_OPCODES is enabled.

but csound -z (Csound version 6.13 beta (double samples)) doesn't show the Faust opcodes and seems to be missing some links:

WARNING: could not open library '/usr/local/lib/csound/plugins64-6.0/libfaustcsound.so' (/usr/local/lib/csound/plugins64-6.0/libfaustcsound.so: undefined symbol: _ZTIN4llvm7CmpInstE)

What linking steps am I missing?
Thanks

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-01-20 23:47
FromVictor Lazzarini
SubjectRe: [Csnd] Faust opcodes
Looks like an LLVM symbol not defined in the faust opcode lib build. Make sure you don't have more than one llvm versions in
your system. 

The symbol's mangled name is

ZTIN4llvm7CmpInstE

which hints at being an LLVM 7 rather than
LLVM 5

I think there is a lib version mismatch somewhere.


Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 20 Jan 2019, at 23:37, ebmtranceboy <ebmtranceboy@gmail.com> wrote:

Hello and happy new year, everyone!

Four years after my successful installation of the Faust opcodes on Ubuntu with LLVM 3.3 (https://github.com/csound/csound/blob/develop/BUILD.md#faust-opcodes), I'm stuck once again with the same problem with LLVM 5.0 on Ubuntu 18.04.

I have FAUST Version 2.14.2 Build with LLVM version 5.0.1 with libfaust.a at /usr/local/lib/.

My cmake command:

cmake -DLLVM_DIR=/usr/lib/llvm-5.0/share/llvm/cmake -DCMAKE_MODULE_LINKER_FLAGS="-L/usr/lib/llvm-5.0/lib" -DBUILD_FAUST_OPCODES=1 -DFAUST_LIBRARY=/usr/local/lib/libfaust.a ..

produces:

-- BUILD_FAUST_OPCODES is enabled.

but csound -z (Csound version 6.13 beta (double samples)) doesn't show the Faust opcodes and seems to be missing some links:

WARNING: could not open library '/usr/local/lib/csound/plugins64-6.0/libfaustcsound.so' (/usr/local/lib/csound/plugins64-6.0/libfaustcsound.so: undefined symbol: _ZTIN4llvm7CmpInstE)

What linking steps am I missing?
Thanks

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here