Accessing C libraries with pb under linux

Linux specific forum
John Duchek
User
User
Posts: 83
Joined: Mon May 16, 2005 4:19 pm
Location: St. Louis, MO

Accessing C libraries with pb under linux

Post by John Duchek »

Can someone put a simple concrete example of using a linux C library (any library) using PB. I have never been able to do this though I have tried. I constantly get errors of various kinds, mostly the libraries are not accessed (read). Something simple where you access the library, pull out and us a routine, and close it.
Thanks for any help,
John
John R. Duchek
St. Louis,MO
John Duchek
User
User
Posts: 83
Joined: Mon May 16, 2005 4:19 pm
Location: St. Louis, MO

Re: Accessing C libraries with pb under linux

Post by John Duchek »

wow, 79 reads and no replies. Does this mean one cannot access C libraries under linux with pb?
John R. Duchek
St. Louis,MO
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

Re: Accessing C libraries with pb under linux

Post by Keya »

i think using libs is the same under all three OS (in terms of Purebasic source code), just with different .lib files of course for PE, Mach and ELF architecture. If you search the Linux subforum for "ImportC" youll see quite a few examples
Post Reply