From 2cac25ffdcc92b4b47c06bb9d27f752c97d8518d Mon Sep 17 00:00:00 2001 From: WilliamLiuAtCPC <47164078+WilliamLiuAtCPC@users.noreply.github.com> Date: Fri, 15 Apr 2022 22:50:21 -0700 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 0a43f09..7ecfd6a 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -7,16 +7,24 @@ 2. LibRaw 1. MacOS : `brew install libraw libpng libjpeg` 2. Ubuntu : + step 1: download libraw package here: https://www.libraw.org/download + step 2: extract the pkg using `tar xzvf LibRaw-X.YY.tar.gz` - step 3: cd LibRaw-X.YY + + step 3: ```cd LibRaw-X.YY ./configure # with optional args make - step 4: sudo make install + ``` + + step 4: `sudo make install` + step 5: change the target_link_libraries in cmakelist file to the following: - target_link_libraries(${PROJECT_NAME} + + ```target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBS} ${LIBRAW_LIBRARY}) + ``` 3. Run CMake to build ```shell