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

Pages: [1]
1
General / Re: Static libraries
« on: February 01, 2015, 12:50:16 am »
"The program has stopped working" - it says when i start it without debugging.

Problem solved: works ok when i declare sf::RenderWindow window in game.h, instead of putting it globally in game.cpp. Thanks guys for your help.

2
General / Re: Static libraries
« on: February 01, 2015, 12:43:39 am »
Yes yes I've already fixed that. The code works and debugs with dynamic libraries, with static ones it compiles, but when i try to debug it stops as i mentioned above. I use correct libraries, -s-d for debug and -s for release, aswell as other libraries (winmm, opengl32 etc.) in "All Configurations".

3
General / Re: Static libraries
« on: February 01, 2015, 12:36:53 am »
I think the problem is solved, it wasn't the compiler fault, just an error in code. But now when i try to debug it, i get an Unhandled Exception about ntdll.dll. Got any idea what it causes? It pauses on the line "sf::RenderWindow window;". I'll add, that it compiles without any errors (except those of intellisense).

4
General / Re: Static libraries
« on: January 31, 2015, 09:16:28 pm »
Believe me, I've read it and I link all other libraries aswell and it still doesnt work. I don't know in what order should i type them to VS.

5
General / Re: Static libraries
« on: January 31, 2015, 07:09:21 pm »
Well, it does not work :/. That's why i would like someone to tell me what and where to type.

6
General / Re: Static libraries
« on: January 31, 2015, 06:19:33 pm »
So if I want to use these three modules (i think this is their definition): sfml-system-s, sfml-windows-s, sfml-graphics-s, I have to link these things aswell: winmm.lib, opengl32.lib, gdi32.lib, glew.lib, freetype.lib, jpeg.lib?

7
General / Re: Static libraries
« on: January 31, 2015, 06:11:35 pm »
Thank you for your reply. So, you're telling me to check in what order are the libraries linked? I thought it doesn't matter in VS13 :).

8
General / Static libraries
« on: January 31, 2015, 05:41:58 pm »
Hello there! I have a problem with linking static libraries in Visual Studio 13. I've read, that now i have to link (type them in ProjectProperties->Linker->Input->Additional Dependencies) all libraries. The problem is, i still get linker or IntelliSense errors. My question and request for you, is that you should add in tutorial what EXACTLY should be typed in there to get static libraries ;). For many new people this is very hard, as it is for me, cause i don't really know if i should type then in All Configurations, or only in Debug or somewhere else.
Thank you in advance for any help, and sorry if I wrote something wrong.
Cheers!

Pages: [1]