[Dev-C++] link problem with #include "unknwn.h"
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: john C <zam...@ya...> - 2005-02-03 18:30:03
|
I'm getting a link error: Undefined reference to 'IID_IUnknown' ... this is mystifying me since I can clearly see the #def in the h file. Here's the compiler output: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiler: Default compiler Building Makefile: "D:\Coding stuff\Dev-Cpp\Examples\MyShit\Makefile.win" Executing make clean rm -f main.o Project2_private.res Project2.exe g++.exe -c main.cpp -o main.o -I"D:/Coding stuff/Dev-Cpp/include/c++/3.3.1" -I"D:/Coding stuff/Dev-Cpp/include/c++/3.3.1/mingw32" -I"D:/Coding stuff/Dev-Cpp/include/c++/3.3.1/backward" -I"D:/Coding stuff/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"D:/Coding stuff/Dev-Cpp/include" windres.exe -i Project2_private.rc --input-format=rc -o Project2_private.res -O coff g++.exe main.o Project2_private.res -o "Project2.exe" -L"D:/Coding stuff/Dev-Cpp/lib" -mwindows main.o(.text+0xa):main.cpp: undefined reference to `IID_IUnknown' make.exe: *** [Project2.exe] Error 1 Execution terminated ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This problem is symptomatic of link errors that have baffled me my entire career as a programmer. Can anyone help?? Thanks JC __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail |