No to all. The sf::Font is a member of the class. The sf::Text is a local variable in the class method. Here is a simple version of the method that is causing the error:
void Game::_pauseGame() {
sf::Text pause, resume, options;
// Each of these cause the error
pause.setFont(_font);
resume.setFont(_font);
options.setFont(_font);
// Set string of the text variables
....
// Set the size and positioning of the text variables
....
// Trying to draw each of the text variables causes the error as well
_window.draw(pause);
_window.draw(resume);
_window.draw(options);
_window.draw(_pauseSword);
}
I also get the error when exiting the application, but I think that has something to do with the destruction of either the sf::Text or sf::Font variables.
Also, I didn't mention in my first post, but I'm using Xcode. It works fine in VS