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

Author Topic: Unsupported Architecture - Windows 8 CMake Configure issue  (Read 3934 times)

0 Members and 1 Guest are viewing this topic.

Otoris

  • Newbie
  • *
  • Posts: 7
    • View Profile
Unsupported Architecture - Windows 8 CMake Configure issue
« on: January 18, 2013, 09:44:55 pm »
Using SFML 2.0 Release Snapshot on the download page, I've followed the tutorial on building SFML 2.0 on windows with CMake.

Trouble is that the configure script doesn't seem to know my CPU architecture. (which is 64-bit)

Only thing I can think of that may have caused this is that I'm running Windows 8 and it may not build on Windows 8 yet?

Note: Using MinGW Makefiles option with MinGW installed.

CMake configure log:
Code: [Select]
The C compiler identification is GNU 4.7.2
The CXX compiler identification is GNU 4.7.2
Check for working C compiler: c:/MinGW/bin/gcc.exe
Check for working C compiler: c:/MinGW/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:78 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:17 (project)


CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:83 (include):
  include could not find load file:

    C:/Users/Ethan/Documents/My Dropbox/Ajax Files/Ajax JAM #2/sfml2-build/CMakeFiles/2.8.10.2/CMakeCCompiler.cmake
Call Stack (most recent call first):
  CMakeLists.txt:17 (project)


Check for working CXX compiler: c:/MinGW/bin/g++.exe
Check for working CXX compiler: c:/MinGW/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Error at cmake/Config.cmake:14 (message):
  Unsupported architecture
Call Stack (most recent call first):
  CMakeLists.txt:20 (include)


Configuring incomplete, errors occurred!

Any ideas?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Unsupported Architecture - Windows 8 CMake Configure issue
« Reply #1 on: January 18, 2013, 10:13:18 pm »
Windows 8 is supported.

Which version of MinGW do you use? Does it work with other projects?

Does your combination of CMake/MinGw works for non-SFML projects?
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
AW: Unsupported Architecture - Windows 8 CMake Configure issue
« Reply #2 on: January 18, 2013, 10:13:57 pm »
Are you using the latest CMake version?
What exacte compiler version do you use?

Note that there's no offical x64 MinGW compiler, but can of course use and build with the normal 32bit compiler.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Otoris

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Unsupported Architecture - Windows 8 CMake Configure issue
« Reply #3 on: January 18, 2013, 10:22:31 pm »
I've never used CMake before, let alone MinGW + CMake, so completely green at it.
CMake is 2.8.10.2
MinGW32 is 3.20
GCC is 4.7.2
GNU Make is 3.82.90

(Latest version of CMake in use.)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Unsupported Architecture - Windows 8 CMake Configure issue
« Reply #4 on: January 18, 2013, 10:29:33 pm »
So everything seems up-to-date.

What version of Windows 8 are you then using? Because the errors occurs when CMAKE_SYSTEM_NAME doesn't match any know settings...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Otoris

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Unsupported Architecture - Windows 8 CMake Configure issue
« Reply #5 on: January 18, 2013, 10:32:20 pm »
Windows 8 Pro 64-bit
Running an Intel i5 750 2.67 quad-core

« Last Edit: January 18, 2013, 10:34:48 pm by Otoris »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Unsupported Architecture - Windows 8 CMake Configure issue
« Reply #6 on: January 18, 2013, 10:41:06 pm »
Hmmm... :-\

I'd try to reinstall CMake. Additionally I wouldn't build in the DropBox directory. The automatic sync could potentially interfere with the building process...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Otoris

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Unsupported Architecture - Windows 8 CMake Configure issue
« Reply #7 on: January 21, 2013, 11:48:14 am »
Reinstalling CMake fixed this problem completely! Only thing I can think it could have been was a bad install?

Thanks for the suggestion.

 

anything