I'm developing a VST, and I think will be great use EFL for the GUI.

Just svn and following the instructions on the web
http://wiki.enlightenment.org/index.php/EFL_Windows_XP, when compiling evil
I get this error:

---------------------- make output ----------------------
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../..  -DEFL_EVIL_BUILD -D_WIN32_WINNT=0x0500 -I/usr/local/include  -g -O2
-MT libevil_la-evil_pwd.lo -MD -MP -MF .deps/libevil_la-evil_pwd.Tpo -c -o
libevil_la-evil_pwd.lo `test -f 'evil_pwd.c' || echo './'`evil_pwd.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -DEFL_EVIL_BUILD -D_WIN32_WINNT=0x0500
-I/usr/local/include -g -O2 -MT libevil_la-evil_pwd.lo -MD -MP -MF
.deps/libevil_la-evil_pwd.Tpo -c evil_pwd.c  -DDLL_EXPORT -DPIC -o
.libs/libevil_la-evil_pwd.o
In file included from
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:38,
                 from evil_pwd.c:8:
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sspi.h:60: error:
syntax error before "SECURITY_STRING"
In file included from
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/security.h:39,
                 from evil_pwd.c:8:
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:123:
error: syntax error before "SECURITY_STRING"
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:125:
error: syntax error before "LogonServer"
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:127:
error: syntax error before '}' token
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:212:
error: syntax error before "SECPKG_NAME_TYPE"
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:225:
error: syntax error before "SECPKG_NAME_TYPE"
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ntsecpkg.h:342:
error: syntax error before "PSecurityUserData"
make[4]: *** [libevil_la-evil_pwd.lo] Error 1
-------------------------------------------------

I solved it modifying src/lib/evil_pwd.c adding a #include <ntsecapi.h>:

--------- src/lib/evil_pwd.c ---------------
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif /* HAVE_CONFIG_H */

#include <windows.h>
=> #include <ntsecapi.h>
#include <security.h>

#include "Evil.h"
#include "pwd.h"


#ifndef __CEGCC__


static struct passwd pw;
-------------------------------------------------

I hope it will help others.
------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to