It appears that you are compiling your project as managed code. I have no experience with doing that, but you will probably need to do something special to use the unmanaged curlpp library in your managed project.
A quick Google Search found this page: http://www.codeguru.com/cpp/cpp/cpp_managed/interop/article.php/c6867/ Good luck! On Oct 12, 8:19 pm, Dan Babb <[email protected]> wrote: > I was tired when I wrote this. I can get it to compile...using it is > another matter entirely...It freaks out in the linker...That's after > the following in my code. > curlpp::initialize(); > curlpp::libcurlVersion(); > > Here's a link to the full output:http://pastebin.ca/1616918 > > 1>Linking... > 1>test1.obj : error LNK2028: unresolved token (0A000015) "class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > __clrcall curlpp::libcurlVersion(void)" (? > libcurlvers...@curlpp@@$$fym?av?$basic_str...@du?$char_traits@d...@std@@V? > $alloca...@d@2@@std@@XZ) referenced in function "private: void > __clrcall test1::Form1::Form1_Load(class System::Object ^,class > System::EventArgs ^)" (?form1_l...@form1@test1@@$$FA$AAMXP > $aavobj...@system@@p$aaveventa...@4@@Z) > 1>test1.obj : error LNK2028: unresolved token (0A000016) "void > __clrcall curlpp::initialize(long)" (?initial...@curlpp@@$$fy...@z) > referenced in function "private: void __clrcall > test1::Form1::Form1_Load(class System::Object ^,class > System::EventArgs ^)" (?form1_l...@form1@test1@@$$FA$AAMXP > $aavobj...@system@@p$aaveventa...@4@@Z) > 1>test1.obj : error LNK2019: unresolved external symbol "class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > __clrcall curlpp::libcurlVersion(void)" (? > libcurlvers...@curlpp@@$$fym?av?$basic_str...@du?$char_traits@d...@std@@V? > $alloca...@d@2@@std@@XZ) referenced in function "private: void > __clrcall test1::Form1::Form1_Load(class System::Object ^,class > System::EventArgs ^)" (?form1_l...@form1@test1@@$$FA$AAMXP > $aavobj...@system@@p$aaveventa...@4@@Z) > 1>test1.obj : error LNK2019: unresolved external symbol "void > __clrcall curlpp::initialize(long)" (?initial...@curlpp@@$$fy...@z) > referenced in function "private: void __clrcall > test1::Form1::Form1_Load(class System::Object ^,class > System::EventArgs ^)" (?form1_l...@form1@test1@@$$FA$AAMXP > $aavobj...@system@@p$aaveventa...@4@@Z) > 1>c:\Projects\test1\Debug\test1.exe : fatal error LNK1120: 4 > unresolved externals > > On Oct 12, 5:46 pm, Timothy003 <[email protected]> wrote: > > > > > I have successfully compiled curlpp on VS 2008. What errors are you > > receiving? > > > On Oct 12, 7:49 am, Dan Babb <[email protected]> wrote: > > > > I'm using visual studio 2008 and I can't get this thing to compile or > > > work for anything :( This makes me extremely sad, any progress yet on > > > getting this to function within visual studio 2008?- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "curlpp" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/curlpp?hl=en -~----------~----~----~----~------~----~------~--~---
