weird sfml error

closed account (Dy7SLyTq)
so i just posted a while ago about learning allegro, but got this weird error about not being able to find the start point in libstdc++-6. i decided to install sfml at that point (2.1 32 bit (although my windows 7 os is 64 bit)) however after putting sfml/include and sfml/lib on the search path and linking to graphics, window, and system, i put the dlls in the exes folder. however upon running i get the same error: http://prntscr.com/1isoxa
Make sure you have not mixed 32 bit and 64 bit. Pick one and use it for everything.
closed account (Dy7SLyTq)
i havent. i only downloaded the 32 bit and thats all im using. is there a special option in code blocks that i have to set it to 32 bit?
You have installed a 32 bit compiler?
closed account (Dy7SLyTq)
i got this one. how can i tell if the compiler is 32 or 64 bit?
If you use GCC/MinGW I think you should be able to get that information if you run gcc -v from the command prompt.
closed account (Dy7SLyTq)
this is the output so if i had to guess i would say its 32 bit
Did you build SFML our are you using the binary package?
closed account (Dy7SLyTq)
binary.
closed account (Dy7SLyTq)
http://www.sfml-dev.org/download/sfml/2.1/
i got the GCC 4.7 MinGW (DW2) - 32 bits which is the last of the windows 32 bit binaries
Try building it.
closed account (Dy7SLyTq)
alright
Make sure your compiler and sfml build version match. If you just downloaded codeblocks you probably have MinGW 4.7.1 but check to make sure. If the MinGW version is not 4.7 than you need to either download the compiler that works with the 4.7 version of sfml or recomile sfml for you your compiler or download an sfml version someone else compiled for your compiler.

Here are some pre-compiled versions of sfml that I found helpful.

http://en.sfml-dev.org/forums/index.php?topic=9513.0
closed account (Dy7SLyTq)
yeah min gw is 4.7.1 and thanks ill check the link out
Topic archived. No new replies allowed.