Jump to content

  • Log In with Google      Sign In   
  • Create Account

JustAnotherTroll

Member Since 28 Mar 2013
Offline Last Active Apr 01 2013 02:16 PM

Posts I've Made

In Topic: Beginning and how to set up SFML 2.0/1.6

28 March 2013 - 01:41 PM

Atm. i have graphics,window and system included and SFML_STATIC is in the Preprocessor Defenitions.

Maybe I made a mistake while building the library's....

 

 

On the forums there is a nightly build of SFML 2.0 it's in great shape, much better than the RC on the front page

 

What is a nightly build? And what's it diffrent from the one at the original site?

 

Btw are there any other tutorial sites? Because i'm really a total newbie at WIN Api, FSML, game programming and stuff so i need some easy steps to follow (Well i know the basics of message loops and so on) :)


In Topic: Beginning and how to set up SFML 2.0/1.6

28 March 2013 - 10:24 AM

Thanks for the fast answers :)

 

I didn't know that you have to put the .dll files in the same folder (seems logic) :D

So that works for now :)

 

(by the way I strongly recommend you go with SFML2 in case you had any doubts)

 

Why would you recommend SFML 2.0? On the page it says it's still a beta. But i used it anyways :)

 

 

So if i build the static libs (CMake -> checking SFML_USE_STATIC_STD_LIBS and unchecking BUILD_SHARED_LIBS -> building -> adding SFML_STATIC at the preprocessor and change the input to sfml-xxxx-s) i still get errors when i want to compile the testprogram :(

 

Error 1 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(Shape.obj) Project2
Error 2 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(RenderWindow.obj) Project2
Error 3 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(Color.obj) Project2
Error 4 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(RenderStates.obj) Project2
Error 5 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(CircleShape.obj) Project2
Error 6 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(RenderTarget.obj) Project2
Error 7 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(Transform.obj) Project2
Error 8 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(Transformable.obj) Project2
Error 9 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(VertexArray.obj) Project2
Error 10 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(Texture.obj) Project2
Error 11 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(Image.obj) Project2
Error 12 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(View.obj) Project2
Error 13 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(Shader.obj) Project2
Error 14 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(GLCheck.obj) Project2
Error 15 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(TextureSaver.obj) Project2
Error 16 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-graphics-s.lib(ImageLoader.obj) Project2
Error 17 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-window-s.lib(Window.obj) Project2
Error 18 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-window-s.lib(VideoMode.obj) Project2
Error 19 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-window-s.lib(GlContext.obj) Project2
Error 20 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-window-s.lib(WindowImpl.obj) Project2
Error 21 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-window-s.lib(VideoModeImpl.obj) Project2
Error 22 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-window-s.lib(WglContext.obj) Project2
Error 23 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-window-s.lib(JoystickManager.obj) Project2
Error 24 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-window-s.lib(WindowImplWin32.obj) Project2
Error 25 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-window-s.lib(JoystickImpl.obj) Project2
Error 26 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-system-s.lib(String.obj) Project2
Error 27 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-system-s.lib(Err.obj) Project2
Error 28 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\sfml-system-s.lib(ThreadLocal.obj) Project2
Error 29 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\libcpmt.lib(locale0.obj) Project2
Error 30 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\libcpmt.lib(ios.obj) Project2
Error 31 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\libcpmt.lib(iosptrs.obj) Project2
Error 32 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\libcpmt.lib(locale.obj) Project2
Error 33 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\libcpmt.lib(xlock.obj) Project2
Error 34 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\libcpmt.lib(xthrow.obj) Project2
Error 35 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\libcpmt.lib(wlocale.obj) Project2
Error 36 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\libcpmt.lib(xlocale.obj) Project2
Error 37 error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in Main.obj d:\cpp\Projects\Project2\Project2\libcpmt.lib(xdateord.obj) Project2

 

I have no clue what that means :D


PARTNERS