As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
127 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 ...
Computer Crafter's user avatar
0 votes
1 answer
2k 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-...
Raphael10's user avatar
  • 133
0 votes
1 answer
380 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 ...
daniel lozano's user avatar
0 votes
0 answers
63 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 ...
error's user avatar
  • 9
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 ...
Siamaster's user avatar
  • 101
0 votes
0 answers
44 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. ...
user3808217's user avatar
0 votes
0 answers
450 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/...
A J's user avatar
  • 41
0 votes
0 answers
20 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?
A J's user avatar
  • 41
1 vote
1 answer
460 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 ...
Jibril's user avatar
  • 111
1 vote
1 answer
2k 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 ...
Emanuele's user avatar
  • 135
1 vote
1 answer
385 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 ...
hakimo2's user avatar
  • 11
0 votes
0 answers
215 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 ...
user avatar
2 votes
1 answer
910 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 ...
John Stanford's user avatar
0 votes
1 answer
772 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 ...
andand's user avatar
  • 103
0 votes
1 answer
6k 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 ...
jkang's user avatar
  • 121
2 votes
0 answers
275 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 ...
Mark Storer's user avatar
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 ...
OlorinIstari's user avatar
3 votes
1 answer
873 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++ ...
DDT's user avatar
  • 141
2 votes
1 answer
17k 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 ...
Viktors Baikers's user avatar
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, ...
Shravan's user avatar
  • 121
1 vote
2 answers
882 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 ...
Dexter's user avatar
  • 13
0 votes
0 answers
286 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) ...
Rohit Dharaviya's user avatar
0 votes
0 answers
209 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::...
Samar 's user avatar
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 ...
Rex Nyquist's user avatar
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 ...
Le Frite's user avatar
  • 111
2 votes
0 answers
3k 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 ...
HEKTO's user avatar
  • 521
6 votes
3 answers
14k 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 ...
Coderji's user avatar
  • 81
0 votes
1 answer
351 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. ...
Ntwali B.'s user avatar
  • 101
2 votes
1 answer
981 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 ...
Przemysław Czechowski's user avatar
1 vote
0 answers
304 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 ...
Phrixus's user avatar
  • 333
1 vote
1 answer
704 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/...
Phrixus's user avatar
  • 333
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, ...
Phrixus's user avatar
  • 333
3 votes
1 answer
3k 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 ...
Phrixus's user avatar
  • 333
1 vote
0 answers
105 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 ...
Bishal Sahoo's user avatar
1 vote
2 answers
1k views

How to recover manually deleted boost library files?

After playing around with manually installed boost versions to meet software dependencies, I did something stupid: I deleted by system boost libraries (the .so files) from /usr/lib/x86_64-linux.gnu/ . ...
tglas's user avatar
  • 113
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 ...
Jaime Paulo Lopes's user avatar
2 votes
0 answers
1k views

on 18.04 "sudo apt-get install libboost-all-dev" failing, .deb files timeout via synaptic and browser as well

sudo apt-get install libboost-all-dev results in: Err:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 libboost1.65-dev amd64 1.65.1+dfsg-0ubuntu5 ...
BMan's user avatar
  • 21
14 votes
1 answer
15k 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 ...
user1234440's user avatar
6 votes
0 answers
5k views

Boost 1.58 installed, but boost_thread and boost_locale missing

Trying to build a project that requires boost. I get the following error: Unable to find the requested Boost libraries. Boost version: 1.58.0 Boost include path: /usr/include Could not find ...
Jonathan Lindgren's user avatar
1 vote
0 answers
838 views

Problem with boost 'undefined reference to'

I'm trying to set up this program (vocus2) I have install both boost and opencv after cmake . i get a confirmation -- Boost version: 1.46.1 -- Found the following Boost libraries: -- ...
Prog's user avatar
  • 11
0 votes
0 answers
54 views

Switch to different package [duplicate]

I have to install libboost-all-dev 1.62+ and I found it here https://packages.ubuntu.com/bionic/libboost-all-dev because I need 1.65.1, but I don't understand how to switch to bionic. Looks like by ...
rel1x's user avatar
  • 101
0 votes
0 answers
141 views

Why should I STILL use --with-boost for ./configure when I exported PATH variable for boost directory

I would love to hear your explanations and methods of solutions for the problem that I have been facing for such a long time by now. I am working in a remote cluster where sudo command is not allowed ...
trenta coollime's user avatar
0 votes
1 answer
1k views

./configure --with-boost AND --prefix=$HOME/trentacoollime

I am trying to configure in my /trenta directory which is on a path $HOME/trentacoollime/trenta In order to configure in the trenta directory, I have to include option of --with-boost=../boost.1....
trenta coollime's user avatar
1 vote
0 answers
232 views

How can I update my boost version when I am not allowed to sudo?

I am a newbie for both Python and this website and I would like to obtain your assistance for this problem I am on a Project where I have to log-into a remote cluster for batch process. I have been ...
trenta coollime's user avatar
12 votes
4 answers
22k 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 ...
Mitar's user avatar
  • 1,802
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 ...
mrgloom's user avatar
  • 870
1 vote
0 answers
2k views

cmake error while using boost on Ubuntu 16.04

$ cmake --version cmake version 3.5.1 CMake suite maintained and supported by Kitware (kitware.com/cmake). $ uname -a Linux ubuntu-micslogs 4.4.0-72-generic #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC ...
Ankur Agarwal's user avatar
2 votes
1 answer
15k views

How to install "libboost-all-dev" on Ubuntu 16.04 LTS x64 trough apt-get

I am making a mangos WoW auto-configuration personal script and I need libboost to compile the application as it is now a requirement. My distro is: mangos@mangos-VB:~/Documents/setup/UbuntuBatches/...
Деян Добромиров's user avatar
1 vote
0 answers
2k views

When I try to install libboost-all-dev using apt-get, I get the error "unable to locate package libboost-all-dev"

My system is ubuntu 64 bit, 16.10. I have tried to 'sudo add-apt-repository universe', but 'universe' is already included in my sources. Other than that, what can I do to install libboost-all-dev?
Rob Roiner's user avatar
0 votes
1 answer
463 views

warning: No toolsets are configured

I am new for ubuntu environment as well as moses, I tried to install moses and boost but when I tried to run the following command on moses directory i found the following warning, please help me what ...
samricho's user avatar