1. RE: Q: eugtk

Jerry Story wrote:
>   I downloaded and installed Irv's new version of the EUgtk library.  The 
> previous version worked okay.  But with the new version, some demos work 
> and 
> some don't.  The error message usually is something is not declared.  
> Did I 
> screw up in the installation?  Or do others have the same problem?

Did you install the new demos? The older demos contained several 
deprecated functions. 

I just downloaded the latest version 2.5.2 this morning onto a 
clean computer, and all the demos run. What sort of error messages 
are you getting?

Regards,
Irv

new topic     » topic index » view message » categorize

2. RE: Q: eugtk

I replaced all the old demos with the new demos.

Error Messages that I'm getting:

arc.exu: 20     set_pen_color has not been declared

arrows.exu     wrapper.e 264 type_check failure, rgb is 65280

aspectframe.exu:20  aspect_frame has not been declared

barchart.exu: 29  get_drawingarea has not been declared

basicwindow.exu    This works.

button1.exu   type_check failure, context is {0,0,0}

calendar1.exu        This works.

calendar2.exu:  32    set_options has not been declared

clist1.exu: 53   get_clist_text has not been declared

clist2.exu         This works.

clist3.exu: 15    get_clist_text has not been declared

clock.exu: 30    get_width has not been declared

colordialog.exu   This works.

combo.exu      This works.

ctree.exu: 26    set_column_width has not been declared

deep-space.exu: 46   draw_line has not been declared

drawing.exu: 42  set_pen_color has not been declared

drivestat.exu: 44  set_background take 3 arguments           
set_background(win,#FFFFFF)

edit1.exu       This works.

edit2.exu        This works.

EuGTKWindow.exu     This works.

eventtest.exu             This works.

filedialog.exu             This works.

frames1.exu: 19    set_shadow has not been declared

gammacurve.exu      This works.

graph2.exu: 17  get_drawingarea has not been declared

graph.exu: 12    get_drawingarea has not been declared

grows-on-ya.exu: 36  draw_line has not been declared

GTKWindow.exu     This works.

labels1.exu: 26   set_background takes 3 arguments

listtest.exu: 23   set_row_height has not been declared

menus1.exu       This works.

messagebox.exu      type_check failure, context is {0,0,0,0,0,0,0,0,0}

notebook1.exu: 68  append_page has not been declared


   That's probably enough examples.

   All these demos are in  /home/jstory/programming/Euphoria23/eugtk/demos

   eugtk.so  and gdk and glib and gtk  all are in 
/home/jstory/programming/Euphoria23/euphoria/include

  So far as I know, everything is where it's supposed to be, apart from maybe 
a funny path for Euphoria.

   The previous version of eugtk didn't work until I changed the path in an 
include statement in one file, and then it worked perfectly.

new topic     » goto parent     » topic index » view message » categorize

3. RE: Q: eugtk

Jerry Story wrote:
>   I replaced all the old demos with the new demos.

Hi Jerry;

>From the error messages, it looks like you (Euphoria, actually) 
are finding an old version of gtk/wrapper.e

Most of the errors are calls to new functions which I added to 
the wrapper in the past couple of weeks. Perhaps there's an older 
wrapper.e somewhere which is being included instead of the new one?
Or perhaps for some reason (permissions?) the old copy was not 
overwritten when you installed the new set of files?

As a quick check, the correct wrapper.e file should be 75,971 bytes.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

4. RE: Q: eugtk

irv at take.maxleft.com wrote:
> 
> As a quick check, the correct wrapper.e file should be 75,971 bytes.
> 
Erm... after coffee, that number looks more like 75,385

Irv

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu