Hi Johannes, When trying to compile dillo2 in OSX, FLTK2 compiles OK, dw's fltkviewbase.hh needs an time.h include and I get this error: isc.Tpo -c -o libDw_fltk_a-fltkmisc.o `test -f 'fltkmisc.cc' || echo './'`fltkmisc.cc fltkmisc.cc: In function 'int dw::fltk::misc::screenWidth()': fltkmisc.cc:34: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:34: error: 'xscreen' is not a member of 'fltk' fltkmisc.cc:34: error: 'DisplayWidth' was not declared in this scope fltkmisc.cc: In function 'int dw::fltk::misc::screenHeight()': fltkmisc.cc:39: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:39: error: 'xscreen' is not a member of 'fltk' fltkmisc.cc:39: error: 'DisplayHeight' was not declared in this scope fltkmisc.cc: In function 'void dw::fltk::misc::warpPointer(int, int)': fltkmisc.cc:44: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:44: error: 'None' was not declared in this scope fltkmisc.cc:45: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:45: error: 'xscreen' is not a member of 'fltk' fltkmisc.cc:45: error: 'RootWindow' was not declared in this scope fltkmisc.cc:46: error: 'XWarpPointer' was not declared in this scope make[1]: *** [libDw_fltk_a-fltkmisc.o] Error 1 make: *** [all-recursive] Error 1 Do you know the proper solution for this? -- Cheers Jorge.-
Hi Jorge, On Sun, Aug 03, 2008 at 01:30:01PM -0400, Jorge Arellano Cid wrote:
Hi Johannes,
When trying to compile dillo2 in OSX, FLTK2 compiles OK, dw's fltkviewbase.hh needs an time.h include and I get this error:
isc.Tpo -c -o libDw_fltk_a-fltkmisc.o `test -f 'fltkmisc.cc' || echo './'`fltkmisc.cc fltkmisc.cc: In function 'int dw::fltk::misc::screenWidth()': fltkmisc.cc:34: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:34: error: 'xscreen' is not a member of 'fltk' fltkmisc.cc:34: error: 'DisplayWidth' was not declared in this scope fltkmisc.cc: In function 'int dw::fltk::misc::screenHeight()': fltkmisc.cc:39: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:39: error: 'xscreen' is not a member of 'fltk' fltkmisc.cc:39: error: 'DisplayHeight' was not declared in this scope fltkmisc.cc: In function 'void dw::fltk::misc::warpPointer(int, int)': fltkmisc.cc:44: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:44: error: 'None' was not declared in this scope fltkmisc.cc:45: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:45: error: 'xscreen' is not a member of 'fltk' fltkmisc.cc:45: error: 'RootWindow' was not declared in this scope fltkmisc.cc:46: error: 'XWarpPointer' was not declared in this scope make[1]: *** [libDw_fltk_a-fltkmisc.o] Error 1 make: *** [all-recursive] Error 1
Do you know the proper solution for this?
Can you please try attached patch? It replaces X11 specific calls with platform independent ones from fltk2. They probabely didn't exist when fltkmisc.cc was coded. Cheers, Johannes
On Sun, Aug 03, 2008 at 07:52:56PM +0200, Johannes Hofmann wrote:
Hi Jorge,
On Sun, Aug 03, 2008 at 01:30:01PM -0400, Jorge Arellano Cid wrote:
Hi Johannes,
When trying to compile dillo2 in OSX, FLTK2 compiles OK, dw's fltkviewbase.hh needs an time.h include and I get this error:
isc.Tpo -c -o libDw_fltk_a-fltkmisc.o `test -f 'fltkmisc.cc' || echo './'`fltkmisc.cc fltkmisc.cc: In function 'int dw::fltk::misc::screenWidth()': fltkmisc.cc:34: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:34: error: 'xscreen' is not a member of 'fltk' fltkmisc.cc:34: error: 'DisplayWidth' was not declared in this scope fltkmisc.cc: In function 'int dw::fltk::misc::screenHeight()': fltkmisc.cc:39: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:39: error: 'xscreen' is not a member of 'fltk' fltkmisc.cc:39: error: 'DisplayHeight' was not declared in this scope fltkmisc.cc: In function 'void dw::fltk::misc::warpPointer(int, int)': fltkmisc.cc:44: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:44: error: 'None' was not declared in this scope fltkmisc.cc:45: error: 'xdisplay' is not a member of 'fltk' fltkmisc.cc:45: error: 'xscreen' is not a member of 'fltk' fltkmisc.cc:45: error: 'RootWindow' was not declared in this scope fltkmisc.cc:46: error: 'XWarpPointer' was not declared in this scope make[1]: *** [libDw_fltk_a-fltkmisc.o] Error 1 make: *** [all-recursive] Error 1
Do you know the proper solution for this?
Can you please try attached patch? It replaces X11 specific calls with platform independent ones from fltk2. They probabely didn't exist when fltkmisc.cc was coded.
Great, committed. I works, dillo2 runs native in Leopard! There are several glitches but it's quite a good start. 8-) -- Cheers Jorge.-
participants (2)
-
jcid@dillo.org
-
Johannes.Hofmann@gmx.de