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.
Bug in the LIBRARY lib?
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by pbdep.
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.
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.
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by pbdep.
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.
Yes !! I know what the problem is!!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.
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.
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm