cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

[cURLpp] Link time errors

From: Jacky Luk <lucky7456969b_at_hotmail.com>
Date: Mon, 27 Feb 2006 04:21:26 +0000

linking unittest (g++)
Webcam.o(.text+0x644): In function
`WebCam::SnapImage(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
/home/Jacky/Projects/RMVES/Ver1_0a/Webcam.cpp:120: undefined reference to
`cURLpp::Cleanup::Cleanup()'
Webcam.o(.text+0x692):/home/Jacky/Projects/RMVES/Ver1_0a/Webcam.cpp:122:
undefined reference to `cURLpp::Cleanup::~Cleanup()'
Webcam.o(.text+0x81c):/home/Jacky/Projects/RMVES/Ver1_0a/Webcam.cpp:122:
undefined reference to `cURLpp::Cleanup::~Cleanup()'

=====================================
try {
cURLpp::Cleanup myCleanup;

cURLpp::Options::Url myUrl ("192.168.0.124/oneshotimage.jpg");
} catch (cURLpp::RuntimeError &e)
{
std::cout << e.what() << std::endl;
} catch (cURLpp::LogicError &e)
{
std::cout << e.what() << std::endl;
}

I basically followed the example, and the example could be compiled
Thanks
Jack

_________________________________________________________________
Free 365 Daily English Booklet
http://www.linguaphonenet.com/BannerTrack.asp?EMSCode=MSN06-02ETFJ-0211E

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2006-03-29

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET