Hi,
I'm trying to build the FLTK 1.3.0 with --enable-shared option under Centos 5.4
x86_64 and meet the following error.
=== making src ===
g++ -L. -L/usr/lib64 -Wl,-soname,libfltk.so.1.3 -lXext -lXft -lfontconfig
-lXinerama -lpthread -ldl -lm -lX11 -shared -fPIC -o libfltk.so.1.3 ...
I'm trying to build the FLTK 1.3.0 with --enable-shared
option under Centos 5.4 x86_64 and meet the following error.
=== making src ===
g++ -L. -L/usr/lib64 -Wl,-soname,libfltk.so.1.3 -lXext -lXft
-lfontconfig -lXinerama -lpthread -ldl -lm -lX11 -shared
-fPIC -o libfltk.so.1.3 ...
I'm trying to build the FLTK 1.3.0 with --enable-shared option under
Centos 5.4 x86_64 and meet the following error.
=== making src ===
g++ -L. -L/usr/lib64 -Wl,-soname,libfltk.so.1.3 -lXext -lXft \
-lfontconfig -lXinerama -lpthread -ldl -lm -lX11 -shared \
-fPIC -o libfltk.so.1.3 ...
On 26.07.2011 10:44, MacArthur, Ian (SELEX GALILEO, UK) wrote:
=== making src ===
g++ -L. -L/usr/lib64 -Wl,-soname,libfltk.so.1.3 -lXext -lXft
-lfontconfig -lXinerama -lpthread -ldl -lm -lX11 -shared
-fPIC -o libfltk.so.1.3 ...
/usr/bin/ld: Fl.o: relocation R_X86_64_32 against `a local
Hmm, isn't -fPIC already in the OP'S command line? At least
we can see
it in the linker command, which is probably not where it is
needed (?),
Yes, it needs to be in the compiler command, though I don't know what
the OP's compile command looked like.
That's why I suggested explicitly
Well I say mostly working they are displaying how I want them=20
to. My next job is to get them to react to button presses.=20
We're not using a keyboard or mouse we just have some arrow=20
keys and buttons that and I need to work out how to generate=20
events from them for the app to
I have about a dozen buttons which will be used to change
menus/options these are read through an FPGA device, I have a
driver working that reads the FPGA on a timer and then wakes
the user space app on a epoll when a button has been
pressed/released. This all works fine but I need to
I just downloaded the latest source and tweaked it a little to compile, but
not much. The text works but the other bits I had working tabs, images etc...
now don't.
Wait, you had to tweak it to compile? On what device / what config? It
should compile out of the box.
Did you try
I just downloaded the latest source and tweaked it a little
to compile, but not much. The text works but the other bits I
had working tabs, images etc... now don't.
The fltk-1 and fltk-2 API's are quite different, so there's some work in
getting your fltk code moved from one to the other.
The timeline went something like this: (ASCII art! Beware!)
|--fltk-1.2(abandoned)
|
BigBang--fltk-1.0--fltk-1.1fltk-1.3--now
|
|--fltk-2.x--
See also Article #825: What are the Versions of
I just downloaded the latest source and tweaked it a little to compile, but
not much. The text works but the other bits I had working tabs, images
etc... now don't.
Wait, you had to tweak it to compile? On what device / what config? It
should compile out of the box.
Did you try
Just tried 1.1.10 and everything works wonderfully. Thank you
for the info it has been a big help.
Doh!
I think I just realised why this doesn't work for you with fltk-1.3.
UTF8 support.
Box the XFT and Xlib backends in fltk-1.3 under X11 have been enhanced
to support UTF8 rendering.
So,
Doh!
I think I just realised why this doesn't work for you with fltk-1.3.
UTF8 support.
Box the XFT and Xlib backends in fltk-1.3 under X11 have been enhanced
to support UTF8 rendering.
So, for example, in the Xlib version, where fltk-1.1 uses XDrawString()
we now use XUtf8DrawString()
Hi,
I'm trying to build the FLTK 1.3.0 with --enable-shared option under Centos
5.4 x86_64 and meet the following error.
=== making src ===
g++ -L. -L/usr/lib64 -Wl,-soname,libfltk.so.1.3 -lXext -lXft -lfontconfig
-lXinerama -lpthread -ldl -lm -lX11 -shared -fPIC -o libfltk.so.1.3 ...
14 matches
Mail list logo