I'm trying to develop a websocket++ server on my windows 7 laptop for ease (not good with vi
yet, don't want to constantly ftp). I will move to Ubuntu 12.10 at the end.
I'm using a Visual C++ Win32 Console Application project.
I've include
d the websocketpp
directory, installed boost 1.53.0 How do you install Boost.Build on Windows?, and include
d & link
ed boost Boost linking, Visual Studio & version control.
I'm trying to build
print_server.cpp
http://www.zaphoyd.com/websocketpp/manual/building-program-websocket
When I do, I get Error 1 error C2182: '*' : illegal use of type 'void' c:\boost_1_53_0\boost\smart_ptr\intrusive_ptr.hpp Line:155 Column:1
The boost code is (second line is 155):
T & operator*() const
{
BOOST_ASSERT( px != 0 );
return *px;
}
Why am I getting this error? How do I fix it?