Boost logo

Boost Users :

Subject: [Boost-users] Beginner Question (Windows MSVC)
From: James Stortz (james.ryan.stortz_at_[hidden])
Date: 2017-06-09 23:00:11

I can't seem to include/link and compile properly. I am using boost 1.64
and Visual Studio 2017 (Community).

I can successfully include the headers and compile the example program on
the Getting Started page[1]. But when trying to simply compile the mutex
example from interprocess docs[2], I get this error:

LINK : fatal error LNK1104: cannot open file

>From the Getting Started page on linking, I have been trying the following:

cl /EHsc /I boost_1_64_0 doc_memtest1.cpp ^
/link /LIBPATH:F\src\boost_1_64_0\stage\lib

I have even tried a solution from Stackoverflow[3], multiple times with
various configurations, x64/x86, but nothing. I don't even have that
particular library. I have "libboost_date_time-vc141-mt-gd-1_64.lib" and

I assume I am doing something wrong, as I am new to programming on

Any help? Thanks!




Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at