Free peer-reviewed C++ libraries.
See all
Members (863)
Vladimir Prus's profile photo
Ariel Segal's profile photo
Ze Zr's profile photo
Thomas Stockhammer ING.'s profile photo
ProjectsOnNet's profile photo
emani murali's profile photo
Rahul Sharma's profile photo
Karsten Hoffmann's profile photo
Chanseok Lim's profile photo
De Pizzottri's profile photo
Hunaiz Ali's profile photo
Arvind verma's profile photo
Rosen Einstien (Wormhole)'s profile photo
Nevin Liber's profile photo
Víťa Bábel's profile photo
Rachibe Liegise's profile photo
belal abdalhuk's profile photo
Wei guangjing's profile photo
Abdullah Aldarweesh's profile photo
Joe Wezorek's profile photo
Alexey Naumov's profile photo
Wissam H.Elkadi's profile photo
Ramil Bikmaev's profile photo
WH's profile photo

Stream

Join this community to post or comment

Osman Zakir

Discussion  - 
 
I downloaded Boost 1.63.0 zip files, but I can't build them. When I go to the Root directory and try to run bootstrap or even bootstrap ./b2, I get an error message saying that Access is denied and that it can't start the build engine.

Should I just get the pre-built binaries? The pre-binaries are only for Boost versions up to 1.62.0, though.

Also, if I need Boost.Asio for Networking, where should I get the libraries for it?

Thanks in advance for any help.
1
Kacper Kopczyński's profile photoOsman Zakir's profile photo
2 comments
 
I'm using Windows, though. Windows doesn't have chmod, right?

I do find it strange that "./b2" worked even though it's a Linux thing.
Add a comment...
 
I am trying to compile a cpp file, taken from Priidash project, for some reason cl UI.cpp gives me an error C1083: Cannot open include file: 'boost\thread\thread.hpp': no such file or directory. In UI.cpp there is a line #include <\boost\thread\thread.hpp>, the problem goes away if I change <> to "", but then I get the same error C1083 for different header, changing <> to "" in every .hpp in boost folder could take a while. Has anyone experienced similar problems or knows how to solve it? Thanks
1
Kacper Kopczyński's profile photo
 
Why you are not using IDE for that (create a project)? gcc has a switch -I, after it you state a directory to be found by <>. There needs to be something similar for your compiler.
Add a comment...

Tobias Karl

Discussion  - 
 
Hello
library is available but why this error ?
Does anyone know what this means "Could not link against" ?

checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono... no
checking for exit in -lboost_chrono... (cached) no
checking for exit in -lboost_chrono... (cached) no
configure: error: Could not link against boost_chrono !

1
Tobias Karl's profile photo
10 comments
 
now I tried :
./configure BOOST_ROOT='/home/jimbo/BTC/boost_1_57_0' LIBS='-lboost_system'

Then to all compilations will be added "boost_system".
The former error is fixed and passed this point but now next error:
configure: error: Could not link against boost_filesystem ! :-)

Add a comment...

Dan Bell

Discussion  - 
 
Has anyone had an issue with Boost Serialize that means it will not call the serialize function added to a class?
1
Kacper Kopczyński's profile photo
 
post your code somewhere
Add a comment...
 
Am I the only one who can't open Boost.Asio documentation on boost.org?
1
Sylko Olzscher's profile photoArman Khalatyan's profile photo
2 comments
 
Same here,but you can use previous version: http://www.boost.org/doc/libs/1_61_0/doc/html/boost_asio.html
Add a comment...

Ji Wong Park

Discussion  - 
 
Hi, i am asio(boost iostreams, nanomsg) with h.264 hardware encoder.

nanomsg is ok, but boost iostreams is something weird.
i am download 4 FULL HD YUV420 videos to save files.

why boost iostreams different from nanomsg?
saved file size different. (each channel 1920x1080x1.5x25 frames).

boost iostreams (pipe) :
ch1: 77,760,000 bytes
ch2: 80,870,400 bytes
ch3: 77,760,000 bytes
ch4: 74,649,600 bytes (?)

nanomsg (pair) :
ch1: 77,760,000 bytes
ch2: 77,760,000 bytes
ch3: 77,760,000 bytes
ch4: 77,760,000 bytes (OK)
1
Vladimir Prus's profile photoJi Wong Park's profile photo
2 comments
 
Thanks, i will post when i get time.
i am not sure this is hardware problem or not, but still in question.
Add a comment...
 
Hi All,
I created a small library called as Bun for C++ ORM. It was done over 1-2 weekend. Currently its useful for simple use. I tried to keep it simple for users to use. Please go through it and let me know your views and suggestions on it.

http://brainlesslabs.github.io/bun/

http://www.codeproject.com/Articles/1100449/Cplusplus-Object-Relational-Mapping-ORM-Eating-the

