Hello, I'm new
I've spend the whole yesterday getting an open source project to compile. After learning how to use cmake to create and format the source code for this project, I've encounter these error
||=== Build: all in Witch_Blast (compiler: GNU GCC Compiler) ===|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf6SpriteC1Ev'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf6Sprite10setTextureERKNS_7TextureEb'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZNK2sf6Sprite14getTextureRectEv'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf13Transformable11setPositionEff'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf13Transformable8setScaleEff'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf13Transformable8setScaleEff'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf13Transformable8setScaleEff'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf6Sprite14setTextureRectERKNS_4RectIiEE'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf13Transformable11setPositionEff'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf6Sprite8setColorERKNS_5ColorE'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf13Transformable8setScaleEff'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf5Color5WhiteE'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf6Sprite8setColorERKNS_5ColorE'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf6Sprite8setColorERKNS_5ColorE'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp|| undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'|
CMakeFiles\Witch_Blast.dir\objects.a(ArtefactDescriptionEntity.cpp.obj)ArtefactDescriptionEntity.cpp:(.text$_ZN2sf8DrawableD2Ev[__ZN2sf8DrawableD2Ev]+0xffff280e)||undefined reference to `_imp___ZTVN2sf8DrawableE'|
CMakeFiles\Witch_Blast.dir\build.make|1677|recipe for target 'Witch_Blast.exe' failed|
CMakeFiles\Makefile2|59|recipe for target 'CMakeFiles/Witch_Blast.dir/all' failed|
C:\Users\Hello PC\Documents\COPYTEST\Makefile|74|recipe for target 'all' failed|
||=== Build failed: 24 error(s), 0 warning(s) (0 minute(s), 2 second(s)) ===|
Edited:
After I started to work on my own project, I concluded a possibility that this issue is related specifically to sfml version 2.2. Because when I run my sample code on sfml version 2.2, the __imp error did occurs and when my own sample code is run on version 2.1, the code compiled successfully. I still need to resolve this problem because the open source project I downloaded needs to be run on 2.2, also I want to try the latest version of sfml.