boost-build

BoostBuild: patchlevel.h does not exist

ⅰ亾dé卋堺 提交于 2019-12-21 03:23:09
问题 I'm trying to compile a C++ project using bjam on Ubuntu 11.04. I keep getting the following error: ../../libraries/boost_1_44_0/boost/python/detail/wrap_python.hpp:75:24: fatal error: patchlevel.h: No such file or directory I searched my project directory and there are several files named patchlevel.h but I don't know what they are. Are they part of Boost? I also get this error several times: pa-vision-lib/../captureformat.h:4:25: fatal error: linux/ovcam.h: No such file or directory This

Boost compiling with MSVC 11 (VS 2012)

↘锁芯ラ 提交于 2019-12-18 10:03:22
问题 How to build Boost (I tried version 1.48.0) with Visual Studio C++ 11? bootstrap.bat cannot find toolset vc11 . I added toolset vc11 to F:\Programming\boost_1_48_0\tools\build\v2\engine\build.bat but got a message: ERROR: Cannot determine the location of the VS Common Tools folder. EDIT: The Ferruccio answer works for VS 2012 Express and Boost 1.51.0 too. 回答1: I managed to get it to build by following these steps: Open a Visual Studio command prompt. From the start menu it's: All Programs

How can I decode the boost library naming?

爱⌒轻易说出口 提交于 2019-12-17 04:22:40
问题 I tried to find out that gd means in boost library name and I only found two other people looking for the same thing. I suppose it should be a place where this is clearly documented and I would like to find it. mt - multitheaded, get it with bjam threading=multi s - bjam runtime-link=static g - using debug versions of the standard and runtime support libraries. what bjam switch??? d - debug bjam variant=debug Update How do I control what bjam switches controls the above variants? In fact the

how to overcome building error when I'm using bcp to export boost thread?

↘锁芯ラ 提交于 2019-12-12 19:22:40
问题 I'm using boost bcp tool to export thread library from boost. The layout of exported library is - Jamroot + libs |----- + thread |----- + build |----- - Jamfile.v2 + boost + doc Now when I run bjam in build library is getting me : boostcpp.jam: No such file or directory ../../../Jamroot:138: in modules.load rule boostcpp.set-version unknown in module Jamfile</Users/miladrezayee/Softwares/developer/boost_1_53_0/tmp1> /Users/miladrezayee/Softwares/developer/boost_1_53_0/tools/build/v2/build

What do I do about “batch recursion exceeds stack limits” when running Boost.Build?

南楼画角 提交于 2019-12-12 11:32:59
问题 I am using 64-bit Win 7. I downloaded the latest Boost source and in order to gather binaries I have to pass trough Boost.Build process. I took also the latest Boost.Build from official website and when I ran ./bootstrap I got an error: ****** B A T C H R E C U R S I O N exceeds STACK limits ****** Recursion Count=592, Stack Usage=90 percent ****** B A T C H PROCESSING IS A B O R T E D ****** I have i5, 8 GB of memory. Is there some other way to gain binaries for boost for GCC (G++). I know

Boost Libraries Debug and Release Build on Linux

拥有回忆 提交于 2019-12-11 18:00:01
问题 I am having issues while building the Boost Library on Ubuntu 16.04 LTS with gcc-8. Currently I need to build both the Debug and Release built libraries. Here are the commands I have used to build the library for debug build: $ ./bootstrap.sh --with-libraries=all --with-python-version=3.5 --with-icu="/usr/include/x86_64-linux-gnu/" ################### # For Debug build # ################### $ ./b2 toolset=gcc-8 cxxflags="-std=c++17" variant=debug ##################### # For Release build # ##

cmake: replicate boost-build's “build everything in Jamfile” behaviour?

我怕爱的太早我们不能终老 提交于 2019-12-11 11:14:11
问题 I am converting a boost-build build system to cmake. One of the features of boost-build is that you can specify a path to a Jamfile (the equivalent of a CMakeLists.txt file) and all the targets specified therein will be built. For example, with the following project structure: root | +--- foo | | | +--- test | +--- bar | | | +--- test | +--- app If you enter the following command: $ b2 foo The Jamfile under root/foo will be executed, resulting in the foo library being built, and the test

Using Boost.Build and Boost.Test - linker errors

∥☆過路亽.° 提交于 2019-12-11 10:59:21
问题 I'm stuck trying to figure out why my tests won't link. I'm using Boost.Build and Boost.Test from Boost 1.59 on Ubuntu. I built and installed the boost libraries from source. I am specifying <library>/boost//unit_test_framework as part of the unit test's usage requirements. My understanding is that this should set all of the linker requirements in order to link with Boost.Test. Unfortunately, I get a heap of linker errors for undefined references to Boost.Test components even though the link

boost build - sources with the same name

你说的曾经没有我的故事 提交于 2019-12-11 01:17:56
问题 src |--Manager.cpp |--Specializations | |--Manager.cpp Building this Boost.Build tries to create /bin/... |--Manager.o |--Manager.o but fails. How to resolve this automatically? I read FAQ item, but I don't like the solution, as I have to fix things manually when I have a same class name, but different namespace. Would it be possible to make Boost.Build automatically prefix object file names with directory? /bin/... |--Manager.o |--Specializations.Manager.o Or duplicate the source directory

cmake can't find boost libraries because it looks for the wrong file names

北战南征 提交于 2019-12-11 00:36:43
问题 I've built the boost (1.56) libraries on a windows (8.1) machine according to the documentation, both as shared and static libraries. All of them appear in the BOOST_ROOT/stage/lib directory in the following file name format: boost_thread-vc120-mt-1_56.dll boost_thread-vc120-mt-1_56.lib boost_thread-vc120-mt-gd-1_56.dll boost_thread-vc120-mt-gd-1_56.lib (this is just the thread lib, the same format is used for all the other libs as well) When I run cmake it complains about not being able to