# 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
<
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@... with body "unsubscribe csound"