Horde3D
http://horde3d.org/forums/

I'm getting error building Horde3D using CMake MSYS...
http://horde3d.org/forums/viewtopic.php?f=1&t=2280
Page 1 of 1

Author:  yj1214 [ 17.06.2015, 22:12 ]
Post subject:  I'm getting error building Horde3D using CMake MSYS...

Hello guys! this is my first post in Horde3D forum.


I downloaded Horde3D and tried to use CMake with MSYS configure.

But for some reason, i'm getting this error in CMake...



Code:
CMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MSYS Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file: C:/Horde3D/CMakeFiles/3.1.3/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file: C:/Horde3D/CMakeFiles/3.1.3/CMakeCXXCompiler.cmake
CMake Error at CMakeLists.txt:8 (project):
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name
  if it is in the PATH.


CMake Error at CMakeLists.txt:8 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler
  name if it is in the PATH.


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_AR was not found, please set to archive program.
Configuring incomplete, errors occurred!



I'm sorry i'm not good at CMake so I don't know what's going on...can someone help me out? thanks.

(I'm using Windows by the way)

Author:  Volker [ 17.06.2015, 22:59 ]
Post subject:  Re: I'm getting error building Horde3D using CMake MSYS...

Make sure you have either visual studio or mingw installed and accessible through your PATH environment variable. It seems like CMake is not able to find your compiler.

Author:  yj1214 [ 18.06.2015, 02:09 ]
Post subject:  Re: I'm getting error building Horde3D using CMake MSYS...

Thanks it worked! I have another question, do you know where I can find tutorial for using GLFW with Horde3D?

Author:  Siavash [ 28.06.2015, 16:48 ]
Post subject:  Re: I'm getting error building Horde3D using CMake MSYS...

yj1214 wrote:
Thanks it worked! I have another question, do you know where I can find tutorial for using GLFW with Horde3D?
There is no tutorials as far as I know, but you can take a look at the bundled Samples and Framework to get the idea.

Basically what you should do is:
  • Initialize the GLFW
  • Set an error callback for GLFW
  • Setup an OpenGL context in GLFW
  • Setup GLFWs input handling callbacks
  • Create and open a window using GLFW
  • Initialize Horde3D
  • Load resource from disk
  • Setup viewport and your scene
  • Render and finalize the frame in Horde3D
  • Poll events and swap buffers in GLFW


@Volker Hello my old friend, I hope everything is going well there :wink:

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/