gamekit-developers / gamekit

See http://gamekit.org or http://gamekit.googlecode.com A basic cross-platform 3D game engine around Lua, Bullet, .blend files, Ogre or Irrlicht.
248 stars 75 forks source link

Cmake error "Project files may be invalid" #5

Open abdul2rafe opened 9 years ago

abdul2rafe commented 9 years ago

Hello, I am trying to make on windows using cmake GUI, making for visual studio 2010, and I keep getting the the message "error in configuration process, project files may be invalid", please find the log below:


-- Graphic backend is Ogre-1.9a

mobile rtshader Add to your PATH: D:/Gamkit2/gamekit-master/Dependencies/Win32/gles2/bin Looking for DirectX9... Could not locate DirectX9 Looking for DirectX... Could not locate DirectX Looking for DirectX11... Could not locate DirectX11


-- The following external packages were located on your system. -- This installation will have the extra features provided by these packages.

-- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software.

DEP_INCLUDES: D:/Gamkit2/gamekit-master/Dependencies/Source/FreeType/include;D:/Gamkit2/gamekit-master/Dependencies/Source/FreeImage/ZLib;D:/Gamkit2/gamekit-master/Dependencies/Source/OIS/include;D:/Gamkit2/gamekit-master/Dependencies/Source/GameKit/Utils;D:/Gamkit2/gamekit-master/Dependencies/Source/GameKit/AnimKit;D:/Gamkit2/gamekit-master/Tools/FileTools/File;D:/Gamkit2/gamekit-master/Tools/FileTools/FileFormats/Blend CMake Error at CMakeLists.txt:175 (file): file COPY cannot find "D:/Developer/Installs/gamkit/systemlibs".

Looking for Cg... Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Could not locate Cg Configuring OGRE 1.9.0 Creating Unity build files for target OgreMain D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_0.cpp is up to date. D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_1.cpp is up to date. D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_2.cpp is up to date. D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_3.cpp is up to date. D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_4.cpp is up to date. Creating Unity build files for target RenderSystem_GLES2 D:/Developer/Installs/gamkit/RenderSystem_GLES2/compile_RenderSystem_GLES2_0.cpp is up to date. D:/Developer/Installs/gamkit/RenderSystem_GLES2/compile_RenderSystem_GLES2_1.cpp is up to date. Creating Unity build files for target Plugin_ParticleFX D:/Developer/Installs/gamkit/Plugin_ParticleFX/compile_Plugin_ParticleFX_0.cpp is up to date. Creating Unity build files for target OgreRTShaderSystem D:/Developer/Installs/gamkit/OgreRTShaderSystem/compile_OgreRTShaderSystem_0.cpp is up to date. Creating Unity build files for target OgreOverlay D:/Developer/Installs/gamkit/OgreOverlay/compile_OgreOverlay_0.cpp is up to date. OGREKIT_OGRE_LIBS: OgreMain;OgreOverlay;FreeImage;freetype;GameKitUtils;OIS;ZLib;AnimKit;fbtFile;bfBlend;OgreRTShaderSystem;D:/Gamkit2/gamekit-master/Dependencies/Android/OpenAL/bin/armeabi-v7a/libopenal.so;OggVorbis;Lua;ZZipLib Creating Unity build files for target OgreKitCore D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_0.cpp is up to date. D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_1.cpp is up to date. D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_2.cpp is up to date. D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_3.cpp is up to date. D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_4.cpp is up to date. zlib target:ZLib CMake Error at Samples/AndroidDemo/Shared/CMakeLists.txt:36 (if): if given arguments:

"LESS" "14"

Unknown arguments specified

CMake Warning (dev) in Samples/OgreDemo/CMakeLists.txt: Syntax Warning in cmake code at

D:/Gamkit2/gamekit-master/Samples/OgreDemo/CMakeLists.txt:53:23

Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred! See also "D:/Developer/Installs/gamkit/CMakeFiles/CMakeOutput.log".

ghost commented 9 years ago

What platform are you intending to develop on? Mobile or Desktop?

if Desktop you need to download & Install the DirectX SDK (JUNE 2010) for DirectX 9 and either add paths in windows or tick Grouped & Advanced in CMake and add the DirectX 9 paths there. This will conflict because you have ticked GLESRS (OpenGL ES Rendersystem for mobile devices) and you can't compile for both on the same build.

so if on desktop untick anything to do with Android, mobile, GLES.

if developing for mobile untick all DirectX, GLRS, CG related tickboxes.

IMO Cmake is horrible and had my own issues compiling for Vs2010, just takes trial and error, I never got Embeded to work because wxWidgets refuses to compile so I disabled it completely.