Hi everyone,

I just started getting in touch with curlpp. So I managed to compile
libcurl (C Version) and the curlpp. When I want to use it in my
project the project cannot be linked properly:

main.obj : error LNK2001: unresolved external symbol
__imp__curl_easy_setopt

As you can see there is just a simple source code taken from the
examples:

#include <iostream>

#include <curlpp/cURLpp.hpp>
#include <curlpp/Easy.hpp>
#include <curlpp/Options.hpp>

int main()
{
        std::cout << "Hello World" << std::endl;

        curlpp::Cleanup myCleanup;
        // Creation of the URL option.
        curlpp::options::Url myUrl(std::string("http://example.com";));

        return EXIT_SUCCESS;
}

If I comment out the line with curlpp:options:Url then the project can
be linked and started.

Here are my libraries I link with: winmm.lib wldap32.lib libcurld.lib
curlpp.lib
I also tested the libraries which could be downloaded from curlpp.org
website. But this doesnot work either :(.

Any help is appreciated.

Thanks in advance,
Paul

-- 
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.

Reply via email to