On Sat, 21 Sep 2013, Xiangrong Fang wrote:
Ok, but when I added these:
implementation
{$linklib libthostintf.a}
{$linklib thostmduserapi.so}
end.
I got:
/usr/bin/ld: cannot find -lthostmduserapi
All the required .so and .a file are in CURRENT dir.
1) Did you give the correct name ?
2) Is the current dir in the linker search path ? AFAIK the current dir is by default not in the linker search path.
Michael.
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal