c++ - Linking ASIO to a project without boost in Visual Studio -
i'm trying use asio without boost project in visual studio.
i've added headers adding asio\include additional include directories in project's properties. allows project see headers, , intellisense finds of objects. far, good.
however, when try compile, errors can't find boost headers such as:
cannot open source file "boost/date_time/posix_time/posix_time_types.hpp" example-udpreceiver c:\users\me\project\libs\asio-1.10.6\include\asio\deadline_timer.hpp
or
cannot open source file "boost/regex/v4/match_flags.hpp" example-udpreceiver c:\users\me\project\libs\asio-1.10.6\include\asio\detail\regex_fwd.hpp
my impression possible use asio without boost -- need asio compiling project?
thanks!
you need define asio_standalone macro asio working in standalone mode.
Comments
Post a Comment