Compile errors (Debian 8)

User avatar
y.st.
Member
 
Posts: 38
Joined: Fri Mar 20, 2015 01:24
GitHub: y-st
IRC: Yst
In-game: Yst

Compile errors (Debian 8)

by y.st. » Fri Mar 20, 2015 01:36

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?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Compile errors (Debian 8)

by Krock » Fri Mar 20, 2015 17:46

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.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

Dartmouth
Member
 
Posts: 121
Joined: Sat Dec 06, 2014 14:39
IRC: pilino1234

Re: Compile errors (Debian 8)

by Dartmouth » Fri Mar 20, 2015 17:46

You probably need libjpeg and libjpeg-dev
 

User avatar
y.st.
Member
 
Posts: 38
Joined: Fri Mar 20, 2015 01:24
GitHub: y-st
IRC: Yst
In-game: Yst

Re: Compile errors (Debian 8)

by y.st. » Sat Mar 21, 2015 00:21

Sweet. Thank you so much! Compilation is working as expected now.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 18 guests

cron