1
General / Re: Can't get the tutorial to work in CodeBlocks (undefined reference errors)
« on: July 09, 2015, 07:09:59 am »Which tutorial?This tutorial:
The fact that you are getting "_imp___ZN2sf6StringC1EPKcRKSt6locale", means that is it an implied reference. Are you defining "SFML_STATIC", while using the dynamic libraries, or not when using the static libraries?
http://www.sfml-dev.org/tutorials/2.1/start-cb.php
And no, I am not defining SFML_STATIC.
you must be linking wrong.Followed this tutorial exactly as it's written, step by step, and it changed nothing. I'm still getting the same "undefined reference" errors.
try this
http://www.edparrish.net/common/sfmlcb.html
I notice that this tutorial was written for version 2.2, though. Perhaps I should try downgrading?