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 - Ripol

Pages: [1]
1
General / Re: Getting LNK Errors.
« on: October 24, 2015, 09:16:45 pm »
Did you go step by step looking at the pictures or step by step read and understanding the text? ;)

The first two errors appear when you define SFML_STATIC but link against SFML dynamically (or the other way around?). If you link statically define SFML_STATIC otherwise don't define it.

The third error happens when you set your project's subsystem to window but don't link against sfml-main (or the other way around?). If you set the subsystem to console you shouldn't link against sfml-main, but if you set your subsystem to window, you should link against sfnl-main. Additionally you should always use the int main() function as your entry point.

Thanks, I managed to get rid of the errors. However, now when I try to run my program I get a error message saying that sfml-system-d-2 is missing, even though it's in the project folder with all the other DLLs.

2
General / Getting LNK Errors.
« on: October 23, 2015, 05:12:49 pm »
So hi. I wanted to start working with SFML but for the past few days I keep getting different LNK errors. I work with VS2012 and followed the tutorial in the official website step by step, and tried to run the code that was given there. However, I got the following errors:



And yes, I searched online for quite a while, but nothing really helped.

Pages: [1]