Hi,
I'm trying to get inkscape CVS compiling on a pretty much base ubuntu install. I installed packages as needed to get past the autogen and configure. Now the compile always fails with many syntax errors compiling filedialog.
Any idea what I could be missing here?
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include -DPOTRACE="potrace" -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 -MT dialogs/filedialog.o -MD -MP -MF "dialogs/.deps/filedialog.Tpo" \ -c -o dialogs/filedialog.o `test -f 'dialogs/filedialog.cpp' || echo './'`dialogs/filedialog.cpp; \ then mv -f "dialogs/.deps/filedialog.Tpo" "dialogs/.deps/filedialog.Po"; \ else rm -f "dialogs/.deps/filedialog.Tpo"; exit 1; \ fi dialogs/filedialog.cpp:1031: error: syntax error before `;' token dialogs/filedialog.cpp:1037: error: `FileType' was not declared in this scope dialogs/filedialog.cpp:1037: error: template argument 1 is invalid dialogs/filedialog.cpp:1037: error: template argument 2 is invalid dialogs/filedialog.cpp:1037: error: ISO C++ forbids declaration of `fileTypes' with no type dialogs/filedialog.cpp:1080: error: syntax error before `::' token dialogs/filedialog.cpp:1085: error: `svgPreview' was not declared in this scope dialogs/filedialog.cpp:1085: error: `fileName' was not declared in this scope dialogs/filedialog.cpp:1085: error: `dialogType' was not declared in this scope dialogs/filedialog.cpp:1086: error: `retval' was not declared in this scope dialogs/filedialog.cpp:1086: error: ISO C++ forbids declaration of ` set_preview_widget_active' with no type dialogs/filedialog.cpp:1094: error: syntax error before `::' token dialogs/filedialog.cpp:1099: error: `fileNameEntry' was not declared in this scope dialogs/filedialog.cpp:1100: error: parse error before `if' dialogs/filedialog.cpp:1109: error: syntax error before `.' token dialogs/filedialog.cpp:1110: error: syntax error before `.' token dialogs/filedialog.cpp:1111: error: ISO C++ forbids declaration of `fileName' with no type ...
Cheers,
On Sat, 2004-11-13 at 17:14 -0500, Robert Crosbie wrote:
I'm trying to get inkscape CVS compiling on a pretty much base ubuntu install. I installed packages as needed to get past the autogen and configure. Now the compile always fails with many syntax errors compiling filedialog.
Any idea what I could be missing here?
Fixed in CVS. Actually it was a bug in GTKmm, but an easy work around was possible (that is compatible with all versions). Try again!
--Ted
On Sun, 14 Nov 2004 23:30:53 -0700, Ted Gould <ted@...11...> wrote:
On Sat, 2004-11-13 at 17:14 -0500, Robert Crosbie wrote:
I'm trying to get inkscape CVS compiling on a pretty much base ubuntu install. I installed packages as needed to get past the autogen and configure. Now the compile always fails with many syntax errors compiling filedialog.
Any idea what I could be missing here?
Fixed in CVS. Actually it was a bug in GTKmm, but an easy work around was possible (that is compatible with all versions). Try again!
--Ted
I replied to Ted individually by mistake.
Just a note to say that I am now able to compile and run inkscape 4.0 under ubuntu.
I did do some editing with it for a while and it crashed when I was shuffling/dragging objects around using the xml editor, but I wouldn't be able to come up with a repeatable sequence of steps to reproduce it. After restarting and continuing from my last save, I was able to complete the image I was working on without any further crashes.
Cheers,
participants (2)
-
Robert Crosbie
-
Ted Gould