Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
makefile error?
Print
Pages: [
1
]
Author
Topic: makefile error? (Read 2234 times)
0 Members and 1 Guest are viewing this topic.
udaniel
Newbie
Posts: 12
makefile error?
«
on:
April 19, 2021, 04:45:28 pm »
i just download sfml and i ran the example but for some reason it created a next progam named makefile.exe and it gave me an error
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11032
Re: makefile error?
«
Reply #1 on:
April 19, 2021, 05:20:59 pm »
Looks like you're not linking SFML.
How does the complete line with
LIBS = ...
look like?
«
Last Edit: April 21, 2021, 08:18:04 am by eXpl0it3r
»
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
udaniel
Newbie
Posts: 12
Re: makefile error?
«
Reply #2 on:
April 21, 2021, 07:20:37 am »
what do you mean
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11032
Re: makefile error?
«
Reply #3 on:
April 21, 2021, 08:18:36 am »
On the make file line with LIBS= you need to list the SFML libraries to be linked
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
udaniel
Newbie
Posts: 12
Re: makefile error?
«
Reply #4 on:
April 21, 2021, 05:42:47 pm »
this is what i see
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11032
Re: makefile error?
«
Reply #5 on:
April 21, 2021, 06:49:11 pm »
You use
-I
instead of
-l
(lower-case L)
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
makefile error?
anything