help-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-cgicc] HELP !!


From: sli
Subject: Re: [help-cgicc] HELP !!
Date: Thu, 18 Dec 2003 15:39:59 -0500 (EST)
User-agent: SquirrelMail/1.4.1

-L/whereyourcgiccis  and -lcgicc.
ciao.


> 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
>
> _______________________________________________
> help-cgicc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cgicc
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]