Uninstall boost and install another version

I've installed the boost libraries on Linux Mint 12 using the command sudo apt-get install libboost-dev libboost-doc, which installs the default version available in the repositories. However, the...

C++ Boost: undefined reference to boost::system::generic_category()

I am trying to include Boost libraries in my project and have been facing issues in the same. I am on Ubuntu 12.10 with Codeblocks IDE and tried installing the libraries manually reading...

"src/common.hpp:52:32: fatal error: boost/shared_ptr.hpp: No such file or directory" when building websocket++

I know next to nothing about linux or c++. I generally followed these instructions to build boost on ubuntu 12.10...

How can I install PyTango 7.2 in a virtualenv on Debian 7?

I am able to install PyTango 7.2 on Debian 7 using: sudo apt-get install python-pytango #installs on system, not virtualenv However, I need to install it in a Python virtualenv. I have created a...

CMake is not able to find BOOST libraries

I tried everything like: Configure environment variable Make fresh build Re-install BOOST from source sudo apt-get install libboost-all-dev But still getting following Errors: CMake Error at...

Ubuntu Python: unable to pip install dlib - Failed building wheel for dlib and machine is almost stuck

I am trying to install dlib (machine learning library) for my django python environment. however, i cant get it installed. there is error and stuck. based on this instruction, this is what I did...

Why does my Docker cache get invalidated by this COPY command?

My docker builders in CI system get destroyed after inactivity, thus losing the local cache. I am using --cache-from by first pulling the most recent image from quay.io repo and then using that as...

LightGBMError: b'No OpenCL device found'

I want to train LightGBM with GPU on my dataset using Google colaboratory (I also select runtime Python3 and GPU). To do this I used follow chunk of code: !apt-get -qq install...

Finding boost-python3 with Anaconda cmake prefix

DLDR How do I point the cmake at boost-python3 library? It is not automatically detected by cmake. I'm trying to build caffe for Python 3.6 using the provided cmake. My system specs: Python...

configure: error: Could not find a version of the library

I am building this DNP3 program and when I follow the build instructions ./configure does not make a make file. When I run it I get the following output: checking for a BSD-compatible install......

"make all -j"$(nproc)" command works within Docker container but not in Dockerfile

I wrote the following Dockerfile to build an image with OpenPose (https://github.com/CMU-Perceptual-Computing-Lab/openpose) # Download base image FROM nvidia/cuda:9.0-cudnn7-devel # Set keyboard...

Cannot find boost/asio/io_context.hpp when compiling with g++-8

I am on Ubuntu 18.04, the g++-8 compiler is unable to find the libboost-asio module. However, I installed libboost with sudo apt-get install libboost-all-dev Whenever I try to compile with the...

How to install mesh in google colab

I am trying to install this mesh processing library in google colab following the steps in the repo https://github.com/MPI-IS/mesh apt-get install libboost-all-dev and make make install but...

boost::random generates identical values too often from the same seed at different states

Problem description Sometimes I get the same random number from a uniform distribution using a Mersenne Twister engine even I properly used the engine and iterated it. I know that the number of...

Failed to fetch packages from jonathonf repository while running Dockerfile from AzureDevOps

I have a Dockerfile which is getting the packages from a source called jonathonf but it's failing to download some packages from this repository. Could any one please help me with the solution? I...

Unable to install `gattlib`

I am trying to install gattlib in Python in order to use some of its Bluetooth-tools. The OS is ubuntu 18.04.4 LTS. I have by now tried the following (as e.g. here): sudo apt-get install...

how to install boost_python-py38 on ubuntu system

I used cmake to build my project. I tried sudo apt-get install libboost-all-dev, but it didn't solve my issue. Is there a way to solve this problem? Thanks.

Issue creating OSM tile server using Docker

I'm using OpenStreetMap tile server @ the https://github.com/Overv/openstreetmap-tile-server to host my own tile server. I run the container with the following command and it runs without error,...

Upgrade to Ubuntu 20.04 killed pip

I upgraded to Ubuntu 20.04 from 19.10 and now I cannot use pip. zeno:~$ pip --version Command 'pip' not found, but there are 18 similar ones. Python is installed: zeno:~$ python3...

gem5 scons build fails with "TypeError: argument should be integer or bytes-like object, not 'str'"

I am trying to install gem5 on a fresh installation of Ubuntu 20.04 and using commit 9fc9c67b4242c03f165951775be5cd0812f2a705. I have used...

fatal error: 'boost/uuid/uuid.hpp' file not found

I am trying to include boost UUID libraries in EOS smart contract. #include <string> #include <eosio/crypto.hpp> #include <boost/uuid/uuid.hpp> I followed this link to install boost just changed...

Can't hear sound when audio is being played in Pyglet (Raspberry Pi 4B, Raspbian)

I am running the latest version of Raspbian on the Raspberry Pi with Python 2.7 and 3.7 installed. For a project, I need to implement some spatial/binaural audio file playback capabilities in...

docker - ModuleNotFoundError after installing modules

I'm installing pythonocc without conda environment in Docker. After it shows "Installing: /usr/lib/python3/dist-packages/OCC/Wrapper/__init__.py" implying that I've successfully installed OCC...

'make all' error when installing Caffe on Ubuntu 20.04 with OpenCV 4.2.0 for Python3: /usr/bin/ld cannot find lpython3.6m or lboost python3

I'm following this article to install caffe: https://qengineering.eu/install-caffe-on-ubuntu-18.04-with-opencv-4.2.html and get this error after running make all with libboost-all-dev and...

Boost Python - undefined reference to `_Py_NoneStruct'

I'm getting the following error when trying to use Boost Python: /usr/include/boost/python/object_core.hpp:400: undefined reference to `_Py_NoneStruct' Installed on Ubuntu 18.04 using: sudo...

Why is desired version of libboost-all-dev not found when building Docker container?

I'm trying to build a basic Docker container based on a tutorial. I am on Windows 10 Home version 2004, and I am using the standard command line. I've created the following Docker file to...

How to fix a problem that "apt-get install" doesn't work because of python issue

I'm using Ubuntu 16.04.I'd like to install a ROS related package with "apt-get install", but it doesn't work. Terminal said like following. $ sudo apt-get install ros-kinetic-libuvc Reading...

zlib1g-dev is already installed but shows ModuleNotFoundError: No module named 'zlib'

In my Debian 10 OS, I have several Python versions as 2.7, 3.7 and 3.8. For Python 3.8, pip did not work(no module name pip) and I tried to install pip for Python 3.8 with 'sudo python3.8...

pipeline type (exec) is not supported with 'drone exec'

I am having issues running drone exec on my local Machine Ubuntu, here is how i run it and .drone.jsonnet content .drone.jsonnet: local default_deps_base='libsystemd-dev libboost-thread-dev...

installing Boost for CMake in OpenPose in Ubuntu 20.04

How should I install Boost for CMake in OpenPose in Ubuntu 20.04? The current way I have installed it throws an error: $ cmake-gui .. Error: could not load cache 6456/31772MB(openpose)...