Hi Ryan,

On Fri, Feb 18, 2011 at 6:46 AM, Ryan Barr <[email protected]> wrote:
> Hi, I’m trying to use your library for my project, but I get the following
> compile error when I add
>
> #include <boost/network/protocol/http/client.hpp>
>
> To my code.
>

Can you post a minimal example? How about if you just include that in
an (empty) cpp file like this:

  #include <boost/network/protocol/http/client.hpp>

  int main(int argc, char * argv[]) {
    return 0;
  }

Do you still get the error?

>
>
> error C2027: use of undefined type 'boost::STATIC_ASSERTION_FAILURE<x>'
>
>      C:\Work\trunk\boost_1_45_0\boost\type_traits\make_unsigned.hpp    38
>
>
>
> I’m using boost 1.45 and have tried cpp-netlib 0.8 and current development
> version.
>

0.8.1 you mean?

>
>
> All my other code that relies on boost works fine.
>
>
>
> I’m on Vista x86, using VS2008. I use CMake and I defined
> BOOST_FILESYSTEM_VERSION to 2.
>
>
>
> Any ideas?
>
>

It would be hard to diagnose the problem without more context. Can you
post the full error? Or is the above the full error that you get?

Unfortunately I have no access to VS2008 at the moment. For the
meantime maybe others can help out?

>
> Thank you
>

I'm sorry I can't be of much help yet. Looking forward to being able
to help you out more later.

-- 
Dean Michael Berris
about.me/deanberris

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to