How to use the Boost C++ Libraries in Visual Studio

preview_player
Показать описание
In this video, I show you how to create a C++ project in Visual Studio and add and configure a property sheet to use the Boost C++ Libraries.

Note, the same process for creating an x86 release, x64 debug, and x86 debug version is exactly the same. Also, I assume that you've built the libraries' binaries.
Рекомендации по теме
Комментарии
Автор

I was missing the 'Stage' directory and couldn't find it anywhere. I eventually realised that once you installed boost you had to also run a two BAT files to build boost, which in-turn created the 'Stage' directory. So if you download the Executable of Boost you will first need to run the installer. Once the installer has finished then you need to launch CMD, navigate to the boost directory, run .\bootstrap.bat and .\b2 too build the directory structure. Once you have done this then you should find the 'Stage' directory in the boost directory structure.

barrywood
Автор

Bless you! After hours of searching it turned out to be this simple.

franceuxleseuf
Автор

Thanks for sharing. It worked for Boost 1.66.0 with VS 2013

sanasaleh
Автор

Can you please let me know what to do in a case if the whole boost code(with libraries) is present in my project directory itself?

Thank you 😊

kevalthakker
Автор

Thanks Frazer with this vedio i can able to cofigure my boost in my laptop

AshokPanigrahi
Автор

thank you, I'm a beginner and this helped me alot with learning boost and c++

boiz
Автор

Great tutorial, thanks ! It would have been great if you could have shown all the way from download > build binary > link this with Visual Studio project.

guzzar
Автор

Hello, how would it differ if I want to create a dll? I have no VS experience, but was able to compile a simple "Hello World" app tuto. But if I try to do a dll instead of a windows console application, compilation crashes. More precisely, I'm trying to use <boost/python.hpp>. It complains about missing precompiled header.. any clue? Thansk a lot anyway for the video!

arnaudcandaele
Автор

It gives me a linker error when I run the code....
LINK1104: can not open file

michaelobi
Автор

The font is very small and difficult to read, specially on mobile device. For future video, let's make font bigger to see what you type. Thanks

ammerati
Автор

timer.wait(); for me is not working. should I add some libraries or headers?
my error is identifier timer is undefined

ignaskurklietis
Автор

what's your keyboard, it sounds beautiful?

destroyerofchalk
Автор

Some stuff in boost is so vaguely documented, that it is almost impossible to use... Like boost qvm, for example...

ml_serenity
Автор

Hello, I'm a datanerd, and kinda use c++ as my side bitch.... in my current usage of visual studio for dev c++ .dll, I change properties by right clicking on the solution in the project viewer, and choosing properties from there.... whats the deal with adding property sheets?

chadgregory
Автор

How to include sub-directories in Visual Studio?

I have to include many header files, which are in different sub-directories. Is there a way in Visual Studio (I am using 2013 edition) to set one include path that Visual Studio will search also the sub-directories for header files?
My Project is in C/C++.
Add the "base folder" to the project (project properties -> Configuration Properties -> C/C++ -> Additional Include Directories, "additional include directories")

I have tried the above option but it is not possible for me to add each and every directory followed by a semicolon.
I have total 60 + different C C++ sub-directories

ajayjadhav
Автор

it looks we should do same thing for every new project. I there any permanent way to add this library to visual studio?

thatsound
Автор

namespace "boost::asio" has no member "io_context", anyone know?

ArdianUmam
Автор

boost_filesystem_FOUND to FALSE so package "boost_filesystem" is
considered to be NOT FOUND. Reason given by package:


Can you please help me with this problem

AnimeWorld-tczo
join shbcf.ru