slop
slop copied to clipboard
Dependencies for Ubuntu 16.04
I had to install the following packages before I can configure and compile:
sudo apt-get install cmake libglew-dev glew-utils gengetopt libimlib2-dev libglm-dev
It would help other users if this is put in the readme.
I'm still getting a missing library error:
mertyildiran@Corsair:~/Downloads/slop$ cmake -DCMAKE_INSTALL_PREFIX="/usr" .
CMake Error at CMakeLists.txt:80 (find_package):
By not providing "FindICU.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ICU", but
CMake did not find one.
Could not find a package configuration file provided by "ICU" with any of
the following names:
ICUConfig.cmake
icu-config.cmake
Add the installation prefix of "ICU" to CMAKE_PREFIX_PATH or set "ICU_DIR"
to a directory containing one of the above files. If "ICU" provides a
separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/mertyildiran/Downloads/slop/CMakeFiles/CMakeOutput.log".
Run cmake with the following command: cmake -DSLOP_UNICODE=false ./
Or install the icu libraries.
i install icu libraries via apt install libicu-dev and it still didn't find it so used DSLOP_UNICODE=false workaround, also needed to install libegl1-mesa-dev
on ubuntu 16.10
Thanks for letting me know, FindICU.cmake is actually shipped with cmake as an official library module. Since I found out that it doesn't fix the bug that I thought it did, I'll make it optional in the next patch.
@naelstrof Getting this issue on 16.04. -DSLOP_UNICODE=false doesn't help against the warnings.
I then proceeded with cloning maim and trying to build it, but encountered this:
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindPNG.cmake:157 (find_package_handle_standard_args)
CMakeLists.txt:38 (find_package)
That's where I gave up on trying to build it.
You need to install libpng
On Dec 30, 2017 5:03 PM, "leedoyle" [email protected] wrote:
I then proceeded with cloning maim and trying to build it, but encountered this:
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.5/Modules/FindPNG.cmake:157 (find_package_handle_standard_args) CMakeLists.txt:38 (find_package)
That's where I gave up on trying to build it.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/naelstrof/slop/issues/52#issuecomment-354576262, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFEM3VPdJ8f4UyrjoOOwjb1xQRNuT5Yks5tFs9jgaJpZM4LpnAK .
Here's everything I had to install to make this happen -
libxext6 libglew1.13 libglm-dev libegl1-mesa-dev libxrender-dev libicu-dev libpng12-dev
I was finally able to build on Ubuntu 14.04 by using export CXX=clang-3.8
instead of g++
. It was necessary to delete CMakeCache.txt
and CMakeFiles/
after exporting the variable. Then the cmake
command gave a lengthy series of errors, and a different, much smaller error upon running it a second time (without deleting the cache), and then make
completed successfully, and the binary works.