1. Grand Unification

I have combined the Windows and Linux/BSD versions of EuGTK into 
a single package, which should work unchanged on all platforms.

Several bugs were fixed in the Windows version, but there are 
certain to be a few left running around. 

Any tests on any platform(s) will be greatly appreciated.

http://sourceforge.net/projects/eugtk

Irv

new topic     » topic index » view message » categorize

2. Re: Grand Unification

irv mullins wrote:
> 
> I have combined the Windows and Linux/BSD versions of EuGTK into 
> a single package, which should work unchanged on all platforms.
> 
> Several bugs were fixed in the Windows version, but there are 
> certain to be a few left running around. 
> 
> Any tests on any platform(s) will be greatly appreciated.
> 
> <a
> href="http://sourceforge.net/projects/eugtk">http://sourceforge.net/projects/eugtk</a>
> 
> Irv
>
Irv,

I just downloaded the package and it complained about the
"include gtk2/wrapper.e".  I just changed to "include wrapper.e" 
since the include files are in a directory pointed to by the 
EUINC variable.

Even if I had a gtk2 directory, wouldn't it not work with the "/" 
directory qualifier on Windows?

Jonas

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

3. Re: Grand Unification

Jonas Temple wrote:

> I just downloaded the package and it complained about the
> "include gtk2/wrapper.e".  I just changed to "include wrapper.e" 
> since the include files are in a directory pointed to by the 
> EUINC variable.
> 
> Even if I had a gtk2 directory, wouldn't it not work with the "/" 
> directory qualifier on Windows?

Good point. I'll remove the gtk2/ part, and update the package.

Irv

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

4. Re: Grand Unification

irv mullins wrote:
> 
> Jonas Temple wrote:
> 
> > I just downloaded the package and it complained about the
> > "include gtk2/wrapper.e".  I just changed to "include wrapper.e" 
> > since the include files are in a directory pointed to by the 
> > EUINC variable.
> > 
> > Even if I had a gtk2 directory, wouldn't it not work with the "/" 
> > directory qualifier on Windows?
> 
> Good point. I'll remove the gtk2/ part, and update the package.
> 
> Irv

What do I gotta do with that EUINC variable in Mandrake 9.2 to get the
demos in EuGTK_Aug21 to find wrapper.e?

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

5. Re: Grand Unification

Jerry Story wrote:
> 
> irv mullins wrote:
> > 
> > Jonas Temple wrote:
> > 
> > > I just downloaded the package and it complained about the
> > > "include gtk2/wrapper.e".  I just changed to "include wrapper.e" 
> > > since the include files are in a directory pointed to by the 
> > > EUINC variable.
> > > 
> > > Even if I had a gtk2 directory, wouldn't it not work with the "/" 
> > > directory qualifier on Windows?
> > 
> > Good point. I'll remove the gtk2/ part, and update the package.
> > 
> > Irv
> 
> What do I gotta do with that EUINC variable in Mandrake 9.2 to get the
> demos in EuGTK_Aug21 to find wrapper.e?
> 

I downloaded the package and tried it on WinXP. 
I get the following error (after taking care of the wrapper.e not found):
C:\EUPHORIA\include\dll.e:50 in function define_c_func() 
type_check failure, lib is {32' '} 
    lib = {32' '}
    routine_name = {833416}
    arg_sizes = {33554436,100663300}
    return_type = 33554436

... called from C:\EUPHORIA\INCLUDE\gtk2\method.gtk:73 in function func()  
    which_lib = 0
    name = 833416
    params = {33554436,100663300}
    retval = 33554436
    fn = <no value>

... called from C:\EUPHORIA\INCLUDE\gtk2\gobject.gtk:173 

I am using this with the Windows GTK installed in: C:\EUPHORIA\GTK\2.0\

'Debo

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

6. Re: Grand Unification

Jerry Story wrote:

> 
> What do I gotta do with that EUINC variable in Mandrake 9.2 to get the
> demos in EuGTK_Aug21 to find wrapper.e?

Here's my .bash_profile settings:

PATH=$PATH:$HOME/bin
PATH=$PATH:$HOME/euphoria/bin
EUDIR=$HOME/euphoria
EUINC=$HOME/euphoria/include/gtk2
GDK_USE_XFT=1
export PATH EUDIR EUINC GDK_USE_XFT 

And here's AUTOEXEC.BAT for Win98:

SET EUDIR=C:\EUPHORIA
SET PATH=%PATH%;C:\EUPHORIA\BIN
SET PATH=%PATH%;C:\GTK\LIB
SET EUINC=C:\euphoria\include\gtk2
SET EUINC=%EUINC%;C:\win32lib
SET PATH=%PATH%;c:\gtk\bin

Hope that helps.
With Linux, you need to log out and back in before that will take 
effect. 

Irv

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

7. Re: Grand Unification

Gbadebo Oladosu wrote:

> I downloaded the package and tried it on WinXP. 
> I get the following error (after taking care of the wrapper.e not found):
.....
> I am using this with the Windows GTK installed in: C:\EUPHORIA\GTK\2.0\

Here's AUTOEXEC.BAT for Win98:

SET EUDIR=C:\EUPHORIA
SET PATH=%PATH%;C:\EUPHORIA\BIN
SET PATH=%PATH%;C:\GTK\LIB
SET EUINC=C:\euphoria\include\gtk2
SET EUINC=%EUINC%;C:\win32lib
SET PATH=%PATH%;c:\gtk\bin

My GTK library files (.dll's) are in C:\gtk\bin
You might try adding C:\EUPHORIA\GTK\2.0 to your PATH in AUTOEXEC.BAT

Regards,
Irv

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

8. Re: Grand Unification

Gbadebo Oladosu wrote:

> I downloaded the package and tried it on WinXP. 
> I get the following error (after taking care of the wrapper.e not found):
> C:\EUPHORIA\include\dll.e:50 in function define_c_func() 
> type_check failure, lib is {32' '} 

Something else to try: open gobject.gtk, and near the bottom, find these 
lines:
{"Property",
		proc(GOBJ, "g_object_set_property", {P, S, P}), 
		func(0, get_property, {P, S}, P)}, 


Change the third line to:
NULL},


That might solve the problem. 

Regards,
Irv

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

9. Re: Grand Unification

Oh, and one more thing: EuGTK requires Euphoria 2.4.

Irv

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

10. Re: Grand Unification

irv mullins wrote:

>>I just downloaded the package and it complained about the
>>"include gtk2/wrapper.e".  I just changed to "include wrapper.e" 
>>since the include files are in a directory pointed to by the 
>>EUINC variable.
>>
>>Even if I had a gtk2 directory, wouldn't it not work with the "/" 
>>directory qualifier on Windows?
>>    
>>
>Good point. I'll remove the gtk2/ part, and update the package.
>
>Irv
>
It works for me. WinXP Pro.

    Martin

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

11. Re: Grand Unification

Martin Stachon wrote:

> It works for me. WinXP Pro.

Thanks, glad to know that. Windows is very strange. 
Some people get all sorts of errors, others don't, 
even if they are using the same version of Windows.
I got one e-mail who said he could run EuGTK just fine on his 
home computer (with XP), but not on his office computer 
(with XP).

I had thought about going out and buying XP just so I could 
debug things myself, but after seeing the above, that might 
be a waste of money.

Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu