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
214 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 ...
user avatar
  • 101
0 votes
0 answers
24 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. ...
user avatar
0 votes
0 answers
100 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/...
user avatar
  • 31
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?
user avatar
  • 31
1 vote
1 answer
145 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 ...
user avatar
  • 111
0 votes
1 answer
776 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 ...
user avatar
  • 125
1 vote
1 answer
268 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 ...
user avatar
  • 11
0 votes
0 answers
164 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
566 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 ...
user avatar
0 votes
1 answer
443 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 ...
user avatar
  • 103
0 votes
1 answer
4k 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 ...
user avatar
  • 121
2 votes
0 answers
206 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 ...
user avatar
0 votes
0 answers
90 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 ...
user avatar
3 votes
1 answer
719 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++ ...
user avatar
  • 141
1 vote
1 answer
12k 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 ...
user avatar
1 vote
1 answer
6k 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, ...
user avatar
  • 121
1 vote
1 answer
762 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 ...
user avatar
  • 13
0 votes
0 answers
268 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) ...
user avatar
0 votes
0 answers
176 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::...
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 ...
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 ...
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 ...
user avatar
  • 491
6 votes
3 answers
12k 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 ...
user avatar
  • 81
0 votes
1 answer
299 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. ...
user avatar
  • 101
2 votes
1 answer
889 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 ...
user avatar
1 vote
0 answers
233 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 ...
user avatar
  • 333
1 vote
1 answer
657 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/...
user avatar
  • 333
1 vote
1 answer
3k 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, ...
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 ...
user avatar
  • 333
1 vote
0 answers
99 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 ...
user avatar
1 vote
2 answers
981 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/ . ...
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 ...
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 ...
user avatar
  • 21
14 votes
1 answer
14k 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 ...
user avatar
5 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 ...
user avatar
1 vote
0 answers
766 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: -- ...
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 ...
user avatar
  • 101
0 votes
0 answers
127 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 ...
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....
user avatar
1 vote
0 answers
202 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 ...
user avatar
12 votes
4 answers
20k 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 ...
user avatar
  • 1,602
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 ...
user avatar
  • 850
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 ...
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/...
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?
user avatar
  • 21
0 votes
1 answer
403 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 ...
user avatar
1 vote
1 answer
8k views

"Couldn't find any package" - Error with Boost on Ubuntu

Problem I have tried to install Boost version 1.55 (I require this specific version for my programs) using the command: sudo apt-get install libboost1.55-all-dev But it keeps giving me the error ...
user avatar
  • 31
0 votes
2 answers
5k 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: ...
user avatar
1 vote
0 answers
305 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 ...
user avatar
  • 11
1 vote
0 answers
316 views

Missing Boost Libs

I did something pretty stupid. I'm on Ubuntu (obviously, I guess). I wanted to reinstall Boost because of some issues. I used apt-get autoremove/purge, but I noticed that there were still some Boost ...
user avatar