Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Setting up on notepad++
Print
Pages: [
1
]
Author
Topic: Setting up on notepad++ (Read 3645 times)
0 Members and 1 Guest are viewing this topic.
makerimages
Newbie
Posts: 24
Yay!
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
Logged
Makerimages-It`s in the pixel
Laurent
Administrator
Hero Member
Posts: 32498
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
Logged
Laurent Gomila - SFML developer
makerimages
Newbie
Posts: 24
Yay!
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?
Logged
Makerimages-It`s in the pixel
Laurent
Administrator
Hero Member
Posts: 32498
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...
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Setting up on notepad++