bugGnash - The GNU Flash player - Bugs: bug #19618, fltk.cpp error on OS X

 
 

bug #19618: fltk.cpp error on OS X

Submitted by:  Ann Barcomb <ann>
Submitted on:  Tue 17 Apr 2007 01:21:20 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Bastiaan Jacques <bjacques>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 17 Apr 2007 01:21:20 PM UTC, original submission:

On OS X 10.4.9, compilation fails in fltk.cpp. When a few things are commented out (see the attached file), it progresses as far as the problem described in bug #19556. Bastiaan says that these fltk modifications should not be committed at this point; I am submitting this as a reminder of this issue.

These are the errors:

g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../server -I../server/parser -I../server/vm -I../libltdl -I../libbase -I../backend -I../libgeometry -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2 -I/opt/local/include/boost-1_33_1 -D_THREAD_SAFE -I/usr/local/include/agg2 -DPKGDATADIR=\"/usr/local/share/gnash\" -DRENDERER_CONFIG=\"agg\" -DGUI_CONFIG=\"fltk\" -DMEDIA_CONFIG=\"none\" -DTARGET_CONFIG=\"\" -g -O2 -D_THREAD_SAFE -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT gui.lo -MD -MP -MF .deps/gui.Tpo -c gui.cpp -fno-common -DPIC -o .libs/gui.o
In file included from fltk.cpp:23:
/usr/local/include/fltk/x11.h:50:25: error: X11/Xlib.h: No such file or directory
/usr/local/include/fltk/x11.h:51:26: error: X11/Xutil.h: No such file or directory
/usr/local/include/fltk/x11.h:56:26: error: X11/Xatom.h: No such file or directory
/usr/local/include/fltk/x11.h:64:38: error: X11/extensions/XInput.h: No such file or directory
/usr/local/include/fltk/x11.h:65:34: error: X11/extensions/XI.h: No such file or directory
/usr/local/include/fltk/x11.h:79: error: 'Region' does not name a type
/usr/local/include/fltk/x11.h:87: error: variable or field 'open_display' declared void
/usr/local/include/fltk/x11.h:87: error: 'int fltk::open_display' redeclared as different kind of symbol
/usr/local/include/fltk/x11.h:86: error: previous declaration of 'void fltk::open_display()'
/usr/local/include/fltk/x11.h:87: error: 'Display' was not declared in this scope
/usr/local/include/fltk/x11.h:87: error: expected primary-expression before ')' token
/usr/local/include/fltk/x11.h:90: error: expected initializer before '*' token
/usr/local/include/fltk/x11.h:91: error: 'XWindow' does not name a type
/usr/local/include/fltk/x11.h:93: error: expected initializer before '*' token
/usr/local/include/fltk/x11.h:94: error: 'Colormap' does not name a type
/usr/local/include/fltk/x11.h:100: error: 'XEvent' does not name a type
/usr/local/include/fltk/x11.h:109: error: 'XWindow' does not name a type
/usr/local/include/fltk/x11.h:110: error: expected initializer before '*' token
/usr/local/include/fltk/x11.h:111: error: 'Atom' does not name a type
/usr/local/include/fltk/x11.h:112: error: 'Atom' does not name a type
/usr/local/include/fltk/x11.h:113: error: 'Atom' does not name a type
/usr/local/include/fltk/x11.h:119: error: 'GC' does not name a type
/usr/local/include/fltk/x11.h:120: error: 'XWindow' does not name a type
/usr/local/include/fltk/x11.h:123: error: variable or field 'clip_region' declared void
/usr/local/include/fltk/x11.h:123: error: 'Region' was not declared in this scope
/usr/local/include/fltk/x11.h:124: error: 'Region' does not name a type
/usr/local/include/fltk/x11.h:126: error: variable or field 'draw_into' declared void
/usr/local/include/fltk/x11.h:126: error: 'XWindow' was not declared in this scope
/usr/local/include/fltk/x11.h:126: error: expected primary-expression before 'int'
/usr/local/include/fltk/x11.h:126: error: expected primary-expression before 'int'
/usr/local/include/fltk/x11.h:126: error: initializer expression list treated as compound expression
/usr/local/include/fltk/x11.h:127: error: variable or field 'stop_drawing' declared void
/usr/local/include/fltk/x11.h:127: error: 'XWindow' was not declared in this scope
/usr/local/include/fltk/x11.h:130: error: expected initializer before '*' token
/usr/local/include/fltk/x11.h:143: error: 'XWindow' does not name a type
/usr/local/include/fltk/x11.h:144: error: 'XWindow' does not name a type
/usr/local/include/fltk/x11.h:145: error: 'XWindow' does not name a type
/usr/local/include/fltk/x11.h:147: error: 'Region' does not name a type
/usr/local/include/fltk/x11.h:153: error: 'Cursor' in namespace '::' does not name a type
/usr/local/include/fltk/x11.h:159: error: 'XVisualInfo' has not been declared
/usr/local/include/fltk/x11.h:159: error: 'Colormap' has not been declared
/usr/local/include/fltk/x11.h:161: error: 'XWindow' has not been declared
/usr/local/include/fltk/x11.h:166: error: 'XWindow' does not name a type
/usr/local/include/fltk/x11.h:167: error: 'XWindow' was not declared in this scope
mv -f .deps/fltk_glue_agg.Tpo .deps/fltk_glue_agg.Plo
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../server -I../server/parser -I../server/vm -I../libltdl -I../libbase -I../backend -I../libgeometry -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2 -I/opt/local/include/boost-1_33_1 -D_THREAD_SAFE -I/usr/local/include/agg2 -DPKGDATADIR=\"/usr/local/share/gnash\" -DRENDERER_CONFIG=\"agg\" -DGUI_CONFIG=\"fltk\" -DMEDIA_CONFIG=\"none\" -DTARGET_CONFIG=\"\" -g -O2 -D_THREAD_SAFE -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT NullGui.lo -MD -MP -MF .deps/NullGui.Tpo -c -o NullGui.lo NullGui.cpp
fltk.cpp: In member function 'void gnash::FltkGui::handleKey(unsigned int)':
fltk.cpp:176: error: no matching function for call to 'gnash::FltkGui::notify_key_event(gnash::key::code&, bool)'
gui.h:189: note: candidates are: void gnash::Gui::notify_key_event(gnash::key::code, int, bool)
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../server -I../server/parser -I../server/vm -I../libltdl -I../libbase -I../backend -I../libgeometry -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2 -I/opt/local/include/boost-1_33_1 -D_THREAD_SAFE -I/usr/local/include/agg2 -DPKGDATADIR=\"/usr/local/share/gnash\" -DRENDERER_CONFIG=\"agg\" -DGUI_CONFIG=\"fltk\" -DMEDIA_CONFIG=\"none\" -DTARGET_CONFIG=\"\" -g -O2 -D_THREAD_SAFE -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT NullGui.lo -MD -MP -MF .deps/NullGui.Tpo -c NullGui.cpp -fno-common -DPIC -o .libs/NullGui.o
make[3]: *** [fltk.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/NullGui.Tpo .deps/NullGui.Plo
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/gui.Tpo .deps/gui.Plo
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Ann Barcomb <ann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #12513:  fltk.diff added by ann (686B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bjacques (Updated the item)
  • -unavailable- added by ann (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 24 May 2007 09:37:26 PM UTCbjacquesStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 17 Apr 2007 01:21:20 PM UTCannAttached File-=>Added fltk.diff, #12513

    Back to the top


    Powered by Savane 3.1-cleanup1