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

Author Topic: Setting up on notepad++  (Read 3645 times)

0 Members and 1 Guest are viewing this topic.

makerimages

  • Newbie
  • *
  • Posts: 24
  • Yay!
    • View Profile
    • Email
Setting up on notepad++
« on: June 17, 2013, 12:36:29 pm »
Hello there!
I thought to re-learn c++ and SFML and I wan  to use notepad++ as my editor, compile with MinGW using a custom .bat file. How should I set Up SFML so that It would run?

My current .bat file
gcc -o DreadDylum source/main.cpp
DreadDylum
PAUSE

 
Makerimages-It`s in the pixel

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Setting up on notepad++
« Reply #1 on: June 17, 2013, 01:24:29 pm »
-I<sfml>/include -L<sfml>/lib -lsfml-xxx ...

Where:
- "<sfml>" is the path where you installed SFML
- "sfml-xxx ..." are all the SFML libraries that you want to link
Laurent Gomila - SFML developer

makerimages

  • Newbie
  • *
  • Posts: 24
  • Yay!
    • View Profile
    • Email
Re: Setting up on notepad++
« Reply #2 on: June 17, 2013, 01:50:57 pm »
That goes at the end of the first line in the .bat file ,right?
Makerimages-It`s in the pixel

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Setting up on notepad++
« Reply #3 on: June 17, 2013, 02:08:34 pm »
Yes. But why don't you read some tutorial, and actually learn the syntax of gcc? I'm sure it will be much faster than asking and guessing on the SFML forum... ;)
Laurent Gomila - SFML developer