sudo apt-get install -y cmake
sudo apt-get install -y libeigen3-dev
git clone https://github.com/JTylerBoylan/orlqp
cd orlqp && mkdir build
cd build && cmake ..
make install
# Check for updates
ADD https://api.github.com/repos/JTylerBoylan/orlqp/git/refs/heads/main version.json
# Clone and compile library
RUN git clone https://github.com/JTylerBoylan/orlqp
RUN cd orlqp && mkdir build
RUN cd orlqp/build && cmake ..
RUN cd orlqp/build && cmake --build . --target install
NOTE: You may need to add RUN ldconfig
to the Dockerfile if you get a linking error.
find_package(orlqp REQUIRED)
...
target_link_libraries(my_executable PUBLIC orlqp::orlqp ...)