Horde3D

Next-Generation Graphics Engine
It is currently 21.12.2024, 15:30

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 17.06.2015, 22:12 
Offline

Joined: 17.06.2015, 20:57
Posts: 2
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)


Top
 Profile  
Reply with quote  
PostPosted: 17.06.2015, 22:59 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
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.


Top
 Profile  
Reply with quote  
PostPosted: 18.06.2015, 02:09 
Offline

Joined: 17.06.2015, 20:57
Posts: 2
Thanks it worked! I have another question, do you know where I can find tutorial for using GLFW with Horde3D?


Top
 Profile  
Reply with quote  
PostPosted: 28.06.2015, 16:48 
Offline

Joined: 21.08.2008, 11:44
Posts: 354
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:


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group