Error while building SDK
#3
(09-11-2020, 01:18 PM)bluewww Wrote: You should link against graphicsmagick, not imagemagick

Thanks for your reply! I have built SDK successfully without any error but with several warnings. 

I'll keep trying what pulpissimo platform can do later. Besides, I think I could elaborate what happened for those having similar problems.

I installed GraphicsMagick in my home directory and add the path to $CPLUS_INCLUDE_PATH. Then I encountered the problem "/usr/bin/ld : cannot find -lGrphicsMagick++".  I didn't find libGraphicsMagick.so nor libGraphicsMagick++.so. But I  found libGraphicsMagick.so in /usr/lib64. I added /usr/lib64 into $LD_LIBRARY_PATH. The problem was not solved.

Then I found my machine only installed GraphicsMagick-devel but not GraphcisMagick-c++-devel. After installing it, the SDK was built successfully.

To sum up,
1. Install GraphicsMagick but not ImageMagick
2. Install both GraphicsMagick-devel and GraphicsMagick-c++-devel
3. Remember to add corresponding path into $CPLUS_INCLUDE_PATH and $LD_LIBRARY_PATH

I am not so sure which step is redundant. I'll be glad to learn these knowledge if you would like to share with me! Thanks a lot!
Reply


Messages In This Thread
Error while building SDK - by Victor - 09-11-2020, 01:27 AM
RE: Error while building SDK - by bluewww - 09-11-2020, 01:18 PM
RE: Error while building SDK - by Victor - 09-12-2020, 06:10 AM
RE: Error while building SDK - by bluewww - 09-12-2020, 12:52 PM
RE: Error while building SDK - by Victor - 09-12-2020, 01:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)