|
From: | Felix Ang |
Subject: | [help-cgicc] HELP !! |
Date: | Fri, 19 Dec 2003 02:32:33 +0700 |
Hi all,
I’m a novice in C++. I’ve a problem like this :
I’ve installed the folder cgicc in my include directory file, I assure you that I can call the header file from my source code eg. #include “cgicc/HTTPHTMLHeader.h” But the error message like the below keep popping up.
C:\DOCUME~1\Felix\LOCALS~1\Temp\ccIpbaaa.o(.text+0x32) [Warning] In function `main': [Linker error] undefined reference to `cgicc::HTTPHTMLHeader::HTTPHTMLHeader()' [Linker error] undefined reference to `_imp___ZN5cgicclsERSoRKNS_11MStreamableE' [Linker error] undefined reference to `cgicc::HTTPHTMLHeader::~HTTPHTMLHeader()' [Linker error] undefined reference to `cgicc::HTTPHTMLHeader::~HTTPHTMLHeader()' [Linker error] undefined reference to `_GLOBAL__I_main' [Linker error] undefined reference to `_GLOBAL__D_main'
my code is :
#include <iostream> #include "cgicc/HTTPHTMLHeader.h"
using namespace std; using namespace cgicc;
main() {
cout << HTTPHTMLHeader() << endl << endl ; cout << "Hello world" ; return (0); }
it should be right and return “Hello world” right ???
This is very confusing. I don’t understand what does : undefined reference means. I use Dev C++ 4.9.8.5 on WinXP
Anyone can help ? Thank you very much
Sincerely Felix Ang |
[Prev in Thread] | Current Thread | [Next in Thread] |