SFML community forums

Help => General => Topic started by: makerimages on June 17, 2013, 12:36:29 pm

Title: Setting up on notepad++
Post by: makerimages 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

 
Title: Re: Setting up on notepad++
Post by: Laurent 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
Title: Re: Setting up on notepad++
Post by: makerimages on June 17, 2013, 01:50:57 pm
That goes at the end of the first line in the .bat file ,right?
Title: Re: Setting up on notepad++
Post by: Laurent 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... ;)