0
我有一個C++的海量程序,到目前爲止我一直在使用VS 2013 Express。試用版結束後,我決定轉移到VS 2015 Professional。當我嘗試編譯和調試完全在VS 2013上工作的相同代碼時,我收到了這些錯誤。我該如何做這項工作?從Visual Studio 2013轉換到Visual Studio 2015的問題
1main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::RectangleShape::RectangleShape(class sf::RectangleShape &&)" ([email protected]@@[email protected][email protected]@Z) referenced in function "public: __thiscall entity::entity(class entity &&)" ([email protected]@[email protected][email protected]@Z)
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::RectangleShape & __thiscall sf::RectangleShape::operator=(class sf::RectangleShape &&)" ([email protected]@@[email protected][email protected]@Z) referenced in function "public: class entity & __thiscall entity::operator=(class entity &&)" ([email protected]@[email protected][email protected]@Z)
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Sprite::Sprite(class sf::Sprite &&)" ([email protected]@@[email protected][email protected]@Z) referenced in function "public: __thiscall entity::entity(class entity &&)" ([email protected]@[email protected][email protected]@Z)
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::Sprite & __thiscall sf::Sprite::operator=(class sf::Sprite &&)" ([email protected]@@[email protected][email protected]@Z) referenced in function "public: class entity & __thiscall entity::operator=(class entity &&)" ([email protected]@[email protected][email protected]@Z)
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall sf::Text::Text(class sf::Text &&)" ([email protected]@@[email protected][email protected]@Z) referenced in function "public: __thiscall entity::entity(class entity &&)" ([email protected]@[email protected][email protected]@Z)
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::Text & __thiscall sf::Text::operator=(class sf::Text &&)" ([email protected]@@[email protected][email protected]@Z) referenced in function "public: class entity & __thiscall entity::operator=(class entity &&)" ([email protected]@[email protected][email protected]@Z)
1>C:\SFML-2.3.2\SFML\Debug\SFML.exe : fatal error LNK1120: 6 unresolved externals
「試用版結束」 - 嗯? VS 2013 Express是免費的,你應該可以無限期地使用它。 – hvd
鏈接器與VS 2013相同 – agtv
那麼,我可以做些什麼來使其工作? – agtv