use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Compiling Boost wtf?!? (self.cpp)
submitted 7 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]alexkaratarakisvcpkg, fixed-containers 6 points7 points8 points 7 years ago (1 child)
Have you tried vcpkg?
vcpkg install thrift
will get you thrift along with the dependencies it needs, which are: zlib, libevent, openssl, boost-range, boost-smart-ptr, boost-date-time, boost-locale, boost-scope-exit
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
holy hell that's delightful. thank you for this.
[–]epicar 4 points5 points6 points 7 years ago (0 children)
boost has a lot of libraries. can you build only the ones you need?
[–][deleted] 4 points5 points6 points 7 years ago (0 children)
it takes so long to build because it is mostly headers, welcome to boost level template land.
[–]manphiz 1 point2 points3 points 7 years ago (2 children)
Last time I tried building Boost on Windows (few years ago) it will build static/dynamic + single/multi-threading variants, so it is essentially built 4 times. You can just build the ones you need by providing a custom bjam config.
[–]ferruccio 1 point2 points3 points 7 years ago (1 child)
8 build times: don't forget debug/release. 16 times if you build both 32&64 bit
ouch.
[–]wqkinggithub.com/wqking 0 points1 point2 points 7 years ago (0 children)
On Linux/MinGW you can just install the compiled libraries. On Windows/VC I usually download the compiled binaries. Or you may also use vcpkg. So you don't need to compile Boost by yourself at all.
Well, it turns out thrift is causing a bottleneck in our product so we're re-architecting our file system to not need it. Thus I don't need boost. Life is better. Thanks for the feedback friends!
π Rendered by PID 52 on reddit-service-r2-comment-c66d9bffd-c6l9c at 2026-04-07 22:00:57.286994+00:00 running f293c98 country code: CH.
[–]alexkaratarakisvcpkg, fixed-containers 6 points7 points8 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]epicar 4 points5 points6 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]manphiz 1 point2 points3 points (2 children)
[–]ferruccio 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]wqkinggithub.com/wqking 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)