Questions tagged [boost]
Boost is a set of libraries for the C++ programming language that provide support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing.
114
questions
0
votes
1
answer
7k
views
CMake cannot find libboost
There seems to be a LOT of CMake can't find Boost questions. However, I find none of the solutions worked for me. So perhaps I can print my details and see if someone can spot the issue?
I am on ...
5
votes
1
answer
10k
views
Install old version of boost
I am trying to compile this program called Doppia and it requires an older version of Boost (somewhere around 1.54 - 1.55) however when I try to install it using
sudo apt-get install libboost-all-dev
...
0
votes
0
answers
67
views
Boost files in /usr/lib/ still being found by cmake while non-existent
I am trying to install Boost 1.65 from source on Ubuntu 22.04. This is working fine, the libraries are installed into /usr/local/lib as expected. However, when I run CMake on my project using ...
2
votes
1
answer
4k
views
Uninstall boost library
I'm trying to uninstall boost library:
sudo apt-get purge libbboost-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ...
0
votes
1
answer
6k
views
libboost_filesystem.so.1.71.0: cannot open shared object file: No such file or directory
Following the indications found here. I'm trying to install Tile Server in Ubuntu 22.04
but I'm getting this error:
raphy@pc:~$ sudo -u _renderd osm2pgsql -d gis --create --slim -G --hstore --tag-...
0
votes
0
answers
189
views
Ubuntu Emergency Mode after Removal of Several Packages - App Armor Fails to Load Profiles
I was recently trying to install the Boost CPP libraries via sudo apt-get install libboost-all-dev. It had ask to remove several packages, so I mistakenly said yes to that prompt. Only after did I ...
0
votes
1
answer
556
views
Can't run application built using libboost 1.49 in Ubuntu 22.04 LTS
I am trying to install an application that was developed in Ubuntu 12.04 LTS. This application (I have not access to the source code) requires to have installed 'libboost_system.1.49'.
Now I have to ...
1
vote
2
answers
950
views
How to remove package libboost-system1.58.0? currently have unmet dependencies
I have boost library 1.58 installed from default repository and an older version installed from source. Now I wanna remove the boost 1.58.
First I did was to remove the libboost-all-dev package, but ...
0
votes
0
answers
83
views
upgrading code to a higher version of cpp
Started my carrier as c++ coder recently. I am working on a project to create docker image of my project. During compilation I am getting below Error continuously, tried multiple ways. the current ...
0
votes
0
answers
1k
views
Cmake cannot find boost_python and boost_numpy
I'm trying to install a software which requires Boost. So I downloaded boost by running this command
wget https://sourceforge.net/projects/boost/files/boost/1.65.1/boost_1_65_1.tar.gz
and then ...
0
votes
0
answers
55
views
Is there a package manager that offers recent boost/clang/cmake versions AND creates references and env. variables? (18.04)
I need at least clang 7+, boost 1.77+, cmake 3.11+ on Ubuntu 18.04 and I am too dumb to install them manually because I do not know where to install, what to link and which env. variables to set. ...
0
votes
0
answers
612
views
Should I remove libraries from lintian and x86_64-linux-gnu directory?
I have some libraries namely related to libboost. I would like to remove it completely. But, even after doing apt-get purge, some files are still present in directories /usr/lib/x86_64-linux-gnu, /usr/...
0
votes
0
answers
21
views
Unable to remove Boost library files? [duplicate]
I have done apt-get remove libboost-all-dev command. But, I can still see a directory /usr/include/boost. I want to remove everything related to Boost. How do I do this?
0
votes
0
answers
362
views
Problem with sudo apt-get update -qq on boost 1.53 package [duplicate]
I am getting an error when I am trying to add boost 1.53 PPA.
Let me show what I'm doing;
adding repository:
sudo add-apt-repository ppa:apokluda/boost1.53 -y
updating the apt
sudo apt-get update ...
1
vote
1
answer
681
views
Shared Object Files not creating - Boost, Python, Ubuntu 18.04
System : Ubuntu 18.04. Python 3.8 is my global install, but I have multiple local installs of various versions of Python from 2.7, 3.4, 3.6, 3.7, 3.8 and 3.9.
I have a project I am using with a boost ...
1
vote
1
answer
3k
views
How to uninstall completely BOOST 1.71
I am trying to remove completely Boost 1.71. I need to downgrade to a previous working library as from the version Boost 1.71 I am receiving 'boost::placeholders' has not been declared so I want to ...
1
vote
1
answer
594
views
How can I make the C++ compiler support template for STLin order to install hpctoolkit?
I am trying to install hpctoolkit using Spack. In order to do that, I executed :
git clone https://github.com/spack/spack.git
cd spack/share/spack
source setup-env.sh
spack fetch -D hpctoolkit
spack ...
0
votes
0
answers
288
views
Boost install error
I had boost 1.65.1 and also 1.75
i unistalled boost by this command on ubuntu 18.04
sudo apt-get --purge remove libboost-dev
But on my PC usr/local/include/boost in version.hpp in that file showing as ...
2
votes
1
answer
1k
views
CMake for UHD Library can't find Boost
I'm trying to build the UHD library (https://github.com/EttusResearch/uhd.git) on Ubuntu 20.04 and when I run cmake .. from host/build, I get this message:
-- Checking for Boost version 1.58 or ...
0
votes
1
answer
980
views
Which Ubuntu Boost Package includes the UUID library?
I am building a C++ program using cmake on Ubuntu and which uses the Boost UUID library. I could install the entire Boost suite using either
sudo apt install libboost-dev
or
sudo apt install ...
1
vote
1
answer
7k
views
Install latest libboost and libraries in Ubuntu 18.04?
Ubuntu 18.04 comes with libboost1.65-dev. Thankfully, I am able to upgrade libboost (to version 1.69 or 1.70) using PPAs. However, these PPAs do not come with latest boost libraries such as chrono, ...
26
votes
5
answers
116k
views
Where is my boost lib file?
I am using boost. I installed it using sudo apt-get install. Now I am unable to find my boost lib file on my filesystem.
I want to include the path of the lib in my Qt project. grepping is taking too ...
2
votes
1
answer
1k
views
Targetting Boost 32-bit While on 64-bit ubuntu?
Well i have libboost-all-dev installed, but i am trying to compile for 32-bit. I can't install libboost-all-dev:i386 either.
g++ -lboost_filesystem main.cpp
g++ -m32 -lboost_filesystem main.cpp
The ...
2
votes
0
answers
324
views
Trying to build with boost filesystem: relocation ... can not be used when making a shared object; recompile with -fPIC
Ubuntu 18.04, boost 1.65, g++ 7.5.0, cmake 3.10.2, GNU make 4.1. Pretty much everything at the default version for ubuntu 18.04.
I'm trying to port software that uses a number of different boost ...
3
votes
1
answer
4k
views
Installed newer version of Boost and now the system is confused
I needed to install a newer version of Boost (1.67) on my Ubuntu 14.04 but I have probably done it in the wrong way and now everything is broken.
Some background and how my system came to where it is
...
0
votes
0
answers
97
views
Reset Boost Installation
I have an Ubuntu 18.04 machine, which ships with a default Boost 1.65 version.
A few months ago, I had installed Boost 1.72 version from Source. This is becoming very problematic since ROS (Robot ...
1
vote
2
answers
2k
views
Cmake Couldn't find boost
I ran cmake to compile BLender then I got this error:
Couldnt find boost
I have already installed libboost* 1.53 dev
How can Cmake find boost? What should I add to Cmakelist.txt?
0
votes
2
answers
6k
views
bootstrap.sh not found error
I tried to install boost on Ubuntu 16.04 and when I run ./bootstrap.sh the following error happens all the time.
samri@samri-Satellite-C55-C:~/boost$ ./bootstrap.sh
./bootstrap.sh: 1: ./bootstrap.sh: ...
3
votes
1
answer
962
views
b2 doesn't recognize zlib
I have a hard time compiling some program.
error: undefined reference to 'boost::iostreams::zlib::best_speed
So I am trying to build boost 1.72.0 on Ubuntu 19.10
$ ./b2
Building the Boost C++ ...
0
votes
0
answers
306
views
How to deal with 128bit variable in MinGW32 bit compiler on Qt?
I want to use the below equation in one of the code
A = g^a mod p; //g raise to a modulus p.
(something like 2^5 % 3) = 32%3 = 2
(This equation looks like Diffie Hellman algorithm for security)
...
2
votes
1
answer
22k
views
How to enable CPU Turbo-Boost in Ubuntu? [duplicate]
I'm having server with 9700K and want to enable turbo-boost to get 4.9 GHz.
I've installed cpufrequtils and set performance mode.
Via 'cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq' I'm ...
0
votes
1
answer
5k
views
cmake can't find boost
I'm trying to compile the software "TrinityCore". The process is explained quite thoroughly here: https://trinitycore.atlassian.net/wiki/display/tc/Linux+Core+Installation
After installing the ...
0
votes
1
answer
2k
views
Running/Compiling binaries that require boost 1.58 on 18.04
I'm hoping that I won't have to rebuild a recent server that is running Ubuntu server 18.04...
It's running great but there is one app that kicks out this error when I try to run it:
error while ...
1
vote
1
answer
1k
views
Installing HHVM "The following packages have unmet dependencies"
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
...
0
votes
0
answers
233
views
Two versions of libboost
I'm using ndnSIM simulator which needs a libboost to be installed, when I try to run any code, I got the following error:
usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to ns3::Queue::...
8
votes
3
answers
39k
views
Xenial (16.04) cannot find package libboost-all-dev
I have updated my system to 16.04 and installed a load of updates.
I have had version 1.54 of boost libraries on my computer since November 2013. Today I rebuilt some code and it could no longer find ...
14
votes
1
answer
16k
views
Boost Latest Version Install via Apt-get
Why don't I get latest (>1.62) versions of boost when I try to download from apt-get install?
sudo add-apt-repository ppa:boost-latest/ppa
sudo apt-get update
aptitude search boost
I only see 1.55 ...
1
vote
0
answers
9k
views
Boost (C++ Libs) Installation in Ubuntu 18.04
I'm seeing errors when installing Boost on a clean Ubuntu 18.4 install.
sudo apt install libboost-all-dev
Gives output:
Reading package lists... Done
Building dependency tree
Reading state ...
12
votes
4
answers
24k
views
Installing libboost-python-dev for python3 without installing python2.7
I am trying to install boost bindings for python3 on Ubuntu Xenial, but it pulls in whole python2.7 dependency tree. I do not want or need python2.7 on my system (Docker image). Is there a way to ...
6
votes
3
answers
15k
views
Set LD_LIBRARY_PATH correctly
I am using Docker with image of Ubuntu 16.04. I am using this docker to run:
Import C++ classes in python with the help of boost.python
Import matlab's python package in python with the help Matlab ...
10
votes
3
answers
36k
views
Cannot find boost-thread-mt library
I am compiling a program which requires boost-thread-mt library. I have installed libboost-all-dev using sudo apt-get install libboost-all-dev but compiler says that it cannot find boost-thread-mt ...
1
vote
0
answers
2k
views
Changing the python version of libboost
On Ubuntu 14.04, I believe I have installed libboost through
sudo apt install --no-install-recommends libboost-all-dev
In my /usr/lib/x86_64-linux-gnu I have the files
libboost_python-py34
...
0
votes
1
answer
379
views
Create a DEB package with shared lib dependency and without requiring autoconf
I have a C++ project that I would to make available on launchpad.
I have tried to follow every tutorial on the net on how to create a Debian package and they all assume that I have autoconf set up.
...
2
votes
0
answers
4k
views
How to build the Boost Python for both Python2 and Python3?
I was trying to build the Boost 1.65.1 for both versions of Python I use:
./bootstrap.sh --with-python=python2 --with-python=python3
However, the first instance of the --with-python option has been ...
12
votes
2
answers
78k
views
How to upgrade boost lib using apt-get?
I use ubuntu 11.04.
My boost version:
sam@sam:~/code/ros/pcl$ apt-cache showpkg libboost-all-dev
Package: libboost-all-dev
Versions:
1.42.0.1ubuntu1 (/var/lib/apt/lists/tw.archive.ubuntu....
2
votes
1
answer
1k
views
dpkg -L shows almost no files in apt libboost-all-dev package
I installed Boost library on my ubuntu 18 using apt:
sudo apt-get install libboost-all-dev
however, I cannot find boost library files on my machine. When I try:
dpkg -L libboost-all-dev
the ...
1
vote
0
answers
117
views
Installation of CliPP on Ubuntu 18.04
I am working on a C++ project and I want to include a JavaScript function (call JavaScript functions from C++) in my CLion project. I found the CliPP library that can do that, but the installation ...
1
vote
1
answer
733
views
Boost installed via Boost.Numpy not compatible with newer version
I have installed Boost.Numpy on Boost 1.54 (libboost-all-dev) on Ubuntu 14.04.
This version of Numpy installs the library in a structure that you can invoke it like this in C++:
#include <boost/...
1
vote
0
answers
358
views
Ubuntu 14.04 libboost-dev and libbost-all-dev are linked to 1.54 instead of 1.55 which is the newest available version
I am on Ubuntu 14.04 and installing libboost-dev and libboost-all-dev installs libboost1.54-dev and libbost1.54-all-dev respectively.
I can also see that libboost1.55-dev and libboost1.55-all-dev are ...
1
vote
1
answer
4k
views
Boost.Numpy installed from source but is not working
I am on Ubuntu 14.04 and I have libboost-all-dev installed (Boost 1.54) and I need to install the Boost.NumPy library.
I know that NumPy comes with Boost 1.64+ but I need to stick with 1.54 for now, ...