cannot compile Inkscape rev 15036 on Windows XP

Bug #1609572 reported by Alvin Penner on 2016-08-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
High
Alex Valavanis

Bug Description

attempting to compile, I get the following error messages:
my previous successful compile was rev 15031

--- compile / cc
compile src/ui/dialog/filedialog.cpp
Make error line 313: problem compiling: src/ui/dialog/filedialog.cpp: In static member function 'static Inkscape::UI::Dialog::FileOpenDialog* Inkscape::UI::Dial
og::FileOpenDialog::create(Gtk::Window&, const Glib::ustring&, Inkscape::UI::Dialog::FileDialogType, const char*)':
src/ui/dialog/filedialog.cpp:88:5: error: 'Preferences' is not a member of 'Inkscape'
src/ui/dialog/filedialog.cpp:88:28: error: 'prefs' was not declared in this scope
src/ui/dialog/filedialog.cpp:88:46: error: 'Inkscape::Preferences' has not been declared
src/ui/dialog/filedialog.cpp: In static member function 'static Inkscape::UI::Dialog::FileSaveDialog* Inkscape::UI::Dialog::FileSaveDialog::create(Gtk::Window&,
 const Glib::ustring&, Inkscape::UI::Dialog::FileDialogType, const char*, const Glib::ustring&, const gchar*, Inkscape::Extension::FileSaveMethod)':
src/ui/dialog/filedialog.cpp:123:5: error: 'Preferences' is not a member of 'Inkscape'
src/ui/dialog/filedialog.cpp:123:28: error: 'prefs' was not declared in this scope
src/ui/dialog/filedialog.cpp:123:46: error: 'Inkscape::Preferences' has not been declared

Alex Valavanis (valavanisalex) wrote :

Hi Alvin,

Please can you try r15037? I've just committed a patch... I don't have a Windows build environment to test it properly though.

tags: added: build win32
Changed in inkscape:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Alex Valavanis (valavanisalex)
LucaDC (dicappello) wrote :

I had the same problem under Windows 7 64bit SP1.
Compilation is fine for me now (r15037), both under Windows XP and Windows 7.
I suppose that the #define and the #include aren't specifically for the 32bit platform as their name implies because they fixed the problem for both 32 and 64 bit. Does this sound right?

Alex Valavanis (valavanisalex) wrote :

AFAIK, the WIN32 flag is a generic "this is windows" variable so it should be set for both 32- and 64-bit systems. We can follow this up if there are any further issues. :)

Changed in inkscape:
status: In Progress → Fix Released
Alvin Penner (apenner) wrote :

thanks, r15037 compiled normally for me as well, on Windows XP

Also compiled in debian testing. Thanks Alex, welcome GTK3!

El jue, 04-08-2016 a las 12:10 +0000, Alvin Penner escribió:
> thanks, r15037 compiled normally for me as well, on Windows XP
>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers