Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Help for preparing an FLTK plug-in opcode

Date2008-04-30 22:08
FromMichael Gogins
Subject[Csnd] Re: Re: Re: Help for preparing an FLTK plug-in opcode
Did you build FLTK with --enable-threads or whatever it is?

Regards,
Mike

-----Original Message-----
>From: Uğur Güney 
>Sent: Apr 30, 2008 5:05 PM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] Re: Re: Help for preparing an FLTK plug-in opcode
>
># Hi Victor,
># Thanks, _DUSE_DOUBLE solved the first problem. But unfortunately
>second one remains.
>
># I compiled with: g++ -O2 -c ugur4.cpp  -o ugur4.o -DUSE_DOUBLE
>`fltk-config --cxxflags`
># and made the .so file with: ld -E --shared ugur4.o -o ugur4.so
># but get the same error: WARNING: could not open library
>'/usr/lib/csound/plugins64/ugur4.so'
>(/usr/lib/csound/plugins64/ugur4.so: undefined symbol: _Znwj)
># I searched google with the keyword "Undefined Symbol: _Znwj", saw a
>post and tried this one: g++ -shared -lstdc++ `fltk-config --cxxflags`
>-o ugur4.so ugur4.cpp -DUSE_DOUBLE
># This time the warning message changed:  WARNING: could not open
>library '/usr/lib/csound/plugins64/ugur4.so'
>(/usr/lib/csound/plugins64/ugur4.so: undefined symbol:
>_ZN9Fl_WindowC1EiiPKc)
>
># I looked at the Synaptic Package Manager. It seems like that I have
>the development lib libraries.
># Can there be a conflict between the compiler versions of my gcc and
>the gcc with which Csound is compiled or between versions of FLTK's? I
>have g++ 4.2 and FLTK 1.1.7
># Or did I made something wrong in the code?
>-ugur-
>
>
>
>On Wed, Apr 30, 2008 at 7:20 PM, Victor Lazzarini
> wrote:
>> 1) MYFLT: don't define it yourself, use -DUSE_DOUBLE
>>
>>  2)It's a link error, try building the C++ code with g++ instead of
>>  gcc (If you have not done so). One of the default C++ libs seems
>>  to be missing.
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"





Date2008-04-30 22:38
FromUğur Güney
Subject[Csnd] Re: Re: Re: Re: Help for preparing an FLTK plug-in opcode
AttachmentsNone  

Date2008-04-30 22:56
FromFelipe Sateler
Subject[Csnd] Re: Re: Re: Re: Re: Help for preparing an FLTK plug-in opcode
AttachmentsNone