CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2014
    Posts
    1

    Boost.asio question

    Okay, so I downloaded and build Boost, following THIS (link) guide, and got all the way to the "Include Boost headers and link with Boost libraries" section.
    I tried to #include asio, and got
    Code:
    ...boost-1_47\boost\asio\detail\impl\winsock_init.ipp|39|undefined reference to `WSAStartup@8'
    I remembered hearing somewhere that asio used boost.system, so I tried to #include that, but was met with;
    Code:
    ...boost-1_47\boost\detail\win\system.hpp|35|error: 'DWORD_PTR_' does not name a type

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Boost.asio question

    There is a lot of discussions about your first error:
    https://www.google.ch/search?sourcei...a=1&gws_rd=ssl
    Victor Nijegorodov

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured