Closed SolarAquarion closed 6 years ago
This is probably problem with imagemagick 7.0.7.21. I can confirm it (Arch Linux).
Im not using plasma desktop now, so cant fix it ATM You can edit CMakeLists.txt to exclude imagemagick for now.
If I created a patch that tries for both ImageMagick versions that may be on the system
On Feb 2, 2018 10:25 AM, "maz-1" notifications@github.com wrote:
Im not using plasma desktop now, so cant fix it ATM You can edit CMakeLists.txt to exclude imagemagick for now.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/maz-1/grub2-editor/issues/9#issuecomment-362603468, or mute the thread https://github.com/notifications/unsubscribe-auth/AFD6iO8ncniY_Osnj6cVMqHfXFnQ4xzgks5tQx3KgaJpZM4Q8UE9 .
well, i tried imagemagick6 and it's still failing for which version does it compile properly
The problem only happens when you have libmagick6 installed (dependency of inkscape) Dont know why cmake prefer libmagick6 over libmagick
fixed
[ 30%] Linking CXX shared module kcm_grub2.so CMakeFiles/kcm_grub2.dir/convertDlg.cpp.o: In function
ConvertDialog::ConvertDialog(QWidget*, QFlags<Qt::WindowType>)': convertDlg.cpp:(.text+0x4e2): undefined reference to
GetMagickStealth' CMakeFiles/kcm_grub2.dir/convertDlg.cpp.o: In functionConvertDialog::slotOkButtonClicked()': convertDlg.cpp:(.text+0x192f): undefined reference to
Magick::Geometry::Geometry(unsigned long, unsigned long, long, long)' convertDlg.cpp:(.text+0x1949): undefined reference to `Magick::Geometry::aspect(bool)' collect2: error: ld returned 1 exit status make[2]: *** [src/CMakeFiles/kcm_grub2.dir/build.make:325: src/kcm_grub2.so]