Hi All,
does anyone give me some hints? It was at the end, nearly .
I installed every dependence ( I think), and for me it’s “dark” i am not a programmer.
[ 98%] Building CXX object src/CMakeFiles/pfgimp-load.dir/plugin/pfgimp-load.cc.o
In file included from /home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:13:0:
/usr/include/glib-2.0/glib/gi18n.h:26:0: warning: "_" redefined
#define _(String) gettext (String)
^
In file included from /home/gabriele/git/PhotoFlow/src/plugin/../gui/imageeditor.hh:37:0,
from /home/gabriele/git/PhotoFlow/src/plugin/pluginwindow.hh:45,
from /home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:2:
/home/gabriele/git/PhotoFlow/src/plugin/../gui/../base/photoflow.hh:43:0: note: this is the location of the previous definition
#define _(String) gettext(String)
^
[ 99%] Linking CXX executable pfbatch
In file included from /home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:11:0:
/usr/include/glib-2.0/glib/gi18n.h:26:0: warning: "_" redefined
#define _(String) gettext (String)
^
In file included from /home/gabriele/git/PhotoFlow/src/plugin/../gui/imageeditor.hh:37:0,
from /home/gabriele/git/PhotoFlow/src/plugin/pluginwindow.hh:45,
from /home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:2:
/home/gabriele/git/PhotoFlow/src/plugin/../gui/../base/photoflow.hh:43:0: note: this is the location of the previous definition
#define _(String) gettext(String)
^
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc: In function 'void run(const gchar*, gint, const GimpParam*, gint*, GimpParam**)':
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:475:93: error: cannot convert 'GimpMetadata* {aka _GimpMetadata*}' to 'GExiv2Metadata* {aka _GExiv2Metadata*}' for argument '1' to 'gboolean gexiv2_metadata_save_file(GExiv2Metadata*, const gchar*, GError**)'
gexiv2_metadata_save_file( /*(GExiv2Metadata*)*/exif_metadata, filename.c_str(), NULL );
^
In file included from /usr/local/include/gimp-2.0/libgimpbase/gimpbase.h:24:0,
from /usr/local/include/gimp-2.0/libgimp/gimp.h:28,
from /home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:9:
/usr/local/include/gimp-2.0/libgimpbase/gimpbasetypes.h:58:16: note: class type 'GimpMetadata {aka _GimpMetadata}' is incomplete
typedef struct _GimpMetadata GimpMetadata;
^
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:709:9: warning: 'gboolean gimp_image_parasite_attach(gint32, const GimpParasite*)' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations]
gimp_image_parasite_attach(image_id, exif_parasite);
^
In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:47:0,
from /home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:9:
/usr/local/include/gimp-2.0/libgimp/gimpimage.h:84:16: note: declared here
gboolean gimp_image_parasite_attach (gint32 image_ID,
^
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:709:9: warning: 'gboolean gimp_image_parasite_attach(gint32, const GimpParasite*)' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations]
gimp_image_parasite_attach(image_id, exif_parasite);
^
In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:47:0,
from /home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:9:
/usr/local/include/gimp-2.0/libgimp/gimpimage.h:84:16: note: declared here
gboolean gimp_image_parasite_attach (gint32 image_ID,
^
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:709:59: warning: 'gboolean gimp_image_parasite_attach(gint32, const GimpParasite*)' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations]
gimp_image_parasite_attach(image_id, exif_parasite);
^
In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:47:0,
from /home/gabriele/git/PhotoFlow/src/plugin/pfgimp.cc:9:
/usr/local/include/gimp-2.0/libgimp/gimpimage.h:84:16: note: declared here
gboolean gimp_image_parasite_attach (gint32 image_ID,
^
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc: In function 'void query()':
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:84:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
};
^
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:84:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:84:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:84:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:84:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:84:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:87:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
};
^
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:87:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:91:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
};
^
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:91:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:91:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:91:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:96:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
};
^
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:96:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:96:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:96:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:96:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:96:3: warning: ISO C++ forbids converting a string constant to 'gchar* {aka char*}' [-Wwrite-strings]
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc: In function 'gint32 load_image(const gchar*, GimpRunMode, GError**)':
/home/gabriele/git/PhotoFlow/src/plugin/pfgimp-load.cc:475:86: error: cannot convert 'GExiv2Metadata* {aka _GExiv2Metadata*}' to 'GimpMetadata* {aka _GimpMetadata*}' for argument '2' to 'gboolean gimp_image_set_metadata(gint32, GimpMetadata*)'
gimp_image_set_metadata( gimpImage, pluginwin->get_image_buffer().exif_buf );
^
src/CMakeFiles/pfgimp.dir/build.make:86: recipe for target 'src/CMakeFiles/pfgimp.dir/plugin/pfgimp.cc.o' failed
make[2]: *** [src/CMakeFiles/pfgimp.dir/plugin/pfgimp.cc.o] Error 1
CMakeFiles/Makefile2:402: recipe for target 'src/CMakeFiles/pfgimp.dir/all' failed
make[1]: *** [src/CMakeFiles/pfgimp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
src/CMakeFiles/pfgimp-load.dir/build.make:86: recipe for target 'src/CMakeFiles/pfgimp-load.dir/plugin/pfgimp-load.cc.o' failed
make[2]: *** [src/CMakeFiles/pfgimp-load.dir/plugin/pfgimp-load.cc.o] Error 1
CMakeFiles/Makefile2:451: recipe for target 'src/CMakeFiles/pfgimp-load.dir/all' failed
make[1]: *** [src/CMakeFiles/pfgimp-load.dir/all] Error 2
[ 99%] Built target pfbatch
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
@dafrasaga I guess you are trying to compile the master got branch… could you try the stable branch instead?
The easiest is to delete everything and the do
git checkout -b stable ...
where the three dots are the web address of the got repository.
Meanwhile I will try to fix the master branch.
Thanks! And sorry for answering late, I’m recovering from some stupid sickness…[quote=“Carmelo_DrRaw, post:4, topic:3686, full:true”]
I guess you are trying to compile the master got branch… could you try the stable branch instead?
The easiest is to delete everything and the do
git checkout -b stable ...
where the three dots are the web address of the got repository.
Meanwhile I will try to fix the master branch.
Thanks! And sorry for answering late, I’m recovering from some stupid sickness…
[/quote]
Hi! The problem with the font size comes most likely from the KDE environment… maybe @TooWaBoo has some ideas of how to define a default font size in a GTK2 .gtkrc UI theme file?
Also, can you send me the console messages of the photoflow version you installed under /usr? I’m really surprised that the icons are not found…
Concerning the AppImage, it looks like the libpango library on your system is not compatible… I’ll try to produce a new AppImage version for you to check.
Actually, I should make the second one equal to the first one if not explicitly given…
Could you also try this new AppImage and send me again the output if it still doesn’t work? The strange thing is that the pangocairo library should be taken from the appimage itself, while in your case the system-wide version gets linked…