2017-08-22 3 views
0

Windows 10 64ビットコンピュータでImageMagick 7を正しくインストールしようとしています。 ImageMagickの32ビット版をダウンロードして、Railsと互換性があるようにしました。また、リストの先頭にある環境変数とシステム変数PATHの両方にそれらを追加しました。私はconvert -image を実行すると、私はinvalid drive specificationImageMagick 7 with Windows 10の過去のエラーをRuby on Railsと互換性を持たせるには?


を取得し、私も、このエラーを取得しておきます。 ImageMagickの7では

 *** 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 may 
    need configuration options. 



Provided configuration options: 
     --with-opt-dir 
     --with-opt-include 
     --without-opt-include=${opt-dir}/include 
     --with-opt-lib 
     --without-opt-lib=${opt-dir}/lib 
     --with-make-prog 
     --without-make-prog 
     --srcdir=. 
     --curdir 
     --ruby=C:/RailsInstaller/Ruby2.3.0/bin/$(RUBY_BASE_NAME) 
extconf.rb:141:in ``': No such file or directory - identify -version (Errno::ENOENT) 
     from extconf.rb:141:in `configure_compile_options' 
     from extconf.rb:16:in `initialize' 
     from extconf.rb:548:in `new' 
     from extconf.rb:548:in `<main>' 

extconf failed, exit code 1 

Gem files will remain installed in C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/rmagick-2.16.0 for inspection. 
Results logged to C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/extensions/x86-mingw32/2.3.0/rmagick-2.16.0/gem_make.out 

答えて

0

、構文は

magick inputimage.suffix outputimage.suffix 

で何のマイナス記号は、コメントごとにありません(-imageを変換)

申し訳ありませんが、私は方法を知っているWindowsユーザーではありませんよWindows 10にIMをインストールする。

0

最後にそれを手に入れた!

  1. セットアップインストールウィザードが表示されたら、ヘッダファイルボックスをチェックしてください
  2. ImageMagickの
  3. の32ビット版をダウンロードして、レガシーコードボックスあなたのダウンロードのための
  4. ルックをし、それを持っていることを確認してください利用可能なコマンドのexeファイルは、それが既に存在
  5. Openコマンドでない場合
  6. は、あなたの環境変数の先頭にImageMagickのパスを追加し、コンバート-imageを入力し、それを(これは-imageを実行する必要がある変換するものです)今すぐご利用ください。
関連する問題