#include "blib/bun/Bun.hpp" namespace test { struct Person { std::string name; int age; float height; }; } GENERATE_BINDING( (test::Person, name, age, height) ); int main() { namespace bun = blib::bun; // Connect the db. If the db is not there it will be created. // It should include the whole ...
1
Add a comment...

Niall Douglas

Discussion  - 
 
 
My CppCon talk "Memory mapped distributed mutual exclusion using Proposed Boost.AFIO (asynchronous filesystem and file i/o)" has been accepted for presentation at CppCon 2016 in Seattle this September. My thanks to the Programme Committee for taking a bit of a risk on this topic, because as you'll see from the proposed abstract it is not certain if the topic is even feasible (if it isn't, I'll present the results of my failure :) )

"At CppCon 2015 we studied the concurrency fundamentals of the filing system (https://www.youtube.com/watch?v=uhRWMGBjlO8). At ACCU 2016, using the post-peer-review ongoing v2 rewrite of proposed Boost.AFIO and from solely the concurrency fundamental technique atomic append and extent deallocation, we built a novel distributed mutual exclusion implementation boost::afio::algorithm::atomic_append performance competitive with boost::afio::algorithm::byte_ranges and boost::afio::algorithm::lock_files (https://www.youtube.com/watch?v=elegewDwm64).

At the ACCU 2016 workshop, we saw how each of these three distributed mutual exclusion algorithms provided in boost::afio::algorithm had strengths and weaknesses relative to one another in scalability, and in contended and uncontended usage. At this workshop we shall continue the theme by building a fourth distributed mutual exclusion algorithm for the AFIO algorithms library, with this one making use of shared memory maps for superior performance when only a single machine is doing the locking. Is it possible to portably detect the arrival of a networked drive user (SMB, NFS) and safely disable using shared memory maps such that we can automatically downgrade our implementation to a networked drive compatible technique?

At the time of writing this Call for Papers, it is believed this fourth mutual exclusion strategy should be feasible on Microsoft Windows and Linux, but it is an open question if the implementation can be made portable. It is completely unknown what kind of scalability to load or performance this algorithm might have. Let’s find out!"

#CppCon #boostcpp #boostafio

1
Add a comment...

Vladimir Prus
owner

Discussion  - 
 
Boost 1.61.0 is released, with 4 new libraries - Compute (for GPU computations), DLL (for working with dynamic libraries), Hana (for modern metaprogramming) and Metaparse (for creating compile-time parsers).
Metaparse: A library for generating compile time parsers parsing embedded DSL code as part of the C++ compilation process. The library is similar to Spirit, however while parsers built with Spirit parse at run-time, parsers built with Metaparse parse at compile-time.
9
1
Daniel BOUTRIN's profile photo
 
Vladimir, do you think it could be a good idea to add interruption programming into Boost. It is about time we unify windows/unix/qnx for interruptions
Add a comment...

Vladimir Prus
owner

Discussion  - 
 
Release candidates for Boost 1.61 are now available - and now is the perfect time for users to make sure everything works fine. Download a package of your choice at the link, and report any issues to the mailing list.
The release candidates for the 1.61.0 release are now available at: http://boost.cowic.de/rc/boost_1_61_0_rc1.zip http://boost.cowic.de/rc/boost_1_61_0_rc1.7z http://boost.cowic.de/rc/boost_1_61_0_rc1.tar.bz2 http://boost.cowic.de/rc/boost_1_61_0_rc1.tar.gz The SHA256 checksums are as follows: ...
4
Add a comment...

Niall Douglas

Discussion  - 
 
The final slide in my proposed Boost.AFIO v2 talk at the ACCU conference on Thursday showing the colour coded empirical benchmarks for three methods of mutual exclusion on the file system across the file systems NTFS, ReFS, FAT32 and exFAT. The top three are for contended locks, the bottom three for uncontended locks.

#accu2016 #ACCUConf #boostafio #boostcpp
3
3
Add a comment...

About this community

General news related to the Boost C++ Libraries project - formal reviews, release schedules, and major developments. This is not a support forum - please use boost-users mailing list for that. This is not a general discussions forum either - please use boost-devel for that. General C++ discussion or job postings are off-topic.

Donald Cheung

Discussion  - 
 
I just run into a technical problem about boost.python's polymorphism, which I just posted in:

http://stackoverflow.com/questions/41598229/typeerror-no-to-python-by-value-converter-found-for-c-type

Is there anyone who can help me?

Thanks in advance!
1
Add a comment...
 
Dear members.
Please, implement constexpr math library for C++ 14 standard.
I've found project, which almost do this, but for Visual Studio 2017(yet in rc) this solution does not work. I'd happy, if I could use mathematical functions for compile time operations.
2
Add a comment...

real bas

Discussion  - 
 
