I've tried both KDevelop and Code::Block IDE but no luck so far.
Regarding KDevelop I followed this instructions:
but I get the following error...For building click on button "Build Selection". For running click "Execute". Running first time "Launch Configurations" will pop up. You have to set executable file by selecting "openmw", clicking "+" and choosing "openmw/apps/openmw/openmw" as "Project Target".
PS: The cmake and code::blocks instructions are not quite correct. For example I get this error:
Code: Select all
panos@panos-desktop:~/OpenMW/openmw/Build$ cmake -G "CodeBlocks - Unix Makefiles" ../openmw/
CMake Error: The source directory "/home/panos/OpenMW/openmw/openmw" does not exist.
edit
Code: Select all
cmake -G "CodeBlocks - Unix Makefiles" ../openmw/
Code: Select all
cmake -G "CodeBlocks - Unix Makefiles" ..
Code: Select all
panos@panos-desktop:~/OpenMW/openmw/Build$ cmake -G "CodeBlocks - Unix Makefiles" ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- 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
-- OpenMW pre-built binaries not found. Using standard locations.
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.46.1
-- Looking for OGRE...
-- OGRE_PREFIX_WATCH changed.
-- checking for module 'OGRE'
-- found OGRE, version 1.8.0
-- Found Ogre Byatis (1.8.0)
-- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
-- Looking for OGRE_Paging...
-- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
-- Looking for OGRE_Property...
-- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
-- checking for one of the modules 'MYGUI;MyGUI'
-- libraries : MyGUIEngine from /usr/lib
-- includes : /usr/include/MYGUI
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- system
-- filesystem
-- program_options
-- thread
-- wave
-- Looking for OIS...
-- OIS_PREFIX_PATH changed.
-- checking for module 'OIS'
-- found OIS, version 1.3.0
-- Found OIS: optimized;/usr/lib/libOIS.so;debug;/usr/lib/libOIS.so
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
-- Found Bullet: /usr/lib/libBulletDynamics.a
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.8.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/panos/OpenMW/openmw/Build