Ralf Stephan wrote:
- src/file.cpp, src/inkscape.cpp, src/ui/dialog/dialog.cpp, src/ui/dialog/dialog.h, src/application/application.h, src/application/application.cpp: divide code /wrt Application::getNewGui(): if true, it's called by the Gtkmm application and the inkscape object is meaningless
My first problem compiling on win32. Aaron Spike
mingw32-g++ -O3 -Wall -mms-bitfields -DVERSION="0.42+devel" -DXP_WIN -D_INTL_ REDIRECT_INLINE -DHAVE_CONFIG_H -I. -I.. -I../.. -DGLIBMM_DLL -Ic:/gtk28/include /glibmm-2.4 -Ic:/gtk28/lib/glibmm-2.4/include -Ic:/gtk28/include/gtkmm-2.4 -Ic: /gtk28/lib/gtkmm-2.4/include -Ic:/gtk28/include/gdkmm-2.4 -Ic:/gtk28/lib/gdkmm- 2.4/include -Ic:/gtk28/include/pangomm-1.4 -Ic:/gtk28/include/atkmm-1.6 -Ic:/gtk 28/include/cairo -Ic:/gtk28/include/sigc++-2.0 -Ic:/gtk28/lib/sigc++-2.0/include -Ic:/gtk28/include/gtk-2.0 -Ic:/gtk28/lib/gtk-2.0/include -Ic:/gtk28/include/at k-1.0 -Ic:/gtk28/include/pango-1.0 -Ic:/gtk28/include/glib-2.0 -Ic:/gtk28/lib/gl ib-2.0/include -Ic:/gtk28/include -Wno-comment -Ic:/gtk28/perl/lib/CORE -Ic:/gtk 28/python/include -Ic:/gtk28/include/loudmouth-1.0 -Ic:/gtk28/include/libxml2 -I c:/gtk28/include/freetype2 -Ialgorithms -Iapplication -Idebug -Idialogs -Idispl ay -Idom -Idom/js/fdlibm -Idom/js -Idom -Iextension -Iextension/implementation - Iextension -Iextension/internal -Iextension -Iextension/script -Iextension -Ihel per -Iinkjar -Iio -Ilibavoid -Ilibcroco -Ilibnr -Ilibnrtype -Ilivarot -Isvg -Itr ace -Itrace/potrace -Itrace -Itraits -Iui/dialog -Iui -Iui/view -Iui/widget -Iut il -Iwidgets -Ixml/ -c -o application/application.o application/application.cpp application/application.cpp:21:25: preferences.h: No such file or directory application/application.cpp: In constructor `Inkscape::NSApplication::Applicatio n::Application(int, char**, bool, bool)': application/application.cpp:49: error: `Inkscape::Preferences' has not been decl ared application/application.cpp:49: error: `loadSkeleton' undeclared (first use this function) application/application.cpp:49: error: (Each undeclared identifier is reported o nly once for each function it appears in.) application/application.cpp: In member function `gint Inkscape::NSApplication::A pplication::run()': application/application.cpp:113: error: `Inkscape::Preferences' has not been dec lared application/application.cpp:113: error: `load' undeclared (first use this functi on) application/application.cpp: In static member function `static void Inkscape::NS Application::Application::exit()': application/application.cpp:133: error: `Inkscape::Preferences' has not been dec lared application/application.cpp:133: error: `save' undeclared (first use this functi on) make[1]: *** [application/application.o] Error 1 make[1]: Leaving directory `C:/src/inkscape/src' make: *** [all] Error 2