Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Hi, I'm trying to setup SFML but no success
Print
Pages: [
1
]
Author
Topic: Hi, I'm trying to setup SFML but no success (Read 1277 times)
0 Members and 1 Guest are viewing this topic.
prako2
Newbie
Posts: 2
Hi, I'm trying to setup SFML but no success
«
on:
July 15, 2018, 12:40:21 am »
I'm following this tutorial
https://www.sfml-dev.org/tutorials/2.5/start-vc.php
and I'm using VS 2013. If I try to compile code which is down, I'm getting:
1>------ Build started: Project: ConsoleApplication10, Configuration: Release Win32 ------
1> ConsoleApplication10.cpp
1>ConsoleApplication10.obj : error LNK2001: unresolved external symbol "public: static class sf::Color const sf::Color::Green" (?Green@Color@sf@@2V12@B)
1>ConsoleApplication10.obj : error LNK2001: unresolved external symbol "public: static class sf::RenderStates const sf::RenderStates::Default" (?Default@RenderStates@sf@@2V12@B)
1>c:\users\vartotojas\documents\visual studio 2013\Projects\ConsoleApplication10\Release\ConsoleApplication10.exe : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I'm sure that I don't have any changed settings because I fully reset VS before setting up SFML. Can someone help me?
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: Hi, I'm trying to setup SFML but no success
«
Reply #1 on:
July 16, 2018, 09:07:05 am »
Did you define SFML_STATIC but link SFML dynamically or ther other way around?
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
prako2
Newbie
Posts: 2
Re: Hi, I'm trying to setup SFML but no success
«
Reply #2 on:
July 22, 2018, 10:23:56 pm »
Hmm, thanks, changed to dynamic and it works!
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Hi, I'm trying to setup SFML but no success