I am not aware of the differences between 3.3.4 and 4.1.2, so I do not know whether my
changes affected compilation on your machine, sorry.
Kind regards,
Johan
-----Original Message-----
From: inkscape-devel-bounces(a)lists.sourceforge.net
[mailto:inkscape-devel-bounces@lists.sourceforge.net] On
Behalf Of E.J. Neafsey
Sent: vrijdag 14 september 2007 15:04
To: inkscape-devel(a)lists.sourceforge.net
Subject: Re: [Inkscape-devel] compile of nodepath in latest
inkscape development version fails with gcc-3.3.4
I see two posts that successfully compiled recent versions of
inkscape.
I would like to know what version of gcc they used, since my
gcc-3.3.4 worked for 0.45.1 but did not succeed with
inkscape-16051 the other day.
nodepath.cpp has changed a lot, and I worry that it uses
features not supported in gcc-3.3.4.
Thanks.
E.J. Neafsey
J.B.C.Engelen@...1578... wrote:
> Do more people see this problem?
> I can compile nodepath.cpp fine.
>
> Johan
>
>
>> -----Original Message-----
>> From: inkscape-devel-bounces(a)lists.sourceforge.net
>> [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of
>> E.J. Neafsey
>> Sent: woensdag 12 september 2007 16:15
>> To: inkscape-devel(a)lists.sourceforge.net
>> Subject: [Inkscape-devel] compile of nodepath in latest inkscape
>> development version fails with gcc-3.3.4
>>
>> I have successfully compiled inkscape 0.45.1 on my linux machine
>> using gcc-3.3.4.
>>
>> When I tried to compile inkscape-16051 today, it failed while
>> compiling nodepath, giving the error messages below. Can this be
>> fixed?
>>
>> Thanks.
>>
>> E.J. Neafsey
>> eneafse@...1805...
>> ==============================================================
>> ===========
>> make all-recursive
>> if g++ -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/freetype2
>> -I/usr/local/include -DORBIT2=1 -pthread
>> -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
>> -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
>> -I/usr/local/include/glib-2.0
>> -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include
>> -I/usr/include/freetype2 -DXTHREADS -I/usr/include/freetype2
>> -I/usr/local/include/libpng12
-I/usr/local/include/gtk-unix-print-2.0
>> -I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0
>> -I/usr/local/include/cairo -I/usr/local/lib/gtk-2.0/include
>> -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
>> -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include
>> -I/usr/local/include/poppler -DXTHREADS -I/usr/include/freetype2
>> -I/usr/local/include/libpng12
>> -I/usr/local/include/poppler/glib
>> -I/usr/local/include/poppler -I/usr/local/include/gtk-2.0
>> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairo
>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>> -I/usr/local/include/pango-1.0 -I/usr/X11R6/include
>> -DPOTRACE=\"potrace\" -pthread -DXTHREADS
>> -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
>> -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
>> -I/usr/include/pangomm-1.4 -I/usr/include/sigc++-2.0
>> -I/usr/lib/sigc++-2.0/include
>> -I/usr/include/freetype2 -I/usr/local/include/libpng12
>> -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include
>> -I/usr/include/atkmm-1.6 -I/usr/local/include/gtk-2.0
>> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairomm-1.0
>> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>> -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo
>> -I/usr/local/include/atk-1.0 -I/usr/local/include/libxml2
>> -I/usr/local/include -I/usr/X11R6/include -I../cxxtest -Wall
>> -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare
>> -Woverloaded-virtual -Wswitch
>> -D_FORTIFY_SOURCE=2 -Wno-unused-parameter -g -O2 -MT
nodepath.o -MD
>> -MP -MF ".deps/nodepath.Tpo" \
>> -c -o nodepath.o `test -f 'nodepath.cpp' || echo
>> './'`nodepath.cpp; \
>> then mv -f ".deps/nodepath.Tpo" ".deps/nodepath.Po"; \
>> else rm -f ".deps/nodepath.Tpo"; exit 1; \
>> fi
>> In file included from live_effects/effect.h:16,
>> from live_effects/lpeobject.h:13,
>> from nodepath.cpp:50:
>> 2geom/path.h:72: warning: `virtual Geom::Curve*
>> Geom::Curve::reverse() const'
>> was hidden
>> 2geom/path.h:310: warning: by `Geom::Curve*
>> Geom::SVGEllipticalArc::reverse(double, double) const'
>> 2geom/path.h: In member function `
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>
>> Geom::Path::begin()':
>> 2geom/path.h:373: error:
>> `Geom::BaseIterator<IteratorImpl>::BaseIterator(const
>> IteratorImpl&) [with IteratorImpl =
>> __gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*,
>> std::allocator<Geom::Curve*> > >]' is private
>> 2geom/path.h:469: error: within this context
>> 2geom/path.h: In member function `
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>
>> Geom::Path::end()':
>> 2geom/path.h:373: error:
>> `Geom::BaseIterator<IteratorImpl>::BaseIterator(const
>> IteratorImpl&) [with IteratorImpl =
>> __gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*,
>> std::allocator<Geom::Curve*> > >]' is private
>> 2geom/path.h:470: error: within this context
>> 2geom/path.h: In member function `
>>
>>
Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>
>> Geom::Path::begin() const':
>> 2geom/path.h:373: error:
>> `Geom::BaseIterator<IteratorImpl>::BaseIterator(const
>> IteratorImpl&) [with IteratorImpl =
>> __gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*,
>> std::allocator<Geom::Curve*> > >]' is private
>> 2geom/path.h:475: error: within this context
>> 2geom/path.h: In member function `
>>
>>
Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>
>> Geom::Path::end() const':
>> 2geom/path.h:373: error:
>> `Geom::BaseIterator<IteratorImpl>::BaseIterator(const
>> IteratorImpl&) [with IteratorImpl =
>> __gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*,
>> std::allocator<Geom::Curve*> > >]' is private
>> 2geom/path.h:476: error: within this context
>> 2geom/path.h: In member function `
>>
>>
Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>
>> Geom::Path::end_open() const':
>> 2geom/path.h:373: error:
>> `Geom::BaseIterator<IteratorImpl>::BaseIterator(const
>> IteratorImpl&) [with IteratorImpl =
>> __gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*,
>> std::allocator<Geom::Curve*> > >]' is private
>> 2geom/path.h:478: error: within this context
>> 2geom/path.h: In member function `
>>
>>
Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>
>> Geom::Path::end_closed() const':
>> 2geom/path.h:373: error:
>> `Geom::BaseIterator<IteratorImpl>::BaseIterator(const
>> IteratorImpl&) [with IteratorImpl =
>> __gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*,
>> std::allocator<Geom::Curve*> > >]' is private
>> 2geom/path.h:479: error: within this context
>> 2geom/path.h: In member function `void
>>
>> Geom::Path::insert(Geom::BaseIterator<__gnu_cxx::__normal_iter
> ator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> , const
>> Geom::Curve&)':
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:565: error: within this context
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:565: error: within this context
>> 2geom/path.h: In member function `void
>>
>> Geom::Path::erase(Geom::BaseIterator<__gnu_cxx::__normal_itera
> tor<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>)':
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:591: error: within this context
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:591: error: within this context
>> 2geom/path.h: In member function `void
>>
>> Geom::Path::erase(Geom::BaseIterator<__gnu_cxx::__normal_itera
> tor<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>,
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>)':
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:595: error: within this context
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:595: error: within this context
>> 2geom/path.h: In member function `void
>>
>> Geom::Path::replace(Geom::BaseIterator<__gnu_cxx::__normal_ite
> rator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> , const
>> Geom::Curve&)':
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:601: error: within this context
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:601: error: within this context
>> 2geom/path.h: In member function `void
>>
>> Geom::Path::replace(Geom::BaseIterator<__gnu_cxx::__normal_ite
> rator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>,
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> , const
>> Geom::Curve&)':
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:613: error: within this context
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:613: error: within this context
>> 2geom/path.h: In member function `void
>>
>> Geom::Path::insert(Geom::BaseIterator<__gnu_cxx::__normal_iter
> ator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>,
>> Geom::BaseIterator<Impl>, Geom::BaseIterator<Impl>)
[with Impl =
>> __gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*,
>> std::allocator<Geom::Curve*> > >]':
>> 2geom/path.h:436: instantiated from here
>> 2geom/path.h:375: error:
>> `__gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>>
>>
Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:576: error: within this context
>> 2geom/path.h:436: instantiated from here
>> 2geom/path.h:375: error:
>> `__gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>>
>>
Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve* const*,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:576: error: within this context
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:578: error: within this context
>> 2geom/path.h:375: error:
`__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> > >
>> Geom::BaseIterator<__gnu_cxx::__normal_iterator<Geom::Curve**,
>> std::vector<Geom::Curve*, std::allocator<Geom::Curve*> >
>>>> ::impl_' is
>> private
>> 2geom/path.h:578: error: within this context
>> make[2]: *** [nodepath.o] Error 1
>> make[2]: Leaving directory
>> `/usr/local/src/inkscape/inkscape-16051/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/usr/local/src/inkscape/inkscape-16051'
>> make: *** [all] Error 2
>> ==============================================================
>> ================
>>
>> --------------------------------------------------------------
>> -----------
>> This
SF.net email is sponsored by: Microsoft Defy all challenges.
>> Microsoft(R) Visual Studio 2005.
>>
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Inkscape-devel mailing list
>> Inkscape-devel(a)lists.sourceforge.net
>>
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>>
>
--
E.J. Neafsey, Ph.D.
eneafse@...1805...
--------------------------------------------------------------
-----------
This
SF.net email is sponsored by: Microsoft Defy all
challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel