Results 1 to 2 of 2

Thread: how to include libcsoap?

  1. #1
    Join Date
    Mar 2005
    Beans
    41

    how to include libcsoap?

    I'm getting a compiler error of missing library when I use:
    #include <libcsoap/soap-server.h>

    the .deb package installs soap-server.h to:
    /usr/include/libcsoap-1.0/libcsoap/soap-server.h

    but if I change it to:
    #include <libcsoap-1.0/libcsoap/soap-server.h>
    soap-server.h can't link to other headers (ie: soap-client.h) because it's referring to it as <libcsoap/soap-client.h>

    newb question I'm sure =D
    thanks you

  2. #2
    Join Date
    Mar 2005
    Beans
    41

    Re: how to include libcsoap?

    CPPFLAGS, der.. tyvm anyway =)

    for what it's worth using scons I did this:
    env.Append(CPPPATH= ['/usr/include/libcsoap-1.0/', '/usr/include/nanohttp-1.0', '/usr/include/libxml2/'])

    please note that it doesn't compile in C++ under jaunty, karmic has the bug fix required however.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •