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

Author Topic: Compiling SFML 2.0 with Windows XP (Unsupported Compiler)  (Read 1567 times)

0 Members and 1 Guest are viewing this topic.

fatum

  • Newbie
  • *
  • Posts: 47
    • MSN Messenger - bowsers7@hotmail.com
    • AOL Instant Messenger - therealblah569
    • View Profile
    • http://boards.psynetfm.com
Compiling SFML 2.0 with Windows XP (Unsupported Compiler)
« on: December 22, 2012, 10:14:33 pm »
I'm using a Windows XP guest with VirtualBox on Arch Linux, but I don't think that's relevant because I got it working just fine on the same setup on my desktop.

Here's how I'm trying to compile:
Code: [Select]
cmake -G "MinGW Makefiles" .
Here's the output:
Code: [Select]
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
CMake Error at cmake/Config.make:62 (message):
 Unsupported compiler
Call Stack (most recent call first):
  CMakeLists.txt:20 (include)


-- Configuring incomplete, errors occurred!

How could I troubleshoot this?  C:\MinGW\bin exists in my $PATH variable, and typing this returns the expected result:
Code: [Select]
> g++
g++: fatal error: no input files
compilation terminated

Thanks for any help!
« Last Edit: December 22, 2012, 10:16:49 pm by fatum »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Compiling SFML 2.0 with Windows XP (Unsupported Compiler)
« Reply #1 on: December 22, 2012, 10:40:18 pm »
CMake defines the CMAKE_COMPILER_IS_GNUCXX variable when the compiler is gcc. If it is defined, SFML does *not* output this error message. So I guess your environment (either CMake or MinGW) is broken somehow.
Laurent Gomila - SFML developer

 

anything