On Sun, Sep 26, 2010 at 1:11 AM, Vincent Torri <vto...@univ-evry.fr> wrote: > > > On Sat, 25 Sep 2010, Brian Wang wrote: > >> r52593 commit broke this. Some header file definitions cause this >> problem. Please find below the patch (probably not the right fix?) or >> as attached (if it goes through properly): >> ---------------------------- >> Index: src/lib/edje_private.h >> =================================================================== >> --- src/lib/edje_private.h (revision 52735) >> +++ src/lib/edje_private.h (working copy) >> @@ -41,6 +41,19 @@ >> #include <lauxlib.h> >> #include <setjmp.h> >> >> +#ifdef _WIN32 >> +# ifdef EFL_EDJE_BUILD >> +# ifdef DLL_EXPORT >> +# undef EAPI >> +# define EAPI __declspec(dllexport) >> +# else >> +# define EAPI >> +# endif /* ! DLL_EXPORT */ >> +# else >> +# define EAPI __declspec(dllimport) >> +# endif /* ! EFL_EDJE_BUILD */ >> +#endif >> + >> EAPI extern int _edje_default_log_dom ; >> >> #ifdef EDJE_DEFAULT_LOG_COLOR >> > > I put everything in edje_private.h. I don't like that at all, but it was the > fastest way to fix the problem. > > update edje and try again
Nice! It's working again! Now the only part that doesn't compile for cross mingw32 is elementary's edje_externals. I just commented out the target in Makefile. The errors: ---------------------- Creating library file: .libs/module.dll.a .libs/elm.o:elm.c:(.text+0x1d): undefined reference to `__imp__edje_external_type_array_unregister' .libs/elm.o:elm.c:(.text+0x2a): undefined reference to `__imp__eina_log_domain_unregister' .libs/elm.o:elm.c:(.text+0x6e): undefined reference to `__imp__ecore_app_args_get' .libs/elm.o:elm.c:(.text+0x8f): undefined reference to `__imp__eina_log_domain_register' .libs/elm.o:elm.c:(.text+0xa1): undefined reference to `__imp__edje_external_type_array_register' .libs/elm.o:elm.c:(.text+0x106): undefined reference to `__imp__evas_object_smart_parent_get' .libs/elm.o:elm.c:(.text+0x118): undefined reference to `__imp__edje_object_file_get' .libs/elm.o:elm.c:(.text+0x133): undefined reference to `__imp__evas_object_evas_get' .libs/elm.o:elm.c:(.text+0x13c): undefined reference to `__imp__edje_object_add' .............. -------------------- > > Vincent > -- brian ------------------ Cool-Karaoke - The smallest recording studio, in your palm, open-sourced http://cool-idea.com.tw/ iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel