[Dev-C++] include of selfcreated libraries
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Frank W. <F.W...@wi...> - 2002-11-27 11:18:24
|
Hello, I wrote some classes that I don't want to include to new projekts every time. So I created a directory ../inlcude and put in the foo.h files containing the classes. Then I compiled the the foo.cpp building a library named foo.a. At the linker options I put in a -l foo.a but while compiling a new projekt that sould use that new library I get a linker error. What is neccessary to linkt the lib file? Is it neccessary to name the libfile libfoo.a or someone else ?? Any suggestions?? Whats with the foo.so is this essential? I hope somewone can give me a hint. Greetings Frank |