Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Error in generation process  (Read 2480 times)

0 Members and 1 Guest are viewing this topic.

Kain Nobel

  • Newbie
  • *
  • Posts: 38
    • View Profile
Error in generation process
« on: August 24, 2014, 08:20:56 am »
I've been following this tutorial on compiling SFML with CMake. Currently using the cmake-gui and running on Windows Vista and Arch Linux. I've set the variables to what I think they should be, but I always get a message...

"Error in generation process, project files may be invalid."

I was originally using Code::Blocks for this but would just like to build raw, nothing related to Code::Blocks during the CMake process. The CMake GUI, on the bottom, states "Current Generator : CodeBlocks - MinGW Makefiles". I don't want it tied to any project or IDE, I just want something I can use, compiled with MinGW or CMake or whatever.

The following is set for CMake...

(click to show/hide)

Hopefully somebody knows what I'm doing wrong, I'd really like to use this library.

Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
Re: Error in generation process
« Reply #1 on: August 24, 2014, 11:36:24 am »
Well, you have to pick a compiler.  CMake is not a compiler.  It's a meta-build system that creates the project files for a specific IDE/compiler/toolchain, so that SFML users can choose which one they want to use.

In terms of not being "tied" to anything or "building raw", the closest you can get to whatever that means is probably setting CMake's generator to "Unix Makefile", which you can simply run "make" on.  That doesn't involve any IDE, only the standard Unix toolchain, which I assume you were already using on ArchLinux anyway.

Dunno about that error though.  Are you sure there isn't a more descriptive error message somewhere?
« Last Edit: August 24, 2014, 11:49:10 am by Ixrec »

Kain Nobel

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Error in generation process
« Reply #2 on: August 28, 2014, 09:14:33 am »
That's all it gave me was that single message, but it did generate a bunch of files for me. I haven't compiled it with MinGW yet because I'm under the impression that *something* will be wrong with it due to the CMake's "project files may be invalid" message.

I have a new computer coming, so I'll have to repeat this song and dance once it gets here. Feel free to close this topic, I'll make a new one when the new computer arrives *if* I'm still running into issues.

And thank you for your reply Ixrec, see ya again soon.
« Last Edit: August 28, 2014, 09:18:42 am by Kain Nobel »

 

anything