1. EuGTK has many errors
- Posted by penpal0andrew May 11, 2011
- 1383 views
I cannot tell if the errors are because of me having the wrong set up or because this has not been tested with Euphoria 4.0.2
An example is test38, which gives this error:
# eui alltests Exec => test38.ex /mnt/sdb1/euphoria-4.0.2-Linux-ix86/include/std/sequence.e:2473 in function flatten() type_check failure, s is -1 ... called from /mnt/sdb1/demos/test38.ex:139 --> See ex.err
2. Re: EuGTK has many errors
- Posted by irv May 12, 2011
- 1284 views
You should have the following at the top of GtkEngine.e. If it's not there, you have a mismatch between Euphoria 4.0 and the EuGtk versions. I'll try to post a current version of EuGTK to RDS's site later today, if I can get a good internet connection. Right now, it's too slow.
namespace gtk public constant LGPL = """ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Pl, Suite 330, Boston, MA 02111-1307 USA"""
3. Re: EuGTK has many errors
- Posted by penpal0andrew May 12, 2011
- 1306 views
yes I have that - i assume you mean the namespace gtk
someone as great as you should have reliable high speed internet.
4. Re: EuGTK has many errors
- Posted by irv May 12, 2011
- 1338 views
I've posted the latest version 4.4.0 - checked today, all 96 tests work fine - to a google page. Can't access RDS right now.
http://sites.google.com/site/euphoriagtk/
Bear in mind, this works with Euphoria Interpreter v4.0.2 Linux, Using System Memory Revision Date: 2011-04-05, Id: 2be80036fcd3 and libgtk-x11-2.0.so.0.2200.0
And to have all GTK controls work, you'll need current GTK libraries. I'm surprised to find out that some current Linux distros use VERY old versions of GTK, which means some things will not work. You can run a program using eui -d REG_E alltests.ex to display methods declared in EuGTK which do not exist in the version of GTK that you're running. There will always be a few, since the GTK docs seem to run ahead of the actual release or incorporation of the updated libraries (and I work from the docs).
5. Re: EuGTK has many errors
- Posted by penpal0andrew May 12, 2011
- 1315 views
Cool way to post a project online!
Anyway, you did fix the specific demo I mentioned, but there are other issues. for example, when using demo 70, black rectangles cover the controls when I go to change them. Also, when I edit one, it brings up an empty file with that name into geany. I may have a different version of that editor than you do?
My GTK library is - /usr/lib/libgtkglext-x11-1.0.so /usr/lib/libgtkhtml-2.so.0.0.0 /usr/lib/libgtksourceview-2.0.so.0.0.0 /usr/lib/libgtk-x11-2.0.so.0.2200.1
Thanks.
6. Re: EuGTK has many errors
- Posted by mattlewis (admin) May 12, 2011
- 1291 views
Anyway, you did fix the specific demo I mentioned, but there are other issues. for example, when using demo 70, black rectangles cover the controls when I go to change them. Also, when I edit one, it brings up an empty file with that name into geany. I may have a different version of that editor than you do?
On Kubuntu 11.04 it looks ok. I don't have the gtksourceview (or geany) libraries installed.
Matt
7. Re: EuGTK has many errors
- Posted by penpal0andrew May 12, 2011
- 1336 views
I changed my GTK theme and those black areas went away.
I was using industrial myst and now I am using clearlooks.
The other problem is that some images come up with a red x - may be a path issue.
There are so many things which people can change. tech support in Linux must be a nightmare job.
thanks. your package has great potential. i will let you know what else I find.