I get the direct3d module compiled. To make it compile I move the header
d3dx9.h to the file where it's needed,
files that compile with g++. So I make the following changes:

in direct3d/evas_engine.h
comment the //#include <d3dx9.h>

in evas_direct3d_object_image.h and evas_direct3d_shader_pack.cpp
add the #include <d3dx9.h>

in the attach file is the patch.
I think that using ifdef __cplusplus to include the d3dx9 will work too.


Now it compile, but... there is a "but", a little sample that works with
ddraw blow up.
I get the following error:

Program received signal SIGSEGV, Segmentation fault.
0x68214c3e in evas_object_render_pre_effect_updates () from
c:\msys\1.0\local\bin\libevas-0.dll

and here is the backtrace
#0  0x68214a4f in evas_object_render_pre_effect_updates () from
c:\msys\1.0\local\bin\libevas-0.dll
#1  0x6821c7bf in evas_object_rectangle_render_pre () from
c:\msys\1.0\local\bin\libevas-0.dll
#2  0x6821c5d0 in evas_object_rectangle_render_pre () from
c:\msys\1.0\local\bin\libevas-0.dll
#3  0x6823b95d in evas_render_updates_internal () from
c:\msys\1.0\local\bin\libevas-0.dll
#4  0x6823c483 in evas_render_updates () from
c:\msys\1.0\local\bin\libevas-0.dll
#5  0x6bbc5ecc in _ecore_evas_win32_render (ee=0x3ec988) at
ecore_evas_win32.c:98
#6  0x6bbc5f6f in _ecore_evas_win32_idle_enter (data=0x0) at
ecore_evas_win32.c:123
#7  0x7100321f in _ecore_idle_enterer_call () at ecore_idle_enterer.c:101
#8  0x71006024 in _ecore_main_loop_iterate_internal (once_only=2293504) at
ecore_main.c:653
#9  0x71006267 in ecore_main_loop_begin () at ecore_main.c:88
#10 0x0040153c in main () at testedje.c:66


On Sun, Jan 25, 2009 at 9:53 PM, Vincent Torri <vto...@univ-evry.fr> wrote:

>
>
> On Sun, 25 Jan 2009, Roberto Huelga wrote:
>
>  Finally,after a lot of tries  I get a little edje sample working with the
>> software_ddraw engine, so I'm happy
>>
>
> note that you can even be happier by trying to compile elementary :-) It
> works with the ddraw engine (with 2 problems: the shapes are not supported
> with that engine right now, and the entry, as there are problems with
> keyboard (i don't know why yet)).
>
>  and frustrated, because I couldn't
>> compile the direct3d engine when I run make in evas, I get the following
>> output:
>>
>
> [snip]
>
>  In file included from c:/msys/1.0/local/include/d3dx9.h:47,
>>                from evas_engine.h:7,
>>                from evas_engine.c:1:
>> c:/msys/1.0/local/include/d3dx9math.h:1314: error: redefinition of typedef
>> 'ID3DXMatrixStack'
>>
>
> [snip]
>
>  I'm using the DirectX SDK of November 2008 and last svn update.
>>
>
> these headers are an horror. I already had problems with them before. I'll
> check if I have the problem asap (i have to check if i compiled the d3d
> engine last time i compiled evas).
>
> Vincent
>



-- 
http://marssong.blogspot.com
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to