Error 1 error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall sf::SoundStream::play(void)" (__imp_?play@SoundStream@sf@@QAEXXZ) C:\Users\Nikola\documents\visual studio 2013\Projects\LoopsTest1\LoopsTest1\main.obj LoopsTest1
Error 2 error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall sf::Music::openFromFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?openFromFile@Music@sf@@QAE_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) C:\Users\Nikola\documents\visual studio 2013\Projects\LoopsTest1\LoopsTest1\main.obj LoopsTest1
Error 3 error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall sf::Music::~Music(void)" (__imp_??1Music@sf@@UAE@XZ) C:\Users\Nikola\documents\visual studio 2013\Projects\LoopsTest1\LoopsTest1\main.obj LoopsTest1
Error 4 error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Music::Music(void)" (__imp_??0Music@sf@@QAE@XZ) C:\Users\Nikola\documents\visual studio 2013\Projects\LoopsTest1\LoopsTest1\main.obj LoopsTest1
Error 5 error LNK1120: 4 unresolved externals C:\Users\Nikola\documents\visual studio 2013\Projects\LoopsTest1\Release\LoopsTest1.exe LoopsTest1
I'm using SFML 2.3 to play an ogg file. I'm a novice to C++. Not sure what's causing it. This is the code I'm using to play the ogg sound.Thanks in advanced. sf::Music music;
music.openFromFile("Forest_v3.ogg");
return -1;
music.play();
Edit : I've attempted pasting all the DLLs from SFML/bin into my source files folder but no changes. I've also referenced the sfml-audio-d.lib file but no changes. The errors remain.