gtk2: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | The package GTK2 is a header to the GTK 2.x libraries. The headers mostly try to be compatible to 2.6 with some 2.8 extensions. | |
| 2 | 2 | ||
| 3 | 3 | It is expected that the next lazarus version (0.9.28) will default to gtk2. Currently, gtk1 is still the default, though gtk2 is already in wide use. | |
| 4 | 4 | ||
| 5 | 5 | Note that while GTK(2) is mostly used on Unix, it is known to work on Windows too, though to our knowledge not tested regularly. | |
| 6 | 6 | ||
| 7 | 7 | Reportedly (bug 12359) the following libraries are required for windows: | |
| 8 | 8 | ||
| 9 | - | ||
| 10 | - | ||
| 9 | + | ```text | |
| 10 | + | libgdkglext-win32-1.0.0.dll | |
| 11 | + | libglade-2.0-0.dll | |
| 12 | + | ``` | |
| 11 | 13 | ||
| 12 | 14 | # fpu problem under windows | |
| 13 | 15 | ||
| 14 | 16 | A documented problem [bug 12359](http://bugs.freepascal.org/view.php?id=12359) states that the default FPU mask of FPC under windows can be a problem for the GTK libraries. The gtk_demo example is affected by this. | |
| 15 | 17 | ||
| 16 | 18 | See also | |
| 17 | 19 | ||
| 18 | 20 | - [fpc-devel msg](http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg12237.html) | |
| 19 | 21 | ||
| 20 | 22 | This can be avoided by setting the FPU mask to \$133F as first line in your program. | |
| 21 | 23 | ||
| 22 | - | ||
| 24 | + | ```text | |
| 25 | + | Set8087CW($133F); | |
| 26 | + | ``` | |
| 23 | 27 | ||
| 24 | 28 | This might have an affect on Delphi compatibility of floating point operations though. | |
| 25 | 29 | ||
| 26 | 30 | --- | |
| 27 | 31 | *From the Free Pascal wiki, page "gtk2", as it stood on 2013-04-30 after a change by Jwdietrich, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 28 | 32 | Category: Headers and Bindings | |
| 29 | 33 | Category: Packages |
