Page 1 of 1

Posted: Sun Dec 22, 2002 1:38 pm
by BackupUser
Restored from previous forum. Originally posted by turtle.

Hi,

It seems that opening an external library is harder than the documentation describes. When using the following command:

result = OpenLibrary(0, "/usr/lib/libgtk.so")


the Linux PBCOMPILER generates he following error:

Line 21: OpenLibrary() is not a function, an array, or a linked list


So in Linux it is not possible to use other libs, is it? Or am I doing something wrong?

Someone any ideas?

Peter.

Posted: Sun Dec 22, 2002 1:43 pm
by BackupUser
Restored from previous forum. Originally posted by pbdep.
Originally posted by turtle

Hi,

It seems that opening an external library is harder than the documentation describes. When using the following command:

result = OpenLibrary(0, "/usr/lib/libgtk.so")


the Linux PBCOMPILER generates he following error:

Line 21: OpenLibrary() is not a function, an array, or a linked list


So in Linux it is not possible to use other libs, is it? Or am I doing something wrong?

Someone any ideas?

Peter.

Its strange indeed, GTK is not fully supported but then
even calling a library doesnt work here eighter, whats the use then?
I realy AM lost on PB Linux distribution now.

Greetings,
Norman.

Posted: Sun Dec 22, 2002 1:48 pm
by BackupUser
Restored from previous forum. Originally posted by pbdep.
Originally posted by turtle

Hi,

It seems that opening an external library is harder than the documentation describes. When using the following command:

result = OpenLibrary(0, "/usr/lib/libgtk.so")


the Linux PBCOMPILER generates he following error:

Line 21: OpenLibrary() is not a function, an array, or a linked list


So in Linux it is not possible to use other libs, is it? Or am I doing something wrong?

Someone any ideas?

Peter.
Yes !! I know what the problem is!!
The documentation says there is a Library lib but there is NON
under linux as it seems in the /PureLibrary.

So its seems that the Documentation realy puts a man on his Wrong Foot!

Fred, Tell us a little more please.

Regards,
Norman.

Posted: Sun Dec 22, 2002 1:58 pm
by BackupUser
Restored from previous forum. Originally posted by turtle.

Hi Norman,

Well you are right. The docs state that the LIBRARY lib is also available for Linux, but looking the de PureLib directory, it seems not to be there... :-(

Thanks,

Peter.