Is texture and sprite members of Player? Be aware that the Player constructor could be called before main() so if any of the code used here depend on some initialization done in main you have a problem.
It's not possible to see what the problem is from the code you have posted. It could be something wrong with the loadFromFile and setTexture functions, or with the texture and sprite constructors, or it could be something else. Using a debugger to find the problem is probably the easiest way so I recommend you learn how to use a debugger.
I should have mentioned im using sfml. I did notice though that i forget to add ".png" to the end of the filename. That, however, was not the problem.
While stepping through the constructor with the debugger, i get the break message after stepping over the line Player(). I think this means that there is nothing wrong with the code in the constructor. Please help.