Skip to content
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

Dependencies for Ubuntu 16.04 #52

Open
biocyberman opened this issue Jan 20, 2017 · 9 comments
Open

Dependencies for Ubuntu 16.04 #52

biocyberman opened this issue Jan 20, 2017 · 9 comments

Comments

@biocyberman
Copy link

@biocyberman biocyberman commented Jan 20, 2017

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.

@mertyildiran
Copy link

@mertyildiran mertyildiran commented Jun 27, 2017

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".

@naelstrof
Copy link
Owner

@naelstrof naelstrof commented Jun 27, 2017

Run cmake with the following command: cmake -DSLOP_UNICODE=false ./
Or install the icu libraries.

@termie
Copy link

@termie termie commented Jul 26, 2017

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

@naelstrof
Copy link
Owner

@naelstrof naelstrof commented Jul 26, 2017

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.

@leedoyle
Copy link

@leedoyle leedoyle commented Dec 31, 2017

@naelstrof Getting this issue on 16.04. -DSLOP_UNICODE=false doesn't help against the warnings.

@leedoyle
Copy link

@leedoyle leedoyle commented Dec 31, 2017

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.

@naelstrof
Copy link
Owner

@naelstrof naelstrof commented Dec 31, 2017

@tasos-bitsios
Copy link

@tasos-bitsios tasos-bitsios commented Mar 15, 2018

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

@alphapapa
Copy link

@alphapapa alphapapa commented Jan 5, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants