On Mar 7, 2009, at 14:01 , Berk Atikoglu wrote:
I'm trying to link an external library to my application for the
CS244 project. I tried to include the source files of the library in
the Makefile.am of the application. Even though it compiles, I get
the following run time error:
Can't open a dynamic library: 'nox/coreapps/learningswitch/
learningswitch.so: cannot open shared object file: No such file or
directory' or 'nox/coreapps/learningswitch/.libs/learningswitch.so:
undefined symbol: LFile_Close'
How can I link an external library?
Using LIBADD directive you can define external libraries for the
linker: libfoo_la_LIBADD = -lbar
For a complete example, see src/lib/Makefile.am.
Teemu
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org