> Compilation of evil worked after Vincents help, then eet worked as
expected
>
> evas I had a few troubles with, notably that mingw had some internal error
I got around by installing the alpha releases
> and I also had to edit src/lib/canvas/evas_object_smart_clipped.c as
suggested here:
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg19076.html
>
> Continuing with my efforts to get this going I have hit another snag.
> Compilation of ecore fails with the attached error, I configured it as
so...
> ./configure --enable-ecore-sdl --disable-ecore-con
--with-iconv-link=-liconv
>
> I understand the problem but am unable to fix it myself at this time(need
more skills) I certainly will be trying tomorrow after some sleep.
>
> Cheers
> Samuel Nicholas
>
> $ make
> cd . && /bin/sh /d/enlightenment/ecore/missing --run autoheader
> rm -f stamp-h1
> touch config.h.in
> cd . && /bin/sh ./config.status config.h
> config.status: creating config.h
> config.status: config.h is unchanged
> make  all-recursive
> make[1]: Entering directory `/d/enlightenment/ecore'
> Making all in src
> make[2]: Entering directory `/d/enlightenment/ecore/src'
> Making all in lib
> make[3]: Entering directory `/d/enlightenment/ecore/src/lib'
> Making all in ecore
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore'
> Making all in ecore_job
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_job'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_job'
> Making all in ecore_txt
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_txt'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_txt'
> Making all in ecore_fb
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_fb'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_fb'
> Making all in ecore_directfb
> make[4]: Entering directory
`/d/enlightenment/ecore/src/lib/ecore_directfb'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_directfb'
> Making all in ecore_con
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_con'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_con'
> Making all in ecore_x
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_x'
> make[5]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_x'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_x'
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_x'
> Making all in ecore_win32
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_win32'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_win32'
> Making all in ecore_wince
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_wince'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_wince'
> Making all in ecore_sdl
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_sdl'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_sdl'
> Making all in ecore_quartz
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_quartz'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_quartz'
> Making all in ecore_ipc
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_ipc'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_ipc'
> Making all in ecore_evas
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_evas'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_evas'
> Making all in ecore_config
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_config'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_config'
> Making all in ecore_file
> make[4]: Entering directory `/d/enlightenment/ecore/src/lib/ecore_file'
> /bin/sh ../../../libtool --tag=CC   --mode=link gcc  -g -O2 -no-undefined
 -version-info 9:9:9 -L/usr/local/lib -o libecore_file.la -rpath
/usr/local/lib ecore_file.lo ecore_file_monitor.lo
ecore_file_monitor_inotify.lo ecore_file_monitor_poll.lo ecore_file_path.lo
ecore_file_download.lo ../../../src/lib/ecore/libecore.la
-LC:/msys/1.0/local/lib -levil -ldl
> rm -fr  .libs/libecore_file.dll.a
> gcc -shared  .libs/ecore_file.o .libs/ecore_file_monitor.o
.libs/ecore_file_monitor_inotify.o .libs/ecore_file_monitor_poll.o
.libs/ecore_file_path.o .libs/ecore_file_download.o  -L/usr/local/lib
../../../src/lib/ecore/.libs/libecore.dll.a -LC:/msys/1.0/local/lib
/usr/local/lib/libevil.dll.a /usr/local/lib/libdl.dll.a  -o
.libs/libecore_file-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib
-Xlinker .libs/libecore_file.dll.a
> Creating library file:
.libs/libecore_file.dll.a.libs/ecore_file_download.o: In function
`ecore_file_download_curl':
> d:\enlightenment\ecore\src\lib\ecore_file/ecore_file_download.c:270:
undefined reference to `ecore_con_url_new'
> d:\enlightenment\ecore\src\lib\ecore_file/ecore_file_download.c:278:
undefined reference to `ecore_con_url_fd_set'
> d:\enlightenment\ecore\src\lib\ecore_file/ecore_file_download.c:279:
undefined reference to `ecore_con_url_data_set'
> d:\enlightenment\ecore\src\lib\ecore_file/ecore_file_download.c:287:
undefined reference to `ecore_con_url_send'
> .libs/ecore_file_download.o: In function `ecore_file_download_abort':
> d:\enlightenment\ecore\src\lib\ecore_file/ecore_file_download.c:297:
undefined reference to `ecore_con_url_destroy
> '
> collect2: ld returned 1 exit status
> make[4]: *** [libecore_file.la] Error 1
> make[4]: Leaving directory `/d/enlightenment/ecore/src/lib/ecore_file'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/d/enlightenment/ecore/src/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/d/enlightenment/ecore/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/d/enlightenment/ecore'
> make: *** [all] Error 2
>

Hi Samuel,
You should try this :

./autogen.sh --enable-ecore-sdl --enable-ecore-win32 --disable-ecore-con
--with-iconv-link=-liconv
(see E wiki : http://wiki.enlightenment.org/index.php/EFL_Windows_XP)

This line should work, but you *MUST* have glew and directX installed and
configured. See wiki for help.
If you don't want directX and ddraw_16 (like me) you can apply the second
path that i attach with this email. This patch is really quick and dirty !
But i works (for me at least)


The first patch is for evas, and fix problem for Glew (gl.h is include
before glew.h). This problem should not appear, but it seems that they are
collisions between compilation parameters in win32 with recent integration
of Quartz backend.

Ths third patch is for edje, and just comment call to  mkstemp in
edje_edit.c. This patch is not a solution, and we should implement this
function in evil i guess ?
But you should be able to compile edje with it, if you run :
./autogen.sh --disable-edje-cc
This is very annoying, as you can't generate edj file !

The fourth patch is for expedite, but i think that this patch is already in
SVN.
Note that I get a segmentation fault with expedite running glew backend.

These patches are really bad and must not be included in SVN except maybe
for evas patch.

Hope This can help you.

PS : Vincent and other people involved in win32 port, we should maybe fix
this problems with better patches than mine :)

--
Nicolas Aguirre
Mail: [EMAIL PROTECTED]
Web: http://www.digital-corner.org
Index: src/lib/canvas/evas_object_smart_clipped.c
===================================================================
--- src/lib/canvas/evas_object_smart_clipped.c	(revision 36179)
+++ src/lib/canvas/evas_object_smart_clipped.c	(working copy)
@@ -1,6 +1,5 @@
-#include <Evas.h>
-#include <stdlib.h>
-#include <stdio.h>
+#include "evas_common.h"
+#include "evas_private.h"
 
 /**
  * @addtogroup Evas_Smart_Object_Group
Index: src/modules/engines/gl_common/evas_gl_common.h
===================================================================
--- src/modules/engines/gl_common/evas_gl_common.h	(revision 36179)
+++ src/modules/engines/gl_common/evas_gl_common.h	(working copy)
@@ -20,6 +20,10 @@
 #include <sys/time.h>
 #include <unistd.h>
 
+#ifdef BUILD_ENGINE_GL_GLEW
+#include <GL/glew.h>
+#endif /* BUILD_ENGINE_GL_GLEW */
+
 #ifdef BUILD_ENGINE_GL_QUARTZ
 #include <OpenGL/gl.h>
 #include <OpenGL/glu.h>
@@ -28,10 +32,6 @@
 #include <GL/glu.h>
 #endif /* BUILD_ENGINE_GL_QUARTZ */
 
-#ifdef BUILD_ENGINE_GL_GLEW
-#include <GL/glew.h>
-#endif /* BUILD_ENGINE_GL_GLEW */
-
 typedef struct _Evas_GL_Context                      Evas_GL_Context;
 typedef struct _Evas_GL_Texture                      Evas_GL_Texture;
 typedef struct _Evas_GL_Image                        Evas_GL_Image;
Index: configure.in
===================================================================
--- configure.in	(revision 36160)
+++ configure.in	(working copy)
@@ -551,28 +551,16 @@
   [Software DirectDraw],
   $have_ecore_win32)
 
-want_ecore_evas_direct3d="yes"
-ECORE_EVAS_CHECK_MODULE([direct3d],
-  [$want_ecore_evas_direct3d],
-  [Direct3d],
-  $have_ecore_win32)
-
 want_ecore_evas_opengl_glew="yes"
 ECORE_EVAS_CHECK_MODULE([opengl-glew],
   [$want_ecore_evas_opengl_glew],
   [Glew OpenGL],
   $have_ecore_win32)
 
-want_ecore_evas_software_16_ddraw="yes"
-ECORE_EVAS_CHECK_MODULE([software-16-ddraw],
-  [$want_ecore_evas_software_16_ddraw],
-  [16 bpp Software DirectDraw],
-  $have_ecore_win32)
-
 if test "x$have_ecore_evas_software_ddraw" = "xyes" -o \
-        "x$have_ecore_evas_direct3d" = "yes" -o \
-        "x$have_ecore_evas_opengl_glew" = "yes" -o \
-        "x$have_ecore_evas_software_16_ddraw" = "yes"; then
+        "x$have_ecore_evas_direct3d" = "xyes" -o \
+        "x$have_ecore_evas_opengl_glew" = "xyes" -o \
+        "x$have_ecore_evas_software_16_ddraw" = "xyes"; then
   AC_DEFINE(BUILD_ECORE_EVAS_WIN32, 1, [Support for Win32 Engine in Ecore_Evas])
   requirements_ecore_evas="$requirements_ecore_evas ecore-win32"
 fi
Index: src/lib/edje_edit.c
===================================================================
--- src/lib/edje_edit.c	(revision 36180)
+++ src/lib/edje_edit.c	(working copy)
@@ -4213,7 +4213,7 @@
    /* Open a temp file */
    //TODO this will not work on windows
    strcpy(tmpn, "/tmp/edje_edit.edc-tmp-XXXXXX");
-   if (!(fd = mkstemp(tmpn))) return;
+   //if (!(fd = mkstemp(tmpn))) return;
    printf("*** tmp file: %s\n", tmpn);
    if (!(f = fopen(tmpn, "w"))) return;
 
Index: src/bin/engine_gl_glew.c
===================================================================
--- src/bin/engine_gl_glew.c	(revision 36180)
+++ src/bin/engine_gl_glew.c	(working copy)
@@ -177,7 +177,7 @@
    int                       depth;
    int                       i;
    int                       ok = 0;
-
+   LONG                      style = 0;
    for (i = 1; i < argc; i++)
      {
         if ((!strcmp(argv[i], "-e")) && (i < (argc - 1)))
@@ -189,7 +189,7 @@
    if (!ok) return 0;
 
    hinstance = GetModuleHandle(NULL);
-   if (!instance) return 0;
+   if (!hinstance) return 0;
 
    wc.style = 0;
    wc.lpfnWndProc = MainWndProc;
@@ -248,9 +248,9 @@
  destroy_window:
    DestroyWindow(window);
  unregister_class:
-   UnregisterClass("Evas_Gl_Glew_Test", instance);
+   UnregisterClass("Evas_Gl_Glew_Test", hinstance);
  free_library:
-   FreeLibrary(instance);
+   FreeLibrary(hinstance);
 
    return 0;
 }
-------------------------------------------------------------------------
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=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to