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

Author Topic: Something Wrong With The Compilation  (Read 1237 times)

0 Members and 1 Guest are viewing this topic.

animelech

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Something Wrong With The Compilation
« on: February 14, 2018, 07:07:02 pm »
I statically compile my sfml project (using MinGW) and its compiles just fine.
but when I try it out (open the .exe file) it throwing an error.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11016
    • View Profile
    • development blog
    • Email
Re: Something Wrong With The Compilation
« Reply #1 on: February 14, 2018, 08:57:53 pm »
What MinGW are you using? What SGML package are you using?

Libraries need to be build with the exact same compiler, otherwise it won't work. At best you build SFML from source.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

animelech

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Something Wrong With The Compilation
« Reply #2 on: February 15, 2018, 07:43:54 pm »
my MinGw version is MinGW-W64-builds-4.3.3
I don't really know what is SGML, so cant reply on this one
(my gcc version is 7.1.0 (i686-posix-dwarf-rev2, Built by MinGW-W64 project))

animelech

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Something Wrong With The Compilation
« Reply #3 on: February 15, 2018, 07:48:00 pm »
thank you very much  :) :) :)
switched to 6.1.0 (as it says in the downloads) and it now works