Category : cmake

Given this Dockerfile: FROM ubuntu:20.04 RUN set -ex && apt-get update RUN set -ex && apt-get install -y git RUN set -ex && apt-get install -y cmake ENV HOME_DIR /home/develop WORKDIR ${HOME_DIR} The docker build hangs configuring tzdata: $ DOCKER_BUILDKIT=0 docker build -f Docker/Dockerfile.cmake -t cmake:latest . Sending build context to Docker daemon 161.8kB Step ..

Read more

I am trying to build the simulator for movesense using the link hereenter link description here. [email protected]:/movesense/simbuild# cmake -G "Visual Studio 15 2017" -DMOVESENSE_CORE_LIBRARY=../MovesenseCoreLib/ -DCMAKE_BUILD_TYPE=Release ../samples/blinky_app I get the following error: CMake Error: Could not create named generator Visual Studio 15 2017 Generators * Unix Makefiles = Generates standard UNIX makefiles. Green Hills MULTI = ..

Read more

I’ve been trying to set up movesense platform in my windows 10 machine and facing issues with cmake commands. I pulled the movesense container using docker docker pull movesense/sensor-build-env:latest I cloned the movesense repo using the below code git clone [email protected]:suunto/movesense-device-lib.git Then I moved to the cloned folder cd movesense-device-lib Then I started the docker ..

Read more

I’m currently trying to install a Catch2 on a Docker Image, for a project that I need to install. This is the Dockerfile that I currently have, FROM ubuntu:20.04 ENV TZ=some/loc RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update && apt-get -y install sudo RUN adduser –disabled-password –gecos ” docker ..

Read more

The entrypoint of my Dockerfile is: ENTRYPOINT ["/bin/bash", "-l", "/runner/run.sh"] The run.sh simply builds a binary file and tries to execute the result, like: [….] cd /tmp/repo cmake . make ./main But at the execution of the binary, an error occurs: /runner/run.sh: line 16: ./main: Permission denied I checked the permissions myself by executing the ..

Read more

I have trouble using toolchains in Docker from CLION. My Docker container is based on ubuntu 18.04 and CMake 3.17 is installed. The image definition is based on this reference implementation. When I reload the CMake project with CLion, the following error is shown. — Build files have been written to: /tmp/tmp.vmmD6opEtD/cmake-build-debug-local-docker CMake File API: ..

Read more

I’m compiling the following library using docker: https://github.com/hot-stuff/libhotstuff using the following script: FROM alpine:latest RUN apk update RUN apk add –no-cache git gcc g++ make cmake libuv-dev openssl-dev gmp-dev libsodium-dev autoconf RUN git clone https://github.com/hot-stuff/libhotstuff.git && cd libhotstuff/ && git submodule update –init –recursive RUN cd libhotstuff && cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED=ON -DHOTSTUFF_PROTO_LOG=ON && make Resulting ..

Read more