linking unittest (g++)
Webcam.o(.gnu.linkonce.r._ZTVN6cURLpp11OptionTraitISsL10CURLoption10002EEE[vtable for cURLpp::OptionTrait<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, (CURLoption)10002>]+0x10): undefined reference to `cURLpp::OptionBase:
perator<(cURLpp::OptionBase const&) const'
Webcam.o(.gnu.linkonce.r._ZTIN6cURLpp6OptionISsEE[typeinfo for cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]+0x8): undefined reference to `typeinfo for cURLpp::OptionBase'
Webcam.o(.gnu.linkonce.r._ZTIN6cURLpp11UnsetOptionE[typeinfo for cURLpp::UnsetOption]+0x8): undefined reference to `typeinfo for cURLpp::RuntimeError'
Webcam.o(.gnu.linkonce.r._ZTVN6cURLpp6OptionISsEE[vtable for cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]+0x10): undefined reference to `cURLpp::OptionBase:
perator<(cURLpp::OptionBase const&) const'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp11UnsetOptionD1Ev[cURLpp::UnsetOption::~UnsetOption()]+0xe): In function `cURLpp::UnsetOption::~UnsetOption()':
/usr/local/include/curlpp/Option.inl:91: undefined reference to `cURLpp::RuntimeError::~RuntimeError()'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp11UnsetOptionD0Ev[cURLpp::UnsetOption::~UnsetOption()]+0x12): In function `cURLpp::UnsetOption::~UnsetOption()':
/usr/local/include/curlpp/Option.inl:91: undefined reference to `cURLpp::RuntimeError::~RuntimeError()'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp10CurlHandle6optionIPvEEv10CURLoptionT_[void cURLpp::CurlHandle:
ption<void*>(CURLoption, void*)]+0x29): In function `void cURLpp::CurlHandle:
ption<void*>(CURLoption, void*)':
/usr/local/include/curlpp/CurlHandle.inl:36: undefined reference to `cURLpp::libcurlRuntimeAssert(char const*, CURLcode)'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsED2Ev[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Option()]+0x45): In function `cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Option()':
/usr/local/include/curlpp/Option.inl:63: undefined reference to `cURLpp::OptionBase::~OptionBase()'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsED2Ev[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Option()]+0x3a):/usr/local/include/curlpp/Option.inl:63: undefined reference to `cURLpp::OptionBase::~OptionBase()'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsED1Ev[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Option()]+0x45): In function `cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Option()':
/usr/local/include/curlpp/Option.inl:63: undefined reference to `cURLpp::OptionBase::~OptionBase()'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsED1Ev[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Option()]+0x3a):/usr/local/include/curlpp/Option.inl:63: undefined reference to `cURLpp::OptionBase::~OptionBase()'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsED0Ev[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Option()]+0x35): In function `cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Option()':
/usr/local/include/curlpp/Option.inl:63: undefined reference to `cURLpp::OptionBase::~OptionBase()'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsED0Ev[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::~Option()]+0x51):/usr/local/include/curlpp/Option.inl:63: more undefined references to `cURLpp::OptionBase::~OptionBase()' follow
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsEC2E10CURLoptionRKSs[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Option(CURLoption, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x10): In function `cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Option(CURLoption, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/local/include/curlpp/Option.inl:35: undefined reference to `cURLpp::OptionBase::OptionBase(CURLoption)'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsEC2E10CURLoptionRKSs[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Option(CURLoption, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)]+0x3d):/usr/local/include/curlpp/Option.inl:37: undefined reference to `cURLpp::OptionBase::~OptionBase()'
Webcam.o(.gnu.linkonce.t._ZNK6cURLpp6OptionISsE8getValueEv[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::getValue() const]+0x5b): In function `cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::getValue() const':
/usr/local/include/curlpp/Option.inl:111: undefined reference to `cURLpp::UnsetOption::UnsetOption(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsE16updateMeToOptionERKNS_10OptionBaseE[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::updateMeToOption(cURLpp::OptionBase const&)]+0x17): In function `cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::updateMeToOption(cURLpp::OptionBase const&)':
/usr/local/include/curlpp/Option.inl:88: undefined reference to `typeinfo for cURLpp::OptionBase'
Webcam.o(.gnu.linkonce.t._ZN6cURLpp6OptionISsE16updateMeToOptionERKNS_10OptionBaseE[cURLpp::Option<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::updateMeToOption(cURLpp::OptionBase const&)]+0x69):/usr/local/include/curlpp/Option.inl:91: undefined reference to `cURLpp::UnsetOption::UnsetOption(char const*)'
Webcam.o(.gnu.linkonce.t._ZNK6cURLpp11OptionTraitISsL10CURLoption10002EE16updateHandleToMeEPNS_10Cur lHandleE[cURLpp::OptionTrait<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, (CURLoption)10002>::updateHandleToMe(cURLpp::CurlHandle*) const]+0x63): In function `cURLpp::OptionTrait<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, (CURLoption)10002>::updateHandleToMe(cURLpp::CurlHandle*) const':
/usr/local/include/curlpp/Option.inl:141: undefined reference to `cURLpp::UnsetOption::UnsetOption(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: ld returned 1 exit status
gmake: *** [unittest] Error 1
gmake: Target `all' not remade because of errors.
*** Exited with status: 2 ***
I used the 0.6 version, but still got this link time error, any hints?
Thx
Jack