[Gambas-user] extern library
Wally
wally at ...2037...
Sun Feb 5 18:42:38 CET 2012
talking about Gambas 3:
When i place my library to /usr/local/lib and run ldconfig it works and
my_gb3_project can find the lib and its functions.
When i put it into my_gb3_project folder the library can not be found.
Where to place the library ganbas3 may find it ?
In e.g. my_gb3_Project/ or one of the hidden subfolders ?
Do i need to make changes in project properties ?
on topmost of the single form project
Library "libMyLib:0"
(a symbolic link libMyLib.so.0 ---> libMyLib.so exists
also tried Library "libMyLib"
both are not found.
On Sunday, February 05, 2012 08:37:57 Benoît Minisini wrote:
> Le 01/02/2012 09:00, Ron a écrit :
> > On 31-1-2012 1:09, Benoît Minisini wrote:
> >> Le 29/01/2012 21:33, Wally a écrit :
> >>> No other way ?
> >>
> >> Normally the library can be any path, like any data file. So:
> >>
> >> - It is searched as a real file (absolute path, or standard library
> >> paths).
> >>
> >> - If it is not found, then it is searched inside the project.
> >>
> >> If you don't succeed in loading your library, please send me a little
> >> test project.
> >>
> >> Regards,
> >
> > I believe storing it anywhere else than a library path didn't work for
> > me in my project, but I will check again.
> > I'm talking about gambas2.
> >
> > Regards,
> > Ron_2nd.
>
> I was talking about gambas 3. In Gambas 2, the library is never searched
> inside the project.
More information about the User
mailing list