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

Author Topic: How do I run SFML using MINGW and notepad++?  (Read 2771 times)

0 Members and 1 Guest are viewing this topic.

iorwerth

  • Newbie
  • *
  • Posts: 2
    • View Profile
How do I run SFML using MINGW and notepad++?
« on: December 18, 2010, 03:12:25 am »
I am using notepad++ with MINGW. I want to switch from SDL to SFML on but I it won't run. Does anyone know how to make it work?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
How do I run SFML using MINGW and notepad++?
« Reply #1 on: December 18, 2010, 03:16:14 am »
You have to be more specific than "it won't run" if you really expect help for your problem.

Did you already take a look at the tutorials?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

iorwerth

  • Newbie
  • *
  • Posts: 2
    • View Profile
How do I run SFML using MINGW and notepad++?
« Reply #2 on: December 18, 2010, 03:31:28 am »
I get a system error about "libgcc_s_dw2-1.dll is missing"

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
How do I run SFML using MINGW and notepad++?
« Reply #3 on: December 18, 2010, 03:40:35 am »
And you really don't get this error when compiling SDL or other projects? This doesn't look like an SFML-specific issue at all.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
How do I run SFML using MINGW and notepad++?
« Reply #4 on: December 18, 2010, 08:48:53 am »
Add the -static-libgcc linker option, or copy the DLL from your mingw/bin directory to the same directory as your executable.
Laurent Gomila - SFML developer

 

anything