Error compiling CinePaint 0.25-0 under Slackware64 13.0
Mats Tegner <[email protected]> Sun, 21 Mar 2010 19:18:31 +0100
| Newsgroups | gmane.comp.video.cinepaint.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone,
I'm trying to compile CinePaint from CVS under Slackware Linux x86_64
but I'm running into an error. I have installed SlackBuilds of FLTK and
ftgl and compiled Oyranos and elektra from source.
=================================================================
Configuration Results
GTK CinePaint Version 0.25.0
General dependencies:
Gtk2 toolkit yes 2.18.7
DnD support yes X11/Xmu
littleCMS yes lcms 1.19
Oyranos yes oyranos 0.1.9
Plug-ins with external dependencies:
Python plug-in: no
OpenEXR plug-in: yes OpenEXR 1.6.1
Tiff plug-in: yes
PNG plug-in: yes libpng 1.4.1
Jpeg plug-in: yes
Print plug-in: yes Gutenprint 5.2.4
FLTK dependent plug-ins: yes bracketing_to_hdr collect pdf
Thread dependent plug-ins: yes icc_examin
Flex dependent plug-ins: yes iol
=================================================================
Running make && make install stops when compiling collect plug-in:
Making all in collect
make[2]: Entering directory
`/home/mats/cinepaint-project/cinepaint/plug-ins/col
lect'
g++ -DHAVE_CONFIG_H -I. -I../../lib -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/
include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/
usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/us
r/include/freetype2 -I/usr/include/libpng14
-INONE/include -I/usr/include/gtk-
2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/
usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/u
sr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng14 -I/usr/i
nclude/freetype2 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_THREAD_SAFE
-D_REENTRANT -I../..
-I/usr/local/include -g -O2 -MT collect.o -MD -MP -MF .
deps/collect.Tpo -c -o collect.o collect.cpp
collect.cpp: In function 'void query()':
collect.cpp:104: warning: deprecated conversion from string constant to
'char*'
collect.cpp:104: warning: deprecated conversion from string constant to
'char*'
collect.cpp:104: warning: deprecated conversion from string constant to
'char*'
collect.cpp:104: warning: deprecated conversion from string constant to
'char*'
collect.cpp:108: warning: deprecated conversion from string constant to
'char*'
collect.cpp:108: warning: deprecated conversion from string constant to
'char*'
collect.cpp:122: warning: deprecated conversion from string constant to
'char*'
collect.cpp:122: warning: deprecated conversion from string constant to
'char*'
collect.cpp:122: warning: deprecated conversion from string constant to
'char*'
collect.cpp:122: warning: deprecated conversion from string constant to
'char*'
collect.cpp:122: warning: deprecated conversion from string constant to
'char*'
collect.cpp:122: warning: deprecated conversion from string constant to
'char*'
collect.cpp:122: warning: deprecated conversion from string constant to
'char*'
collect.cpp:122: warning: deprecated conversion from string constant to
'char*'
collect.cpp: In function 'void run(char*, int, GParam*, int*, GParam**)':
collect.cpp:155: warning: deprecated conversion from string constant to
'gchar*'
collect.cpp:194: warning: deprecated conversion from string constant to
'gchar*'
collect.cpp: In function 'int file_load(const char*, int)':
collect.cpp:210: warning: deprecated conversion from string constant to
'char*'
collect.cpp: In function 'int do_collect()':
collect.cpp:304: error: invalid conversion from 'const char*' to 'char*'
collect.cpp:304: error: initializing argument 2 of 'void
gimp_layer_set_name(g
int32, char*)'
collect.cpp:344: error: invalid conversion from 'const char*' to 'char*'
collect.cpp:344: error: initializing argument 2 of 'void
gimp_layer_set_name(g
int32, char*)'
make[2]: *** [collect.o] Error 1
make[2]: Leaving directory
`/home/mats/cinepaint-project/cinepaint/plug-ins/coll
ect'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mats/cinepaint-project/cinepaint/plug-ins'
make: *** [all-recursive] Error 1
bash-4.1#
How do I fix this?
Regards,
Mats Tegner
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev