I have a project, in thia, a warrior fights against an archer.
The problem is, that everytime I texture.loadFromFile("sword.png") ,
for getting my sword, my Archer wont show up, if I delete this texture.loadFromFile("sword.png") it pretty much works, if not, the Archer x position is -3.1643e+038 .
anyways I dont see any sense behind this, could be the compiler or whatever.
The problem is, that everytime I texture.loadFromFile("sword.png")
"every time"? Hopefully you're only loading it once.
Anyway... it's impossible to tell what's happening without seeing your code. Only thing I can say for sure is that it's definitely not the compiler. It's more likely some kind of memory corruption.
Can you upload the code/images somewhere so we can try it out?
I have no idea, how that is possible, whatever. ill send all.
Remove all code that does not affect your problem. Once you are down the the bare minimum amount of code where the problem still happens, it's either obvious what the problem is, or it's small enough for us to find it for you.
Yes, the whole point of removing code until the problem goes away is to find out which code is needed to cause the problem. You're not expected to know where the problem is.