Updating gitignore and changing image directions

Changed directions for image manipulation from stb stuff to
using OpenCV.

Signed-off-by: Ethan Wellenreiter <ewellenreiter@gmail.com>
This commit is contained in:
Ethan Wellenreiter 2023-09-08 23:10:13 -04:00
parent 7f3ca088ce
commit e7b447208c
2 changed files with 34 additions and 23 deletions

28
.gitignore vendored
View File

@ -1,13 +1,15 @@
CMakeLists.txt.user
CMakeCache.txt
CMakeFiles
CMakeScripts
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
_deps
*build*
*.vs/*
**/CMakeLists.txt.user
**/CMakeCache.txt
**/CMakeFiles
**/CMakeScripts
**/Testing
**/Makefile
**/cmake_install.cmake
**/install_manifest.txt
**/compile_commands.json
**/CTestTestfile.cmake
**/_deps
**/build/**
**/.vs/**
.vscode/
**/testing_space/

View File

@ -9,19 +9,28 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update
#-y is for accepting yes when the system asked us for installing the package
RUN apt-get install -y build-essential cmake git gdb pkg-config valgrind systemd-coredump libfftw3-dev python3-opencv
RUN apt-get install -y build-essential cmake git gdb pkg-config valgrind systemd-coredump libfftw3-dev python3-opencv libopencv-dev
# RUN apt-get install -y build-essential cmake git gdb pkg-config valgrind systemd-coredump libfftw3-dev libgtk2.0-dev
# 1) google benchmark
RUN echo "************************ google benchmark ************************"
RUN git clone https://github.com/google/benchmark
RUN mkdir -p benchmark/build && cd benchmark/build
WORKDIR "benchmark/build"
#RUN cmake -DCMAKE_CXX_FLAGS=-std=c++1z -DGOOGLETEST_PATH=../../googletest -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON ../ && cmake --build . --parallel && cmake --install .
RUN cmake -DCMAKE_CXX_FLAGS=-std=c++1z -DBENCHMARK_DOWNLOAD_DEPENDENCIES=TRUE -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON ../ && cmake --build . --parallel && cmake --install .
WORKDIR "/"
RUN rm -rf benchmark
# RUN git clone https://github.com/opencv/opencv.git && \
# cd /opencv && mkdir build && cd build && \
# cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local .. && \
# make -j"$(nproc)" && \
# make install && \
# rm -rf /opencv
# # 1) google benchmark
# RUN echo "************************ google benchmark ************************"
# RUN git clone https://github.com/google/benchmark
# RUN mkdir -p benchmark/build && cd benchmark/build
# WORKDIR "benchmark/build"
# #RUN cmake -DCMAKE_CXX_FLAGS=-std=c++1z -DGOOGLETEST_PATH=../../googletest -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON ../ && cmake --build . --parallel && cmake --install .
# RUN cmake -DCMAKE_CXX_FLAGS=-std=c++1z -DBENCHMARK_DOWNLOAD_DEPENDENCIES=TRUE -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON ../ && cmake --build . --parallel && cmake --install .
# WORKDIR "/"
# RUN rm -rf benchmark
# RUN mkdir /mnt/code