Hey guys!
I am having an issue with telling the vector music file to play.. I keep getting these errors:
>C:\SFML-2.3\include\SFML/Audio/InputSoundFile.hpp(203): error C2248: 'sf::NonCopyable::NonCopyable' : cannot access private member declared in class 'sf::NonCopyable'
1> C:\SFML-2.3\include\SFML/System/NonCopyable.hpp(67) : see declaration of 'sf::NonCopyable::NonCopyable'
1> C:\SFML-2.3\include\SFML/System/NonCopyable.hpp(42) : see declaration of 'sf::NonCopyable'
int rulesCounter = 0;
for (std::vector<sf::Music>::iterator mitr = v_musicList.begin(); mitr != v_musicList.end(); mitr++)
{
v_musicList[rulesCounter].play();
rulesCounter++;
}
If anyone could explain to me what I am doing wrong that would be awesome!