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

Author Topic: Compiling SFML 2 with mingw64-w64  (Read 2434 times)

0 Members and 1 Guest are viewing this topic.

BMB

  • Newbie
  • *
  • Posts: 21
    • View Profile
Compiling SFML 2 with mingw64-w64
« on: December 13, 2011, 10:22:07 am »
I am trying to compile the latest version of SFML2. I am on windows 7 (64 bit), using the mingw-64-w64 compiler. The CMake ran fine (eventually), but when I run mingw32-make (that is what comes with the compiler. I don't think there is a mingw64-make), it stops at 32% with the error:
Code: [Select]
C:\Users\Baruch\progs\mingw64\bin\ar.exe: C:/Users/Baruch/progs/mingw64/lib/libopengl32.a: No such file or directory
Does anyone have experience compiling SFML under 64-bit windows with mingw64?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Compiling SFML 2 with mingw64-w64
« Reply #1 on: December 13, 2011, 10:50:30 am »
I downloaded mingw64 and the lib/libopengl32.a is there. So either you have a libopengl32.a file, but for smoe reason it's located elsewhere, or you don't have it at all, which would mean that your MinGW installation is not complete.
Laurent Gomila - SFML developer

BMB

  • Newbie
  • *
  • Posts: 21
    • View Profile
Compiling SFML 2 with mingw64-w64
« Reply #2 on: December 13, 2011, 10:59:00 am »
Quote from: "Laurent"
I downloaded mingw64 and the lib/libopengl32.a is there. So either you have a libopengl32.a file, but for smoe reason it's located elsewhere, or you don't have it at all, which would mean that your MinGW installation is not complete.

I just found the file, but it is not under lib, it is under x86_64-w64-mingw32/lib. I updated this in the cmake, but it got stuck on other files, that are also in x86_64-w64-mingw32/lib or x86_64-w64-mingw32/lib32
Did you maybe download the mingw64-w32 build insted of the mingw64-w64 one? The latter is for compiling native 64-bit applications.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Compiling SFML 2 with mingw64-w64
« Reply #3 on: December 13, 2011, 11:10:47 am »
Maybe. I just took the first one that I found with Google :)

You should add an issue to the task tracker, so that I can investigate it when I have more time.
Laurent Gomila - SFML developer

 

anything