Subject: [Boost-bugs] [Boost C++ Libraries] #2897: asio is not header-only on MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-03-29 03:41:01
#2897: asio is not header-only on MSVC
----------------------------------------+-----------------------------------
Reporter: dustin_at_[hidden] | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: asio
Version: Boost 1.38.0 | Severity: Problem
Keywords: |
----------------------------------------+-----------------------------------
The boost documentation claims that asio is a header-only library.
However, it seems like it may have non-header-only dependencies. If one
even includes the asio header, on Visual Studio 2008 Express edition you
get the following linker error:
LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-
gd-1_38.lib'
The test program I used:
{{{
#include <iostream>
#include <string>
#include <boost/asio.hpp>
using boost::asio::ip::tcp;
int main()
{
return 0;
}
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2897> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC