dusty-nv / jetson-utils

C++/CUDA/Python multimedia utilities for NVIDIA Jetson
MIT License
737 stars 289 forks source link

An issue when building a docker image #41

Open rose-jinyang opened 4 years ago

rose-jinyang commented 4 years ago

Hello How are you? I am making a docker image for Jetson. The Dockerfile is following.

FROM nvcr.io/nvidia/l4t-tensorflow:r32.4.3-tf2.2-py3 RUN apt-get update && apt-get install -y --no-install-recommends make g++ curl git libcurl4-openssl-dev cmake RUN git clone https://github.com/dusty-nv/jetson-utils.git RUN cd jetson-utils && mkdir build && cd build && cmake ../ && make install CMD ["cmake", "--version"]

In configuring this repo with cmake, the following issue appears.

image

gcc version: 7.5.0 cmake version: 3.10.2 cuda version: 10.2 Please let me know the reason asap. Thanks

dusty-nv commented 4 years ago

Hi @rose-jinyang , if you follow the Dockerfile and docker/build.sh script that is in the top-level jetson-inference project, you may have better luck:

https://github.com/dusty-nv/jetson-inference/blob/master/Dockerfile https://github.com/dusty-nv/jetson-inference/tree/master/docker

rose-jinyang commented 4 years ago

Thanks