On Feb 14, 10:18 pm, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
Travis wrote:
I'm not a Makefile expert. [..]
Makefiles are offtopic. See the -l (that's a lowercase L)
compilation switch for your compiler.
That depends on the compiler. -l is traditionally the option
under Unix (where it also involves special naming conventions,
and other things), but I don't think it works with VC++.
Normally, a "component" will be delivered as a library and a set
of header files. You install it somewhere; you then have to
inform the compiler where to look for the headers (-I or /I are
frequently the option for this) and to use the library when it
links---specifying the full path to the library will generally
work. (Even under Unix, I find that I only use -l for system
libraries.)
You might also have to use different options according to
whether you want to link the library statically or not.
--
James Kanze (GABI Software) email:ja******* **@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientier ter Datenverarbeitu ng
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34