1. EuGTK4.12.0 Released - with improved WINDOWS support!

Download Links:

EuGTK4.12.0.tar.gz Sept 15, 2016 13.6 meg

EuGTK4.12.zip Sept 15, 2016 13.8 meg

Thanks again Irv!

new topic     » topic index » view message » categorize

2. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Please note a few things:

1. Later versions of the gtk libraries (up to ver. 3.20 now) have a look you may not like, while older versions (3.8) match the Aero look but lack some of the newer controls.

2. You will almost certainly need to add some icons. I have a set that seems to work, but is too big to post on google pages. If anyone needs 'em, let me know.

See the important notes included for places to download the Win GTK installer(s(.

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

3. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

irv said...

2. You will almost certainly need to add some icons. I have a set that seems to work, but is too big to post on google pages. If anyone needs 'em, let me know.

Is your set of icons to large to upload to the RDS User Contributions page?

I haven't noticed the dirth of icons problem on Linux, but if they are needed on Linux, I guess I'd like to have'em.

Thanks again, Irv. Ken Rhodes

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

4. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

No, Linux comes with all you need, and you can easily add more.

I'm sure windows users could download them too, but it would have to be done manually. Look for Adwaita themes, etc.

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

5. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

So i went to sourceforge, downloaded and ran the 3.8.1 installer, it made a \gtk-3.8.1\ directory, not a \Gtk-Runtime\ (which the EuGTK\demos\GtkEngine.e calls for), and there's no \bin\ directory either. So GtkEngine.e refuses to run.

Now what?

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

6. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

I must have given the wrong link. I just downloaded and installed 3.10 from the link below and it is compete. There are several other vers. to try there as well.

http://download2.polytechnic.edu.na/pub4/sourceforge/g/gt/gtkd-packages/gtk3-runtime/

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

7. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Well, I get http 404 (not found) when clicking on the above link.
Its not a case that you are signed in, have special access?

My mistake trying to post from my phone. The corrected link above should work.

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

8. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

My mistake trying to post from my phone. The corrected link above should work.

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

9. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

irv said...

I must have given the wrong link. I just downloaded and installed 3.10 from the link below and it is compete. There are several other vers. to try there as well.

http://download2.polytechnic.edu.na/pub4/sourceforge/g/gt/gtkd-packages/gtk3-runtime/

Ok, i downloaded the 3.10 32bit version, ran it. Then ran browser.ex from the demos, and got this:

Error loading libgailutil-3-0.dll 
Error loading libgdkglext-3.0-0.dll 
Error loading libgthread-2.0-0.dll 
Error loading libgtkglext-3.0-0.dll 
Error loading libgtksourceview-3.0-1.dll 
Error loading libiconv-2.dll 
Error loading libjpeg-62.dll 
Error loading libpng16-16.dll 
Error loading libcroco-0.6-3.dll 
Error loading librsvg-2-2.dll 
But the files are in the C:\Program Files\Gtk-Runtime\bin folder. Up popped a file listing. When i double-clicked on what looked like possibly more demos, i got this:
'eui' is not recognized as an internal or external command, 
operable program or batch file. 
'eui' is not recognized as an internal or external command, 
operable program or batch file. 

Press any key to continue . . .

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

10. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Are you using eugtk 4.12.0?

I ask because earlier vers. had the dll names hard coded in GtkEngine (a mistake).

4.12.0 Just loads every dll it finds in the bin directory, which is more likely to work. Don't worry if a couple are missing, such as librsvga, most things should work, except for the themed icons.

edit: other than that, I don't know. I don't have access to a 32-bit machine to test Edit2: on windows I have *.ex files associated with Euphoria Interpreter (Windowed) e.g. eui

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

11. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

irv said...

Are you using eugtk 4.12.0?

Yes: EuGTK4.12.0.zip , as called for.

irv said...

I ask because earlier vers. had the dll names hard coded in GtkEngine (a mistake).

4.12.0 Just loads every dll it finds in the bin directory, which is more likely to work. Don't worry if a couple are missing, such as librsvga, most things should work, except for the themed icons.

It apparently did load the other dlls just fine, but errored on those it listed? But still ran ok?

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

12. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

I recieved this msg:

( test13.ex:380): Gtk-WARNING **: Could not find the icon 'face-raspberry'. The 
'hicolor' theme 
was not found either, perhaps you need to install it. 
You can get a copy from: 
        http://icon-theme.freedesktop.org/releases 
If i dl those, will they work on windoze, and into which folders shall i place them?

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

13. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

wow, it just said it could not load any of the DLLs, and then tried to take more memory than the computer has:

Error loading libatk-1.0-0.dll 
Error loading libcairo-2.dll 
Error loading libcairo-gobject-2.dll 
Error loading libffi-6.dll 
Error loading libfontconfig-1.dll 
Error loading libfreetype-6.dll 
Error loading libgailutil-3-0.dll 
Error loading libgcc_s_sjlj-1.dll 
Error loading libgdk-3-0.dll 
Error loading libgdkglext-3.0-0.dll 
Error loading libgdk_pixbuf-2.0-0.dll 
Error loading libgio-2.0-0.dll 
Error loading libglib-2.0-0.dll 
Error loading libgmodule-2.0-0.dll 
Error loading libgobject-2.0-0.dll 
Error loading libgthread-2.0-0.dll 
Error loading libgtk-3-0.dll 
Error loading libgtkglext-3.0-0.dll 
Error loading libgtksourceview-3.0-1.dll 
Error loading libharfbuzz-0.dll 
Error loading libiconv-2.dll 
Error loading libintl-8.dll 
Error loading libjasper-1.dll 
Error loading libjpeg-62.dll 
Error loading liblzma-5.dll 
Error loading libpango-1.0-0.dll 
Error loading libpangocairo-1.0-0.dll 
Error loading libpangoft2-1.0-0.dll 
Error loading libpangowin32-1.0-0.dll 
Error loading libpixman-1-0.dll 
Error loading libpng16-16.dll 
Error loading libtiff-5.dll 
Error loading libxml2-2.dll 
Error loading zlib1.dll 
Error loading libcroco-0.6-3.dll 
Error loading librsvg-2-2.dll 
couldn't alloc 42793204 bytes 

EDIT: OOPS, it's after midnite, i read that as 4.2GB. Pretty sure i have 42,793,204 bytes.

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

14. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

I don't know why this isn't a huge problem so far, but the line

LIBS = dir("C:/Program Files/Gtk-Runtime/bin/*.dll") 

isn't saving the path to those DLLs, and current_dir says it's off in C:\Euphoria-10-Feb-2013\ , where it's sure not to find them. So the question becomes, why is any of this working at all?

EDIT:

Well, this isn't opening them either:

x = open_dll("C:\\Program Files\\Gtk-Runtime\\bin\\"&LIBS[i]) 

The files are there.

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

15. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

katsmeow said...

I recieved this msg:

( test13.ex:380): Gtk-WARNING **: Could not find the icon 'face-raspberry'. The 
'hicolor' theme 
was not found either, perhaps you need to install it. 
You can get a copy from: 
        http://icon-theme.freedesktop.org/releases 
If i dl those, will they work on windoze, and into which folders shall i place them?

I believe so. I put mine in C:/ProgramData/icons

Edit: you may want to also get Adwaita, which I think has more icons.

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

16. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

irv said...

Edit: you may want to also get Adwaita, which I think has more icons.

I think i'll wait till i can see the EuGTK demos running with no other errors. It seems pretty sure it's not going to load various dlls. Can't open_dll() make smarter comments about why it isn't loading the files?

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

17. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

I hacked down a copy of GtkEngine.e, so all it does is load dlls, which i can specify. It's using only OE function calls, i removed includes for other GTK files. This is all that it is:

with trace 
 
include dll.e 
 
atom x 
 
x = open_dll("libgailutil-3-0.dll") 
if x = 0 then puts(1,"Error \n") end if 
 
x = open_dll("libgdkglext-3.0-0.dll") 
if x = 0 then puts(1,"Error \n") end if 
 
x = open_dll("libgthread-2.0-0.dll") 
if x = 0 then puts(1,"Error \n") end if 
 
x = open_dll("libgtkglext-3.0-0.dll") 
if x = 0 then puts(1,"Error \n") end if 
 
x = open_dll("libgtksourceview-3.0-1.dll") 
if x = 0 then puts(1,"Error \n") end if 
 
x = open_dll("libiconv-2.dll") 
if x = 0 then puts(1,"Error \n") end if 
 
x = open_dll("libjpeg-62.dll") 
if x = 0 then puts(1,"Error \n") end if 
 
x = open_dll("libpng16-16.dll") 
if x = 0 then puts(1,"Error \n") end if 
 
trace(1) 
x=x 

I put this into C:\Program Files\Gtk-Runtime\bin with the dlls, and ran it. It printed "Error" eight times. It didn't load those 8 specified dlls.

Now what?

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

18. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

I made a few changes,

 
 
with trace 
 
include dll.e 
include std/os.e 
atom x 
 
x = open_dll("C:\\Program Files\\Gtk-Runtime\\bin\\libgailutil-3-0.dll") 
if x = 0 then puts(1,"Error libgailutil-3-0\n") end if 
sleep(1) 
x = open_dll("C:\\Program Files\\Gtk-Runtime\\bin\\libgdkglext-3.0-0.dll") 
if x = 0 then puts(1,"Error libgdkglext-3.0-0\n") end if 
sleep(1) 
x = open_dll("C:\\Program Files\\Gtk-Runtime\\bin\\libgthread-2.0-0.dll") 
if x = 0 then puts(1,"Error libgthread-2.0-0\n") end if 
sleep(1) 
x = open_dll("C:\\Program Files\\Gtk-Runtime\\bin\\libgtkglext-3.0-0.dll") 
if x = 0 then puts(1,"Error libgtkglext-3.0-0\n") end if 
sleep(1) 
x = open_dll("C:\\Program Files\\Gtk-Runtime\\bin\\libgtksourceview-3.0-1.dll") 
if x = 0 then puts(1,"Error libgtksourceview-3.0-1\n") end if 
sleep(1) 
x = open_dll("C:\\Program Files\\Gtk-Runtime\\bin\\libiconv-2.dll") 
if x = 0 then puts(1,"Error libiconv-2\n") end if 
sleep(1) 
x = open_dll("C:\\Program Files\\Gtk-Runtime\\bin\\libjpeg-62.dll") 
if x = 0 then puts(1,"Error libjpeg-62\n") end if 
sleep(1) 
x = open_dll("C:\\Program Files\\Gtk-Runtime\\bin\\libpng16-16.dll") 
if x = 0 then puts(1,"Error libpng16-16\n") end if 
 
trace(1) 
x=x 

And it prints out

Error libgdkglext-3.0-0 
Error libgtkglext-3.0-0 
Error libgtksourceview-3.0-1 

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

19. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

The two gl files can be left out, They are for open-gl graphics for which there are not yet instructions on how to use. SourceView can be left out, too.

The real question is: what's going on? I installed the same library (and 2 other vers.) last night. All worked.

I'm using Win 7 64-bits, and the routine in EuGTK has never failed to find and load a dll if it was there.

Edit: perhaps the vers. of opengl on your comp. vs. the ones with GTK aren't compatible?

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

20. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

I have reproduced (more or less ) the errors you are getting.

It only happens if there is a Gtk-Runtime folder and another such as GTK3-Runtime Win64 both on the computer.

I'm wondering if GTK has a hard-coded command to look in C:/Program Files/Gtk-Runtime before looking elsewhere? I deleted all C:/Program Files/gtk-anything, Then reinstalled just one, and matched the dir() path to that new folder, and everything works.

Please remove the two lines that add libcroco and librsvga, they shouldn't be there.

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

21. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Ok, i removed the GTK 3.81 dir from \Program files\, and commented out those two extra dll loads.

Re-running the code above (that with the sleep(1) in it), i get

Error libgailutil-3-0 
Error libgdkglext-3.0-0 
Error libgthread-2.0-0 
Error libgtkglext-3.0-0 
Error libgtksourceview-3.0-1 
Error libpng16-16 

Re-running C:\Euphoria-10-Feb-2013\EuGTK\demos\GtkEngine.e, it listed *every* dll as an error, ran up 100% cpu and 2GB of memory to itself, then dumped to the console what you see at http://DesignerThinking.com/ex.err , at which point i killed it with taskmgr.

You've obviously put a lot of time and effort into this GTK gui thing, i wish i could use it, i am trying, but like trying to use all the other different windoze gui apps in Eu, they just don't work.

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

22. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Irv, if you want to, i am willing to discuss this in real time with you on irc, and step thru what you want to happen, to make this work. It's kind of like why there is a #euphoria channel.

I have been waiting for ~13 years to have a plain text windoze gui for irc. I submitted irc.e here in 2013 (and in the years before), and no one has written a gui using it either.

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

23. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Solved!

Look at your PATH. Mine had C:/Program Files/Gtk-Runtime and GTK3-Runtime Win64, Plus a bunch of other needless stuff. I removed the ref. to these along with the other non-used stuff. I think open_dll uses the paths to find stuff, since with these set up, open_dll doesn't need or want a full path. Just the dll name.

Next, install gtk-runtime-3.18.exe. It installs in C:/Program Files/GTK3-Runtime Win64. (or 32, ymmv) The installer updates thr path correctly. Seems to start faster without all the bogus paths.

Then, you obtain your list of dlls by

LIBS = dir("C:/Program Files/GTK3-Runtime Win64/bin/*.dll") 
LIBS = vslice(LIBS,1) 
for i = 1 to length(LIBS) do 
   x = open_dll(LIBS[i]) 
...
new topic     » goto parent     » topic index » view message » categorize

24. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Uninstalled GTK v3.10.x. Downloaded and ran gtk3-runtime_3.18.3_32-bit.exe. It created and installed in C:\Program Files\Gtk-Runtime\.

Path is now PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\batch;;C:\Program Files\Gtk-Runtime\bin;

I ran a demo, and then GtkEngine.e alone, each case it listed *every* dll as an error.

I edited GtkEngine.e to hardcode the paths. I ran a demo, and then GtkEngine.e alone, each case it listed *every* dll as an error.

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

25. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

To GtkEngine.e, i edited

atom x 
system("PATH",1) 
trace(1) 
	for i = 1 to length(LIBS) do 

and it dumped:

PATH=C:\Program Files\TextPad 4;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\batch; 

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

26. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

I ran this :

C:\Euphoria-10-Feb-2013\EuGTK\demos>C:\Euphoria-10-Feb-2013\bin\eui.exe C:\Euphoria-10-Feb-2013\EuGTK\demos\GtkEngine.e 
and eui.exe threw this error:
This application has failed to start because dwmapi.dll was not found. Re-installing the application may fix this problem. 
and then for each "Error loading ..." line :
This application has failed to start because libstdc++-6.dll was not found. Re-installing the application may fix this problem. 
and then
This application has failed to start because libicucu56.dll was not found. Re-installing the application may fix this problem. 
And finally crashing hard with
C:\Euphoria-10-Feb-2013\EuGTK\demos\GtkEngine.e:9236 in function gtk_str_func() 
 
A machine-level exception occurred during execution of this statement (signal 5) 
 
 
... called from C:\Euphoria-10-Feb-2013\EuGTK\demos\GtkEngine.e:147 

Back to you, Irv.

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

27. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

I am at a loss to know what to do. I've always just installed Gtk and run - problems were with my programs, mostly issues with graphics and mime types on Win.)

The fact that some dlls load sometimes must mean something. Could you write a test that loads a non- gtk dll and see what happens?

Other than that, I don't have any suggestions. Perhaps someone who knows more about Windows can offer some help.

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

28. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

irv said...

Could you write a test that loads a non- gtk dll and see what happens?

with trace 
 
include dll.e  
 
atom x 
 
x = open_dll("C:\\Program Files\\7-Zip\\7z.dll") 
 
trace(1) 
x=x 

Ran it several times, x is a large non-zero number.

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

29. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

I tried something else, this works:

x = open_dll("C:\\Program Files\\Paint Shop Pro\\Jcap32.dll") 

but this does not:

LIBS = dir("C:\\Program Files\\Paint Shop Pro\\*.dll") 
	if atom(LIBS) then  
		crash("\nFATAL ERROR:\n************ Cannot find GTK runtime libraries (.dlls)\n") 
	end if 
	 
	LIBS = vslice(LIBS,1) 
	 
	--LIBS &= {"libcroco-0.6-3.dll"} -- removed per Irv 
	--LIBS &= {"librsvg-2-2.dll"} -- removed per Irv 
	 
	atom x 
 
	for i = 1 to length(LIBS) do 
		x = open_dll(LIBS[i]) 

Error loading Jcap32.dll 
Error loading jff.dll 
Error loading jlem3205.dll 
Error loading jtwn32.dll 
Error loading PCDLIB32.DLL 

"Jcap32.dll" loads one way, but not the other way?

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

30. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Spelling out the path in GtkEngine's open loop

x = open_dll("C:\\Program Files\\Paint Shop Pro\\"&LIBS[i]) 
 

throws only this one error:

Error loading jff.dll 
no matter how many times i run it.

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

31. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Regarding the dwmapi error thrown :

http://stackoverflow.com/questions/173433/how-to-fix-dwmapi-dll-delay-load-dependency-under-winxp

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

32. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

That must mean something. could the loop be asking for the next dll before the previous dll can do - whatever it is supposed to do on startup?

If you want to try, write out the dll names from LIBS to a text file, and do a search/replace to make each a separate open_dll() call.

I know it's a lot of work. That's the way I did it previously. But it won't prove anything if I do that. Mine works fine with the loop.

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

33. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

irv said...

That must mean something. could the loop be asking for the next dll before the previous dll can do - whatever it is supposed to do on startup?

That's why i had added those sleep(1) lines many hours ago. But they had no effect other than to slow down execution.

The webpage url i gave for the dwmapi error says that windows may not load the dlls until they are actually used in the program, plus there's a Visual Studio bug involved. I'm now lost. I don't use .net, VS, or C++, and the dlls in question are Vista dlls.

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

34. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

irv said...

If you want to try, write out the dll names from LIBS to a text file, and do a search/replace to make each a separate open_dll() call.

I wanted to do that many hours ago, and did so, see: http://openeuphoria.org/forum/m/130356.wc

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

35. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

Too many different failures, all related to one basic call: open_dll()

After all, nothing of interest happens before the dlls start loading, and nothing else can happen until that is complete.

Is there any chance that your Eu libraries or eui itself could be corrupted? Remember earlier error re: eui not found/not an executable file - or whatever. That's kind of puzzling .

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

36. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

irv said...

Is there any chance that your Eu libraries or eui itself could be corrupted? Remember earlier error re: eui not found/not an executable file - or whatever. That's kind of puzzling .

I don't recall that error. When was it? Everything else is runnng fine.

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

37. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

  1. 9 in this thread.

Anyway, there's no hope of finding the problem when the symptoms are different each time.

If there's anyone else here still using Windows, maybe they can tell us what's happening .

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

38. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

irv said...
  1. 9 in this thread.

That's because eui is hardcoded on line 116 of browser.e, and it's not in the PATH variable, so it's unfound. Since i have been using eui since that post, it's obviously found and working.

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

39. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

So 33 posts of the 38 in this thread are about EuGTK not working.

I give up. I cannot have a gui on a windows machine. It's that simple.

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

40. Re: EuGTK4.12.0 Released - with improved WINDOWS support!

What can I say? It works for me. Not that I will be using it. Tomorrow, I'll be trying to figure out why the last Win update broke our ability to use our laser printers.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu