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,