From: Dean M. B. <mik...@gm...> - 2011-02-18 03:25:34
|
Hi Ryan, On Fri, Feb 18, 2011 at 6:46 AM, Ryan Barr <rb...@pd...> 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 |