[Dev-C++] Adding my own Lib files to Project
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Napoleon A. <nah...@so...> - 2002-08-26 15:18:17
|
Hello, How do I go about adding my own library files that to a project I'm = working on. I have some files which I think are general enough that I = put them in C:\***\lib. In order to add these files to a project I have = the appropriate include statements. and added the path to the library to = Project\Project Options\Files.Directories. I get the following Linker = error: C/CppLab/Winnie/main.cpp:21: undefined reference to = `Win::ClassMaker::ClassMaker(char const *, HINSTANCE__ *)' C/CppLab/Winnie/main.cpp:23: undefined reference to = `Win::Maker::Maker(char const *, HINSTANCE__ *)' C/CppLab/Winnie/main.cpp:25: undefined reference to = `Win::Maker::Create(Win::Controller &, char const *)' I also added the path to Tools\Compiler Options\Directories which also = gives me the same error message. When I copy all the files into the same = directory It compiles without errors. What am I doing wrong ? Napoleon. |