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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - VegetableNinja

Pages: [1]
1
General / Re: Need help with Visual Studio Tutorial
« on: October 15, 2015, 05:07:10 pm »
I had tried that prior to posting this (In fact its still like that now) and the error is the same.

2
General / Need help with Visual Studio Tutorial
« on: October 15, 2015, 04:59:00 pm »
Hi,

New SFML user here. I've been following this tutorial here: http://www.sfml-dev.org/tutorials/2.3/start-vc.php

Once I tried running the example code, I got these errors on Debug:
Quote
error LNK2001: unresolved external symbol "public: static class sf::RenderStates const sf::RenderStates::Default" (?Default@RenderStates@sf@@2V12@B)
error LNK2001: unresolved external symbol "public: static class sf::Color const sf::Color::Green" (?Green@Color@sf@@2V12@B)

However when I run it on Release, it works just fine. What could be the cause of this?

I have these libraries in both my Debug and Release:
Quote
sfml-graphics.lib
sfml-window.lib
sfml-system.lib

(Example code I'm referring to:)
(click to show/hide)

Thank you in advance!

Pages: [1]