docs:mac:builds:curlpp

  • build as follows
    ./configure --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info --without-boost
    
    copy and change the following line in Makefile
    (we are removing the reference to examples
    because even with the --without-boost parameter,
    there are build errors if you don't have it)
    
    #SUBDIRS = utilspp curlpp examples doc
    SUBDIRS = utilspp curlpp doc
    
    make
    
    sudo make install
  • make sure to link against curlpp, but also against curl
    g++ -o myprog -lcurlpp -lcurl myprog.cpp
  • you can see correct compile and link flags with these
    curlpp-config --cflags
    curlpp-config --libs
  • docs/mac/builds/curlpp.txt
  • Last modified: 2008/08/03 00:25
  • by 127.0.0.1