-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error on Ubuntu 18.04 (Bionic Beaver). #709
Comments
I did some investigations to understand the issue and I found few problems:
|
This Dockerfile builds on 16.04 with the executables I need, notably FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y \
build-essential \
git \
freeglut3-dev \
libglew-dev \
libilmbase-dev \
libopenimageio-dev \
libxmu-dev \
libxi-dev \
python2.7 \
python-dev \
wget
RUN wget https:/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-Linux-x86_64.sh && \
mkdir /home/CMake && \
sh cmake-3.14.0-Linux-x86_64.sh -- --skip-license --prefix=/home/CMake
ENV PATH="/home/CMake/bin:${PATH}"
RUN git clone https:/imageworks/OpenColorIO.git /home/OpenColorIO
RUN mkdir /home/OpenColorIO/build
WORKDIR /home/OpenColorIO/build
RUN cmake .. -DCMAKE_INSTALL_PREFIX=../install \
-DCMAKE_BUILD_TYPE=Release \
-DOCIO_BUILD_TESTS=OFF \
-DOCIO_BUILD_GPU_TESTS=OFF \
-DOCIO_BUILD_DOCS=OFF \
-DOCIO_WARNING_AS_ERROR=ON \
-DOCIO_USE_SSE=OFF && \
cmake --build . --target install
ENV PATH="/home/OpenColorIO/install/bin:${PATH}"
ENV LD_LIBRARY_PATH="/home/OpenColorIO/install/lib:${LD_LIBRARY_PATH}" I had issues with https:/imageworks/OpenColorIO/blob/master/share/docker/dockerfile_ubuntu16_gcc54, notably the |
Now that master is C++11 it means that OCIO can support a newer OIIO version. |
OIIO 2.0 is the currently supported release. |
For the record, I did successfully update to OIIO |
@KelSolaar Is the problem still present in master? |
@KelSolaar if the build break is now fixed, you could close the issue. Thanks. |
I haven't checked recently and probably won't as I have running containers for the V1 and V2 ACES configs. Let's close this one for now! |
Hi,
I'm trying to build within a Docker container to get
ociolutimage
working on macOs without busting my Homebrew sandcastle. I'm getting those errors when building with Ubuntu 18.04 (Bionic Beaver):Current Dockerfile:
The text was updated successfully, but these errors were encountered: