![](https://secure.gravatar.com/avatar/2e8e84fee7efe5ef62dfd57f596e7599.jpg?s=120&d=mm&r=g)
I got some compile errors with rev. 20082 on XP:
problem compiling: In file included from src/file.cpp:52: src/ui/dialog/ocaldialogs.h:153: error: 'FileType' was not declared in this scope src/ui/dialog/ocaldialogs.h:153: error: template argument 1 is invalid src/ui/dialog/ocaldialogs.h:153: error: template argument 2 is invalid src/ui/dialog/ocaldialogs.h:247: error: 'SVGPreview' has not been declared src/ui/dialog/ocaldialogs.h:260: error: ISO C++ forbids declaration of 'SVGPreview' with no type src/ui/dialog/ocaldialogs.h:260: error: expected ';' before '*' token src/ui/dialog/ocaldialogs.h: In constructor 'Inkscape::UI::Dialog::FileListViewText::FileListViewText(guint, int&, Gtk::Label&, Gtk::Button&)': src/ui/dialog/ocaldialogs.h:250: error: 'myPreview' was not declared in this scope src/ui/dialog/ocaldialogs.h: At global scope: src/ui/dialog/ocaldialogs.h:310: error: ISO C++ forbids declaration of 'SVGPreview' with no type src/ui/dialog/ocaldialogs.h:310: error: expected ';' before '*' token
cc : compile of build/obj/main.o required by included: src/extension/internal/win32.h
problem compiling: src/ui/dialog/filedialog.cpp: In member function 'void Inkscape::UI::Dialog::FileSaveDialog::appendExtension(Glib::ustring&, Inkscape::Extension::Output*)': src/ui/dialog/filedialog.cpp:147: error: invalid use of incomplete type 'struct Inkscape::Extension::Output' src/ui/dialog/filedialog.h:27: error: forward declaration of 'struct Inkscape::Extension::Output' src/ui/dialog/filedialog.cpp:156: error: invalid use of incomplete type 'struct Inkscape::Extension::Output' src/ui/dialog/filedialog.h:27: error: forward declaration of 'struct Inkscape::Extension::Output' src/ui/dialog/filedialog.cpp: In static member function 'static Inkscape::UI::Dialog::FileExportDialog* Inkscape::UI::Dialog::FileExportDialog::create(Gtk::Window&, const Glib::ustring&, Ink scape::UI::Dialog::FileDialogType, const char*, const Glib::ustring&)': src/ui/dialog/filedialog.cpp:177: error: expected type-specifier before 'FileExportDialogImpl' src/ui/dialog/filedialog.cpp:177: error: cannot convert 'int*' to 'Inkscape::UI::Dialog::FileExportDialog*' in initialization src/ui/dialog/filedialog.cpp:177: error: expected ',' or ';' before 'FileExportDialogImpl' src/ui/dialog/filedialog.cpp: At global scope: src/ui/dialog/filedialog.cpp:175: warning: unused parameter 'parentWindow' src/ui/dialog/filedialog.cpp:175: warning: unused parameter 'path' src/ui/dialog/filedialog.cpp:175: warning: unused parameter 'fileTypes' src/ui/dialog/filedialog.cpp:175: warning: unused parameter 'title' src/ui/dialog/filedialog.cpp:175: warning: unused parameter 'default_key'
cc : compile of build/obj/ui/dialog/filedialogimpl-gtkmm.o required by source: src/ui/dialog/filedialogimpl-gtkmm.cpp
problem compiling: In file included from src/ui/dialog/ocaldialogs.cpp:22: src/ui/dialog/ocaldialogs.h:94: error: 'FileDialogType' does not name a type src/ui/dialog/ocaldialogs.h:119: error: 'FileDialogType' has not been declared src/ui/dialog/ocaldialogs.h:153: error: 'FileType' was not declared in this scope src/ui/dialog/ocaldialogs.h:153: error: template argument 1 is invalid src/ui/dialog/ocaldialogs.h:153: error: template argument 2 is invalid src/ui/dialog/ocaldialogs.h:247: error: 'SVGPreview' has not been declared src/ui/dialog/ocaldialogs.h:260: error: ISO C++ forbids declaration of 'SVGPreview' with no type src/ui/dialog/ocaldialogs.h:260: error: expected ';' before '*' token src/ui/dialog/ocaldialogs.h: In constructor 'Inkscape::UI::Dialog::FileListViewText::FileListViewText(guint, int&, Gtk::Label&, Gtk::Button&)': src/ui/dialog/ocaldialogs.h:250: error: 'myPreview' was not declared in this scope src/ui/dialog/ocaldialogs.h: At global scope: src/ui/dialog/ocaldialogs.h:279: error: 'FileDialogType' has not been declared src/ui/dialog/ocaldialogs.h:310: error: ISO C++ forbids declaration of 'SVGPreview' with no type src/ui/dialog/ocaldialogs.h:310: error: expected ';' before '*' token src/ui/dialog/ocaldialogs.cpp:61: error: 'FileDialogType' has not been declared src/ui/dialog/ocaldialogs.cpp: In constructor 'Inkscape::UI::Dialog::FileExportToOCALDialog::FileExportToOCALDialog(Gtk::W indow&, int, const Glib::ustring&)': src/ui/dialog/ocaldialogs.cpp:75: error: 'dialogType' was not declared in this scope src/ui/dialog/ocaldialogs.cpp:91: error: 'findEntryWidgets' was not declared in this scope src/ui/dialog/ocaldialogs.cpp: In member function 'virtual void Inkscape::UI::Dialog::FileListViewText::on_cursor_changed()': src/ui/dialog/ocaldialogs.cpp:363: warning: label 'fail' defined but not used src/ui/dialog/ocaldialogs.cpp:365: warning: label 'failquit' defined but not used src/ui/dialog/ocaldialogs.cpp: At global scope: src/ui/dialog/ocaldialogs.cpp:537: error: 'FileDialogType' has not been declared src/ui/dialog/ocaldialogs.cpp: In constructor 'Inkscape::UI::Dialog::FileImportFromOCALDialog::FileImportFromOCALDialog(Gt k::Window&, const Glib::ustring&, int, const Glib::ustring&)': src/ui/dialog/ocaldialogs.cpp:546: error: 'dialogType' was not declared in this scope src/ui/dialog/ocaldialogs.cpp:564: error: 'filesPreview' was not declared in this scope src/ui/dialog/ocaldialogs.cpp:564: error: expected type-specifier before 'SVGPreview' src/ui/dialog/ocaldialogs.cpp:564: error: expected `;' before 'SVGPreview' src/ui/dialog/ocaldialogs.cpp:594: error: 'findEntryWidgets' was not declared in this scope
Preben
-----Original Message----- From: Krzysztof Kosiński [mailto:tweenk.pl@...400...] Sent: 28 October, 2008 18:37 To: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] [PATCH] Fedora MinGW cross-compiling patch, version 2
Everything fixed in revision 20079. I hope I didn't break anything (though I verified that the build is not broken for me). Pull the current version from SVN and check whether it works out of the box.
Regards, Krzysztof Kosiński
View this message in context: http://www.nabble.com/-PATCH--Fedora-MinGW- cross-compiling-patch%2C-version-2-tp20192794p20205623.html Sent from the Inkscape - Dev mailing list archive at Nabble.com.
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel