|
From: Mojca M. <moj...@gm...> - 2011-07-30 18:59:31
|
On Sat, Jul 30, 2011 at 19:03, sfeam (Ethan Merritt) wrote:
> On Saturday, 30 July 2011, Mojca Miklavec wrote:
>> Hello,
>>
>> The new gnuplot sources at least compile out of the box with wxt
>> (wxWidgets 2.9.2),
>
> To the best of my knowledge, no one has reported experience with
> gnuplot + wxWidgets 2.9 on any platform. Wouldn't it make more
> sense for you to test first with 2.8, which we know works on
> other platforms?
I'm still fighting with libraries. Since they are using Carbon
(abandoned by Apple & unsupported in 64-bit), wxWidgets 2.8 on 64-bit
macs are a pain. Moreover, using both wxt & x11 terminal
simultaneously is not possible.
gcc -g -O2 -arch i386 -o gnuplot_x11 gplt_x11.o gpexecute.o
getcolor_x11.o -L/usr/X11/lib -R/usr/X11/lib -lX11 -liconv
-L/opt/local/lib -lz -lpangocairo-1.0 -lcairo -lpangoft2-1.0
-lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -lintl
ld: warning: ignoring file getcolor_x11.o, file was built for
unsupported file format which is not the architecture being linked
(i386)
Undefined symbols for architecture i386:
"_quantize_gray", referenced from:
_PaletteSetColor in gplt_x11.o
"_rgb1_from_gray", referenced from:
_main in gplt_x11.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make[3]: *** [gnuplot_x11] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
After disabling x11 terminal, I have built it successfully on a remote
machine, but since I have no GUI access, I won't be able to test it
for the next couple of days.
On the local machine I apparently screwed something up and I still
don't know how to fix it.
But I would strongly suggest to try to make gnuplot work with
wxWidgets 2.9. The version 2.8 will be probably be useless on Macs
before the next stable version of wxWidgets is released.
(I'm now trying to build qt4-mac from MacPorts to test configuration,
but as I already figured out, the terminal doesn't work at the moment
and it is unlikely that using another qt library would change that.)
Mojca
|