Page 1 of 1

Compile errors (Debian 8)

PostPosted: Fri Mar 20, 2015 01:36
by y.st.
When I run "cmake -DRUN_IN_PLACE=1", I get the following error:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
CMake Error at /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
  Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.0/Modules/FindJPEG.cmake:42 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:165 (find_package)


My guess is that I'm missing a dependency, but I have all the ones listed in the README.txt file installed. Looks like I need some package related to JPEG use. Any idea what I need to install?

Re: Compile errors (Debian 8)

PostPosted: Fri Mar 20, 2015 17:46
by Krock
You need to install the library libjpeg, that should fix the problem.
If that doesn't work, update Irrlicht to 1.8.0 or newer.

Re: Compile errors (Debian 8)

PostPosted: Fri Mar 20, 2015 17:46
by Dartmouth
You probably need libjpeg and libjpeg-dev

Re: Compile errors (Debian 8)

PostPosted: Sat Mar 21, 2015 00:21
by y.st.
Sweet. Thank you so much! Compilation is working as expected now.