I have a peculiar problem, here is what I am trying:
gem install rmagick --platform=ruby -- --with-opt-lib="c:\Program Files (x86)\ImageMagick-6.7.7-Q8\lib" --with-opt-include="c:\Program Files (x8
6)\ImageMagick-6.7.7-Q8\include" --with-opt-dir="C:\Program Files (x86)\ImageMagick-6.7.7-Q8"
I have installed ImageMagick exe file without problem in c:\Program Files (x86)\ImageMagick-6.7.7-Q8
when I want to install with gems, I get error:
extconf.rb failed
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You ma
need configuration options.
Then I go and check the mkmf.log, here I see that it cannot read the library:
have_library: checking for main() in -lCORE_RL_magick_... -------------------- no
I am going to the lib directory of Imagemagick and here is what I have:
CORE_RL_magick_.lib
CORE_RL_Magick++_.lib
CORE_RL_wand_.lib
X11.lib
does it mean one of my lib libraries are missing or does it mean it cannot read them? I am totally frustrated.
Aucun commentaire:
Enregistrer un commentaire