-1
Visual Studio 2012から2015への完全な再フォーマットとアップグレードに続いて、私のプログラムはコンパイルされず、私にリンカエラーが発生します。私はパス、リンカー、その他のものを見てきましたが、それがうまくいくかどうかだけではなく、参照されているクラスで自分のコードを調べましたが、それらはすべて適切なインクルードとネームスペースで設定されています。SFMLはもはや動作しません
SFMLライブラリと自分のソースコードを含むすべてのファイルは、再フォーマットする前にドロップボックスに保存されていたので、フォルダを変更したファイルはありません。
プロジェクト全体はC++で書かれている
1>------ Build started: Project: Starfall, Configuration: Debug x64 ------
1>AnimatedSprite.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::RectangleShape & __cdeclsf::RectangleShape::operator=(class sf::RectangleShape &&)" ([email protected]@@[email protected][email protected]@Z) referenced in function "public: __cdecl AnimatedSprite::AnimatedSprite(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct HandlerContainer *)" ([email protected]@[email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
1>DynamicSprite.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class sf::RectangleShape & __cdecl sf::RectangleShape::operator=(class sf::RectangleShape &&)" ([email protected]@@[email protected][email protected]@Z)
1>CuboidDrawable.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class sf::ConvexShape & __cdecl sf::ConvexShape::operator=(class sf::ConvexShape &&)" ([email protected]@@[email protected][email protected]@Z) referenced in function "public: __cdecl CuboidDrawable::CuboidDrawable(class CuboidShape,struct HandlerContainer *)" ([email protected]@[email protected]@@[email protected]@@Z)
1>C:\Users\Riilu\Dropbox\Starfall\Code and shit\Starfall\x64\Debug\Starfall.exe : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
VS2015へのSFMLライブラリ? [ここをクリック](http://www.sfml-dev.org/tutorials/2.0/start-vc.php) - ** "あなたのVisual C++のバージョンに一致するパッケージをダウンロードする必要があります。 Visual C++のあなたのバージョンのためにコンパイルされたSFMLパッケージ、あなたは自分でSFMLを構築しなければなりません "** – mvidelgauz
ああ、私は気づいていませんでした。 – Riilu
@mvidelgauz答えとしてコメントを書く:)。 – Lehu