So finally I could compile completely and run gtk3 branch on Windows!

See pull request needed to do so:
https://github.com/morevnaproject/synfig/pull/12

Cheers!

2014-09-18 13:34 GMT+02:00 Carlos López González <genet...@gmail.com>:

> OK,
> following the solution for that message here:
>
> http://inkscape.13.x6.nabble.com/inkscape-0-91pre2-source-tarball-td4971187.html
>
> I find a new problem:
> ------------------
> workarea.cpp:2737:17: error: no matching function for call to
> 'studio::WorkArea::refresh(GdkEventExpose*)'
>    refresh(&event);
>                  ^
> workarea.cpp:2737:17: note: candidate is:
> In file included from workarea.cpp:37:0:
> workarea.h:545:7: note: bool studio::WorkArea::refresh(const
> Cairo::RefPtr<Cairo::Context>&)
>   bool refresh(const Cairo::RefPtr<Cairo::Context> &cr);
>        ^
> workarea.h:545:7: note:   no known conversion for argument 1 from
> 'GdkEventExpose* {aka _GdkEventExpose*}' to 'const
> Cairo::RefPtr<Cairo::Context>&'
> --------------------
>
> So the question is: doesn't happen this on Linux or Mac?
>
>
> ---------- Forwarded message ----------
> From: Carlos López González <genet...@gmail.com>
> Date: 2014-09-18 13:02 GMT+02:00
> Subject: Re: [Synfig-devl] Gtk 3 Windows build
> To: "synfig-devl@lists.sourceforge.net" <synfig-devl@lists.sourceforge.net
> >
>
>
> Compiling this branch I find this new message:
>
> --------------------------
> In file included
> from /usr/i686-w64-mingw32/sys-root/mingw/include/oleidl.h:7:0,
> from /usr/i686-w64-mingw32/sys-root/mingw/include/ole2.h:38,
> from /usr/i686-w64-mingw32/sys-root/mingw/include/wtypes.h:12,
> from /usr/i686-w64-mingw32/sys-root/mingw/include/winscard.h:10,
> from /usr/i686-w64-mingw32/sys-root/mingw/include/windows.h:97,
> from app.cpp:39:
> /usr/i686-w64-mingw32/sys-root/mingw/include/giomm-2.4/giomm/dbusmessage.h:353:94:
> error: expected ',' or '...' before 'struct'
>    static Glib::RefPtr<Message> create_signal(const Glib::ustring& path,
> const Glib::ustring& interface, const Glib::ustring& signal);
> /usr/i686-w64-mingw32/sys-root/mingw/include/giomm-2.4/giomm/dbusmessage.h:364:126:
> error: expected ',' or '...' before 'struct'
>    static Glib::RefPtr<Message> create_method_call(const Glib::ustring&
> name, const Glib::ustring& path, const Glib::ustring& interface, const
> Glib::ustring& method);
>
> ----------------
>
> app.cpp:39 content is:
>
> #include windows.h
>
> WHAT?! O_o
>
> 2014-09-17 9:47 GMT+02:00 Konstantin Dmitriev <ksee.zelga...@gmail.com>:
>
>>
>>
>> 2014-09-09 21:58 GMT+07:00 Konstantin Dmitriev <ksee.zelga...@gmail.com>:
>>
>>> Hello Carlos!
>>>
>>> 2014-09-09 18:54 GMT+07:00 Carlos López González <genet...@gmail.com>:
>>>
>>>> I' started the build procedure from scratch (removed c:/cygwin and
>>>> cleaned c:/synfig-build just leaving cygwin-dist synfig and NSIS folders)
>>>> and then this is what I got:
>>>>
>>>> make[2]: Entering directory
>>>> '/cygdrive/c/synfig-build/mlt/src/modules/gtk2'
>>>> ...
>>>> factory.c:23:21: fatal error: gdk/gdk.h: No such file or directory
>>>>  #include <gdk/gdk.h>
>>>>                      ^
>>>> compilation terminated.
>>>>
>>>> I can't believe that I don't have gdk.h headers(!). Maybe it is because
>>>> it is a 'gtk2' module and not 'gtk3'? But well, I did the easier solution
>>>> that is remove the include directive and surprise! it compiled mlt!
>>>>
>>>
>>> Well, this is because mlt still needs gtk2.
>>> So, please open build and find the following line:
>>>     fedora-mingw-install mingw${ARCH}-gtkmm30
>>> then insert this line above it:
>>>     fedora-mingw-install mingw${ARCH}-gtkmm24
>>>
>>>
>>>
>>>>
>>>> It progressed further in compilation and still getting the same error:
>>>>
>>>> main.cpp: In function 'int main(int, char**)':
>>>> main.cpp:68:15: error: 'locale_from_utf8' is not a member of 'Glib'
>>>>   locale_dir = Glib::locale_from_utf8(locale_dir);
>>>>                ^
>>>>
>>>> Grrr! ^__^
>>>>
>>>> Thoughts?
>>>>
>>>
>>> That's really weird. I guess maybe some header is missing?
>>>
>>
>> The issue is fixed now. Please checkout the latest changes in
>> morevnaproject/gtk3:
>> https://github.com/morevnaproject/synfig/commits/gtk3
>>
>> Good luck!
>> K.
>>
>>
>> ------------------------------------------------------------------------------
>> Want excitement?
>> Manually upgrade your production database.
>> When you want reliability, choose Perforce
>> Perforce version control. Predictably reliable.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Synfig-devl mailing list
>> Synfig-devl@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/synfig-devl
>>
>>
>
>
> --
> Carlos
>
>
>
> --
> Carlos
>



-- 
Carlos
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to