can't compile stk svn version on fedora

can't compile stk svn version on fedora

Postby modz » 28 Oct 2012, 05:05

hi,

anyone have this problem,
{l Code}: {l Select All Code}
[ cmake_build]$ cmake .. -DIRRLICHT_DIR=/home/myhome/opt/irrlicht-trunk/ -DCMAKE_INSTALL_PREFIX=/home/myhome/opt/stk-current/
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- No build type selected, default to STKRelease
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
  Could NOT find Irrlicht (missing: IRRLICHT_LIBRARY) (found suitable version
  "1.8.0", required is "1.8")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindIrrlicht.cmake:43 (find_package_handle_standard_args)
  CMakeLists.txt:52 (find_package)


-- Configuring incomplete, errors occurred!


any idea how to solve this problem?

thanks
AMD Vishera FX-8350
MSI 970-Gaming
RAM 8GB DDR3 dual-channel
VGA HIS Radeon R9 270X 2GB 256bit DDR5

### STK fans ###
modz
 
Posts: 49
Joined: 20 May 2011, 04:49

Re: can't compile stk svn version on fedora

Postby KroArtem » 28 Oct 2012, 11:08

As it's been stated a lot of times, supertuxkart from subversion (the recent code, bleeding edge) requires an alpha/beta version of the engine (irrlicht). That's why you have to compile irrlicht by yourself too. Just download svn code for irrlicht, enter /source/Irrlicht folder and do
{l Code}: {l Select All Code}
NDEBUG=1 make

After this you can compile stk but don't forget to point supertuxkart's cmake scripts to irrlicht, you can do this from terminal or via cmake-gui.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: can't compile stk svn version on fedora

Postby Auria » 28 Oct 2012, 21:12

Hi,


just follow the steps at http://supertuxkart.sourceforge.net/Build_STK_on_Linux

In the following days/weeks, we should integrate our own irrlicht into STK. Then all of these problems will go away
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Who is online

Users browsing this forum: No registered users and 1 guest