Re: RC1 64-bit error

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...
constant setname = define_c_proc(GTK,"gtk_widget_set_name",{C_POINTER,C_POINTER}) 
----------------------------------- 
export function create(..... 
----------------------------------- 
-- do some stuff here 
c_proc(setname,{handle,allocate_string("ThisName")}) 
 

This works fine in hundreds of places with 32 bit, but on 64bit AMD running Linux Ultimate, Euphoria can't see the constant declared outside the function.

That's very strange. My main machine is 64-bit, and I haven't seen this sort of thing. Since you're running RC1, there's a new utility that's shipping with it: eudist. It's really useful for grabbing all of the code required for a program.

Could you try:

$ eudist irv.ex 
..or whatever the real name is. It should pull the main file and all of the includes into a subdir named eudist (you can customize that with a command line option). Then, if you could post a tarball of that (or email it to me), I'd like to take a look.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu