[Dev-C++] How to include my own Lib files
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Napoleon A. <nah...@so...> - 2002-08-24 23:09:52
|
Hello, I have a directory C:\CppLab\MyLib which contains my Library files. I've = been trying to include files from this directory in a program without = success. I have entered the path under \Tools\Compiler = Options\Directories\Include. But When I compile the program I get the = 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 *)' When I copy all the files into the same directory I get no errors. What am I doing wrong ? Thanks=20 Napoleon. =20 |