Almamu / linux-wallpaperengine

Wallpaper Engine backgrounds for Linux!
GNU General Public License v3.0
1.59k stars 61 forks source link

could not make #129

Closed Adlyq closed 1 year ago

Adlyq commented 1 year ago

/usr/bin/ld: CMakeFiles/linux-wallpaperengine.dir/main.cpp.o: in function initGLFW()': main.cpp:(.text+0x612): undefined reference toFreeImage_Initialise' /usr/bin/ld: CMakeFiles/linux-wallpaperengine.dir/main.cpp.o: in function main': main.cpp:(.text+0x195d): undefined reference toFreeImage_DeInitialise' /usr/bin/ld: CMakeFiles/linux-wallpaperengine.dir/src/WallpaperEngine/Assets/CTexture.cpp.o: in function WallpaperEngine::Assets::CTexture::CTexture(void*)': CTexture.cpp:(.text+0x524): undefined reference toFreeImage_OpenMemory' /usr/bin/ld: CTexture.cpp:(.text+0x549): undefined reference to FreeImage_LoadFromMemory' /usr/bin/ld: CTexture.cpp:(.text+0x559): undefined reference toFreeImage_FlipVertical' /usr/bin/ld: CTexture.cpp:(.text+0x565): undefined reference to FreeImage_ConvertTo32Bits' /usr/bin/ld: CTexture.cpp:(.text+0x575): undefined reference toFreeImage_GetBits' /usr/bin/ld: CTexture.cpp:(.text+0x585): undefined reference to FreeImage_GetWidth' /usr/bin/ld: CTexture.cpp:(.text+0x597): undefined reference toFreeImage_GetHeight' /usr/bin/ld: CTexture.cpp:(.text+0x6f8): undefined reference to FreeImage_Unload' /usr/bin/ld: CTexture.cpp:(.text+0x704): undefined reference toFreeImage_Unload' /usr/bin/ld: CTexture.cpp:(.text+0x710): undefined reference to `FreeImage_CloseMemory' collect2: 错误:ld 返回 1 make[2]: [CMakeFiles/linux-wallpaperengine.dir/build.make:1171:linux-wallpaperengine] 错误 1 make[1]: [CMakeFiles/Makefile2:83:CMakeFiles/linux-wallpaperengine.dir/all] 错误 2 make: *** [Makefile:91:all] 错误 2

Adlyq commented 1 year ago

Try cmake .. && make again to solve