First off, you need this one (with or w/o slash at the end) for your 
CURL_INC_DIR:

/home/jin/Workspace/Test/Network/curllib/include/


Have you built curl and added the libraries to your library path?

We actually found that in order to get CURLPP to build we had to add a 
bunch of configure options, when we didn't let curl install itself in 
the default location.  From our build script:

if [ "${OSNAME}" = "FreeBSD" ]; then
    ./configure --prefix=$PREFIX --with-boost=$BOOSTDIR 
CPPFLAGS="-I$CURL_INC_DIR" LDFLAGS="-L$CURL_LIB_DIR 
-L${LIBBASE}/openssl-${VERSION_OPENSSL} -lcurl -lssl -lcrypto" || exit 1
else
    ./configure --prefix=$PREFIX --with-boost=$BOOSTDIR 
CPPFLAGS="-I$CURL_INC_DIR" LDFLAGS="-L$CURL_LIB_DIR -lcurl 
-L${LIBBASE}/openssl-${VERSION_OPENSSL}" || exit 1
fi

Looks like you might be missing the LDFLAGS argument.  You could also 
try adding the location of libcurl.a and libcurl.so to your 
LD_LIBRARY_PATH ahead of time, if you don't mind modifying your environment.

mike

jin wrote:
> Hello,
>
> I am having a problem configuring curlpp.
> I have working curl and libcurl installed, and the $PATH includes the path to 
> the curl bin files. 
> Just to make sure, I have the following in the PATH env var
> :/home/jin/Workspace/Test/Network/curllib/bin
> :/home/jin/Workspace/Test/Network/curllib/include/curl
> :/home/jin/Workspace/Test/Network/curllib/include/
> :/home/jin/Workspace/Test/Network/curllib/include
>
> I tried both 
> export CPPFLAGS = -I~/Workspace/Test/Network/curllib/include
> and 
> export CPPFLAGS = -I~/Workspace/Test/Network/curllib/include/curl
> to no effect...
>
> Mailing list archive has a post that seemed to solve the aforementioned 
> problem by adding the above path to PATH variable and declaring CPPFLAGS to 
> include the header files..
>
> But this doesnt seem to work for me..
> Can anyone help me?
>
> Thank you..
>
> --
> Jin
> _______________________________________________
> cURLpp mailing list
> [email protected]
> http://www.rrette.com/mailman/listinfo/curlpp
>   


-- 
ÐÏࡱá

_______________________________________________
cURLpp mailing list
[email protected]
http://www.rrette.com/mailman/listinfo/curlpp

Reply via email to