[Gambas-user] external functions and structs

T Lee Davidson t.lee.davidson at gmail.com
Wed Nov 28 18:24:01 CET 2018


On 11/28/18 12:01 PM, Benoît Minisini wrote:
> Le 28/11/2018 à 17:49, T Lee Davidson a écrit :
>> When I try to run your code, I get:
>> Cannot find dynamic library 'libais.so.1.9.so': libais.so.1.9.so: cannot open shared object file: No such file or directory in
>> Main:61.
>>
>> In addition to your:
>> Library "libais.so.1.9"
>>
>> I tried:
>> Library "./libais.so.1.9"
>> Library "../libais.so.1.9"
>>
>> No love. I don't know why Gambas is changing the name I specified.
>>
> 
> Maybe you should read the documentation?
> 
> http://gambaswiki.org/wiki/lang/extdecl
> 
> Regards,
> 

I did read the documentation. Apparently the wrong page, http://gambaswiki.org/wiki/doc/library, which did not provide any clue
that handling the paths of external shared libraries is different. I finally found the page to which you linked on the EXTERN page.

Being able to find the relevant documentation on the Wiki has always been a struggle for me. A search feature would be quite handy.


___
Lee



More information about the User mailing list