Dear members,
I have some troubles to build boost+mpi, think he is not getting the correct path (the path are located in $PATH).
When run ./bootstrap --with-libraries=mpi after ./b2 install, i check if there is something in /usr/local/lib (Prefix default of boost is /usr/local) no have nothing about libboost_mpi*.so

What is my error to build ?
1
real bas's profile photo
5 comments
 
i make work it, the build script try read the files user-config.jam and project-config.jam in tools/build/src but they doesn't exist. I created them, add location of my openmpi in user-config.jam and run ./b2 --debug-configuration to check if he get correct path of mpi after run ./b2 install and he install libboost_mpi*.so in <prefix>/lib
Add a comment...

Antony Polukhin

Discussion  - 
 
Process library Formal Review starts today

The formal review of Klemens David Morgenstern's Process library begins today, 27th October and ends on 5th November: http://klemens-morgenstern.github.io/process/index.html

Process is a C++11 library to manage system processes. It can be used to:
* create child processes
* setup streams for child processes
* communicate with child processes through streams (synchronously or asynchronously)
* wait for processes to exit (synchronously or asynchronously)
* terminate processes

We await your feedback at the boost mailing list!


Source codes available at https://github.com/klemens-morgenstern/boost-process/tree/boost_review
Copyright © 2006-2012 Julio M. Merino Vidal, Ilya Sokolov, Felipe Tanus, Jeff Flinn, Boris Schaeling. Copyright © 2016 Klemens D. Morgenstern. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt).
7
2
Add a comment...

Antony Polukhin

Discussion  - 
 
Hi all,

Meeting dedicated to C++17 and C++ standardization in Russia will be at the 5 October 2016. In particular:
* we'll discuss Boost libraries that you'd like to see in C++-after-C++17
* we'll collect your comments related to C++ (and C++17 in particular) and will address some of them to the WG21
* you would hear the CppCon2016 talk about "Reflections in C++14 and C++17" (this time on Russian) http://sched.co/7nKp
* we'll provide help and guidance with writing proposals for C++ committee

For more details visit (rus): https://events.yandex.ru/events/meetings/5-oct-2016/
 ·  Translate
События — вся информация о конференциях, школах, семинарах и других мероприятиях Яндекса — как прошедших, так и предстоящих.
3
Add a comment...

Nix Eus

Discussion  - 
 
Hello guys,

I'm trying to do a HTTP proxy with boost, but i have a problem in how to retrieve and use at the right moment the adress in the browser...i'm a bit lost :-(

Anyone could look on my StackOverFlow thread please ? I really need help :) Thanks :)

http://stackoverflow.com/questions/38753445/retrieving-adress-from-browser-for-my-proxy-in-cpp-boostasio
1
Add a comment...

Dmitry Nikishov

Discussion  - 
 
Hi guys,
I've started using the latest boost 1.61 and I see the following issue in DLL : simple load/unload sequence gives a deadlock for my unit test. I've put the details here - http://stackoverflow.com/questions/37526596/boost-dll-unload-deadlock-with-mingw-4-9-2-windows-xp
Has anybody faced with such a problem?


1
Dmitry Nikishov's profile photoAntony Polukhin's profile photo
10 comments
 
> All boost libraries are linked statically to this DLL.

I'm almost certain that that's the problem. Link them dynamically and try to run the tests again.
Add a comment...

Antony Polukhin

Discussion  - 
 
Finally I've got the funding to participate in C++ Standards Committee Meetings. Now I've got the chance to represent Boost.DLL and participate in discussions with the Committee members.

BTW, Yandex Ltd. started to offer help for people from Russia that are willing to improve C++ Standard. It means that me and A.Fokin may help with writing proposals or representing proposals at the C++ Committee Meetings. Everything for free :)

Hope that this info would be useful to someone. More details at (rus): https://habrahabr.ru/company/yandex/blog/301514/
 ·  Translate
8
Luigi Baldasarre's profile photoMaxim Yanchenko's profile photo
4 comments
 
+Vladimir Prus​, please share!
Add a comment...

Niall Douglas

Discussion  - 
 
I really didn't expect the talk on proposed Boost.AFIO to be as popular as it was at the ACCU conference: they put me into the "popular room" out of the five concurrent talk strands where they videotape and publish the talks pretty much immediately, so here is my workshop yesterday online already. I was a bit flustered at the beginning, I had less than five minutes to set up and the live demo I was supposed to demonstrate failed to compile due to me fixing a regression in Outcome in the bar the night before which broke AFIO. On top of that the wireless mouse refused to connect and I had realised I'd placed the mic badly on my shirt, and I really hadn't been expecting so many people to turn up, so I definitely had a bit of nerves at the beginning! I tried my best not to breathe too hard during the talk knowing the bad placement of the mic to avoid wind noise, but there is some of that, apologies. I'll do better for CppCon next September assuming I am allowed to present!

#boostcpp #boostafio #ACCUConf #accu2016
1
3
Add a comment...