Hi Taf,

I had trouble as well with the source RexxGtk-0.10.0 source ZIP, in fact the same problem as you once I got it to build.

The SVN source for the CMAKE GTK2 build of RExxGTK at https://sourceforge.net/p/oorexx/code-0/HEAD/tree/rexxgtk/trunk/GTKv2/ may be what you are looking for because on my Ubuntu 24.04 64 bit laptop with ooRexx 5.0, this builds a library liboorexxgtk2.so(.2.0.0), linked via ooRexxGTK2.cls in the top-level folder, that allows almost all of the test programs shipped in the test folder (test4-10.rex gives an error) to at least start so long as all dependent development and runtime deb packages needed to support a GKT2 build have been installed.

Note that there is a GTK3 folder as well but I believe that needs work before it can be used. The attached email is from someone who has been working on this locally to create a nice Internet Radio streaming program in the form of a deb package, which also works on my Ubuntu laptop

--

Dom


On 09/11/2024 00:45, taf wrote:

My test program cannot find my newly built external library.. Can someone point out what I'm doing wrong?


taf@taf-24:~/rexxGTK/rexxGTK3/RexxGTK-0.10.0$ rexx test12-calendar.rex
   874 *-* ::METHOD init EXTERNAL "LIBRARY rexxgtk GrxWidgetNew"
    57 *-* ::requires 'rexxgtk.cls'
Error 98 running /home/taf/rexxGTK/rexxGTK3/RexxGTK-0.10.0/rexxgtk.cls line 874: Execution error.
Error 98.903:  Unable to load library "rexxgtk".

taf@taf-24:~/rexxGTK/rexxGTK3/RexxGTK-0.10.0$ echo $LD_LIBRARY_PATH
/home/taf/rexxGTK/rexxGTK3/RexxGTK-0.10.0

taf@taf-24:~/rexxGTK/rexxGTK3/RexxGTK-0.10.0$ ls -al *.so
-rwxrwxr-x 1 taf taf 612800 Nov  8 13:31 librexxgtk.so


RexxPackageEntry gtkobject_package_entry = {
    STANDARD_PACKAGE_HEADER
    REXX_INTERPRETER_4_0_0,              // anything after 4.0.0 will work
    "rexxgtk",                           // name of the package
    VERSTRING(VMAJOR,VMINOR,VREL),       // package information
    NULL,                                // no load/unload functions
    NULL,
    gtkobject_routines,                  // the exported routines
    gtkobject_methods                    // the exported methods
};

// package loading stub.
OOREXX_GET_PACKAGE(gtkobject);


Fragment of rexxgtk near line 874:

/*============================================================================*/
/* Class: GtkWidget */
/* Note:  This is strictly an abstract class. It should never be instantiated */ /*        on its own. You should instantiate one of its subclasses instead.   */
/*============================================================================*/

::class GtkWidget public

::METHOD init EXTERNAL "LIBRARY rexxgtk GrxWidgetNew"


--
taf


_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel
--- Begin Message ---
Hi Ruurd,

Thanks.  there was a typo in the url, this seems to work:
https://www.idenburg.net/ooRexx/RexxGtk/

Jon

On Wed, 30 Oct 2024 at 16:47, Ruurd Idenburg via groups.io <ruurd=
idenburg....@groups.io> wrote:

>  I have been busy on and off with adapting David Ashley's prepatory
> efforts to support GTK3 in ooRexx. What has come of it sofar is OK for my
> personal use, as I know more or less what can be done, but it misses the
> documentation that others would need. Documenting all the stuff is a lot of
> work since the only documentation that is available is for David's work for
> GTK2 and is not very explainetory . So I figured that perhaps showing an
> ooRexx program that uses RexxGtk extensively might generate some interest,
> so that this 81-year old can pass his "hack" on.
> I have placed a downloadable app on my website (www,idenburg.net/RexxGtk/)
> that shows the fairly straightforward possibilities that can be achieved.
> It is based on my operating system usage, which is Ubuntu-based Linux Mint
> ( left Windows after 7 was kaltgestelt).
> So for those of you who are curious take a look and have some music fun.
>
> Ruurd
>
>
>
> 
>
>


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#2229): https://groups.io/g/rexxla-members/message/2229
Mute This Topic: https://groups.io/mt/109299681/8160722
-=-=-
----------
RexxLA relies on donations to cover costs. Please consider donating at: 
https://donorbox.org/donations-to-rexx-language-association
-=-=-
Group Owner: rexxla-members+ow...@groups.io
Unsubscribe: 
https://groups.io/g/rexxla-members/leave/12970826/8160722/1145871411/xyzzy 
[dominicjw...@gmail.com]
-=-=-=-=-=-=-=-=-=-=-=-



--- End Message ---
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to