お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2021-03-03 06:12:46

s.ikeda
メンバ
登録日: 2021-03-03

GimpにBimpを導入できない

Peppermint10、64bitを使っています。Ubuntu 18.04 LTS(長期サポート)ベースのOS,ということです。
GIMP2.8にBIMPというプラグインを導入したいのですがうまく行きません。以下のサイトを参考にしました。
https://kawahara-zakki.com/gimp-bimp/
https://www.fosslinux.com/1207/bimp-adds-batch-processing-of-images-power-to-gimp.htm

先ず
gimp-plugin-bimp-master.zip
をダウンロードして解凍。次にターミナルで

sudo apt-get install libgimp2.0-dev libpcre3-dev

cd gimp-plugin-bimp-master

make && make install

と進んだのですが、最後の
make && make install
で以下のエラーメッセージが返ってきました。
正直コマンド入力はまるっきり素人であまり意味も分からずコピペで使っています。以下のメッセージもさっぱり理解できません。どうすれば良いのか、分かる方居ましたら教えてください。よろしくお願いします。

which gimptool-2.0 &&
gcc -o ./bin/bimp -O2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 -Wall -Wno-unused-variable -Wno-pointer-sign -DGIMP_DISABLE_DEPRECATED src/.c src/manipulation-gui/.c src/images/*.c -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lm
/usr/bin/gimptool-2.0
src/bimp-manipulations-gui.c: In function ‘bimp_open_editwindow’:
src/bimp-manipulations-gui.c:48:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_resize_save;
^
src/bimp-manipulations-gui.c:52:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_crop_save;
^
src/bimp-manipulations-gui.c:56:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_fliprotate_save;
^
src/bimp-manipulations-gui.c:60:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_color_save;
^
src/bimp-manipulations-gui.c:64:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_sharpblur_save;
^
src/bimp-manipulations-gui.c:68:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_changeformat_save;
^
src/bimp-manipulations-gui.c:72:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_watermark_save;
^
src/bimp-manipulations-gui.c:76:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_rename_save;
^
src/bimp-manipulations-gui.c:80:14: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
save = &bimp_userdef_save;
^
src/bimp-operate.c: In function ‘apply_resize’:
src/bimp-operate.c:510:13: error: ‘GIMP_LAYER_MODE_NORMAL_LEGACY’ undeclared (first use in this function)
GIMP_LAYER_MODE_NORMAL_LEGACY
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bimp-operate.c:510:13: note: each undeclared identifier is reported only once for each function it appears in
src/bimp-operate.c:528:37: error: ‘GIMP_FILL_BACKGROUND’ undeclared (first use in this function); did you mean ‘GIMP_OFFSET_BACKGROUND’?
gimp_drawable_fill(layerId, GIMP_FILL_BACKGROUND);
^~~~~~~~~~~~~~~~~~~~
GIMP_OFFSET_BACKGROUND
src/bimp-operate.c:532:9: warning: implicit declaration of function ‘gimp_item_transform_translate’; did you mean ‘gimp_item_transform_rotate’? [-Wimplicit-function-declaration]
gimp_item_transform_translate(layerId, -abs(view_w - final_w) / 2, -abs(view_h - final_h) / 2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gimp_item_transform_rotate
src/bimp-operate.c: In function ‘apply_color’:
src/bimp-operate.c:661:23: warning: implicit declaration of function ‘gimp_drawable_brightness_contrast’; did you mean ‘gimp_brightness_contrast’? [-Wimplicit-function-declaration]
success = gimp_drawable_brightness_contrast(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gimp_brightness_contrast
src/bimp-operate.c:678:23: warning: implicit declaration of function ‘gimp_drawable_levels_stretch’; did you mean ‘gimp_levels_stretch’? [-Wimplicit-function-declaration]
success = gimp_drawable_levels_stretch(out->drawable_ids[i]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gimp_levels_stretch
src/bimp-operate.c:704:31: warning: implicit declaration of function ‘gimp_drawable_curves_spline’; did you mean ‘gimp_drawable_set_pixel’? [-Wimplicit-function-declaration]
success = gimp_drawable_curves_spline(out->drawable_ids[i], GIMP_HISTOGRAM_VALUE, colorcurve_num_points_v, colorcurve_ctr_points_v);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
gimp_drawable_set_pixel
src/bimp-operate.c: In function ‘image_save’:
src/bimp-operate.c:1101:17: error: ‘GIMP_CONVERT_DITHER_FS’ undeclared (first use in this function); did you mean ‘GIMP_FIXED_DITHER’?
GIMP_CONVERT_DITHER_FS,
^~~~~~~~~~~~~~~~~~~~~~
GIMP_FIXED_DITHER
src/bimp-operate.c:1102:17: error: ‘GIMP_CONVERT_PALETTE_GENERATE’ undeclared (first use in this function); did you mean ‘GIMP_TYPE_CONVERT_PALETTE_TYPE’?
GIMP_CONVERT_PALETTE_GENERATE,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GIMP_TYPE_CONVERT_PALETTE_TYPE
src/bimp-operate.c: In function ‘image_save_gif’:
src/bimp-operate.c:1178:9: error: ‘GIMP_CONVERT_DITHER_FS’ undeclared (first use in this function); did you mean ‘GIMP_FIXED_DITHER’?
GIMP_CONVERT_DITHER_FS,
^~~~~~~~~~~~~~~~~~~~~~
GIMP_FIXED_DITHER
src/bimp-operate.c:1179:9: error: ‘GIMP_CONVERT_PALETTE_GENERATE’ undeclared (first use in this function); did you mean ‘GIMP_TYPE_CONVERT_PALETTE_TYPE’?
GIMP_CONVERT_PALETTE_GENERATE,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GIMP_TYPE_CONVERT_PALETTE_TYPE
src/bimp-utils.c: In function ‘get_bimp_localedir’:
src/bimp-utils.c:172:5: warning: ignoring return value of ‘readlink’, declared with attribute warn_unused_result [-Wunused-result]
readlink("/proc/self/exe", path, bufsize);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:9: recipe for target 'make' failed
make: *** [make] Error 1

オフライン

 

#2 2021-03-03 11:57:04

bybywin
メンバ
From: 日本国群馬県
登録日: 2011-04-22

Re: GimpにBimpを導入できない

cd gimp-plugin-bimp-masterでmasterが不要なのでは?
cd gimp-plugin-bimp

オフライン

 

#3 2021-03-03 20:42:30

chichinpui
メンバ
登録日: 2010-02-08

Re: GimpにBimpを導入できない

s.ikedaさん

s.ikedaさんが、提示されていた以下サイトに、s.ikedaさんと同様のエラー情報がでているのでは、と思います。
https://www.fosslinux.com/1207/bimp-adds-batch-processing-of-images-power-to-gimp.htm
上記サイト後半、Hedley Fingerさんの投稿→s.ikedaさんと同様のエラーと思われます。

対策は、その下Art Greenさんの投稿→「gimp2.8以前は、BIMP 1.18版のソースを使え」と。
https://github.com/alessandrofrancesconi/gimp-plugin-bimp/releases/tag/v1.18

実際、以下の本家(と思われるサイト)サイトにも同様の注意文がありますので、この情報は確かかと。
https://alessandrofrancesconi.it/projects/bimp/
※Warning! Starting from v2.0, BIMP is no more compatible with GIMP 2.8 and older.
If you need it, you can still use version 1.18 の部分ですね。

ちなみにubuntu20.04以降はgimp2.10の様なので、存在するならubuntu20.04以降ベースのPeppermintにして、gimp-plugin-bimp-master.zipをインストールするのもありかも知れませんね。

以上 参考になれば幸いです。

オフライン

 

#4 2021-03-04 07:13:57

s.ikeda
メンバ
登録日: 2021-03-03

Re: GimpにBimpを導入できない

皆さんご返答有難うございます。chichinpuiさんの指摘通り、1.18版ソースでやってみて解決しました! ここ一週間程の試行錯誤が一瞬で終わりました。有難うございます! 
Peppermintは今の10が最新ヴァージョンのようです。11開発中らしいのでもう少し待ってみます。

オフライン

 

#5 2024-10-18 07:12:46

UBT_ROOK
新しいメンバ
登録日: 2024-10-18

Re: GimpにBimpを導入できない

ここの記載を参考に、bimpプラグイン設定を試みました。
ですが、gimpのメニューでファイル/BIMP等の表示が出ません。
設定/ファイル/プラグイン にてフォルダ /home/user/gimp-plugin-bimp/gimp-plugin-bimp-masterまたは、/home/user/gimp-plugin-bimp を登録し、gimp再起動でもメニューにBIMP表示が出てきません。
アドバイスよろしくおねがいします。

オフライン

 

Board footer

Powered by FluxBB