It is currently Sun Nov 17, 2019 1:03 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject:
PostPosted: Sun Dec 22, 2002 1:38 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 22, 2002 1:43 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by pbdep.

Quote:
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 22, 2002 1:48 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by pbdep.

Quote:
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 22, 2002 1:58 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye