|
|
|
NavigationPersonal tools |
EFL Windows XP
[edit] IntroductionThis document provides some help to build the EFL on Windows. The current EFL that are ported are evil, eet, evas, ecore, embryo, edje, efreet and ewl. The ports are not complete, nor without bugs (especially ewl). So any help is welcome. Currently, only MSYS/MinGW are used to compile the EFL. Later, documentation about Visual C++ or Eclipse will be added.
[edit] Installation and configuration of MSYS/MinGWMSYS provides a set of tools to make life easier when porting programs or libraries from Unix to Windows. It includes a terminal, a shell (bash) and the autotools. Contrary to Cygwin, MSYS builds native Win32 applications or libraries. MinGW provides mainly gcc. MSYS can be downloaded on Sourceforge, but the links will be given below. You will need a file archiver. I like 7-zip. [edit] Installation
Now you should have a cyan "M" link on the Desktop. When you double-click on it, a terminal should be launched. The autotools that are installed by MSYS DTK do not work well and can't build DLL. Newer versions of autoconf, automake and libtool are needed. Like all the programs that will be installed, you MUST NOT install them in /usr, nor in /mingw. Install them in /usr/local. The PATH already includes that directory. We will install autoconf 2.61, automake 1.10 and libtool 1.5.24. They are sufficient and are working perfectly.
Now close the terminal and relaunch it. [edit] ConfigurationAs all the libraries will be installed in /usr/local, CPPFLAGS, LDFLAGS and PKG_CONFIG_PATH must be set. Open the file /etc/profile (d:\msys\1.0\etc\profile) with your favorite editor (that is NOT Notepad or any Windows editor. use Emacs or Vi. They exist on Windows) and add: CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" CVS_RSH=ssh for example just before export HOME LOGNAME MSYSTEM HISTFILE and modify that line by adding the four variables: export HOME LOGNAME MSYSTEM HISTFILE CPPFLAGS LDFLAGS PKG_CONFIG_PATH CVS_RSH If you don't want to do development with mingw, you might also want to set CFLAGS. Good options for MinGW are: CFLAGS="-O3 -s -mms-bitfields -march=`uname -m`"
[edit] Build of EvilEvil is a library that tries to implement for Windows some Unix function that do not exist on the evil Microsoft platform. In addition to Windows XP (and maybe below), it tries to support Windows CE platform with the CeGCC framework. There is not dependency. Just download it from svn (trunk/PROTO/evil) and go to the evil subdir. Then, ./autogen.sh make make install You should now have evil libraries and binaries installed in /usr/local. [edit] Build of EetEet needs Evil (only on Windows, of course), zlib and libjpeg. Win32 ports of these two last libraries exist. They must be installed first. A header file will also be needed. For evil, you just need pkg-config. [edit] Dependencies
Note that unlike on Unix like systems, the shared libraries files (the DLL files) are installed in the bin/ sub directory.
[edit] Build EetIt is better to get Eet from svn. Open an MSYS terminal and follow the instructions on that page. Like on Unix : go to the eet/ subdir, then ./autogen.sh make make install You should now have eet installed in /usr/local.
[edit] Build of EvasEvas has some required dependencies, as well as optional dependencies (for loaders and engines). [edit] Dependencies
[edit] Build EvasIt is better to get Evas from svn. Open an MSYS terminal and follow the instructions on that page. Like on Unix : go to the evas/ subdir, then ./autogen.sh --enable-software-ddraw --enable-software-16-ddraw --enable-direct3d --enable-sdl --enable-gl-glew make make install You should now have evas and all its modules installed in /usr/local.
[edit] Build of EcoreThe only dependencies of Ecore for Windows would be Curl and libiconv, but I didn't succeeded in compiling libcurl yet. There are also no dll + static library yet in a single package. That dependency is only optional, though. [edit] Dependencies
[edit] Build EcoreIt is better to get Ecore from svn. Open an MSYS terminal and follow the instructions on that page. Like on Unix : go to the ecore/ subdir, then ./autogen.sh --enable-ecore-sdl --enable-ecore-win32 --disable-ecore-con --with-iconv-link=-liconv make make install You should now have ecore and all its modules installed in /usr/local.
[edit] Build of EmbryoNo dependency for Embryo. Just download it from svn and go to the embryo subdir. Then, ./autogen.sh make make install You should now have embryo library and binaries installed in /usr/local.
[edit] Build of EdjeThe dependencies of Edje are already installed (eet, evas, ecore_job, ecore_evas and embryo). So download it from svn and go to the embryo subdir. Then, ./autogen.sh make make install You should now have edje library and binaries installed in /usr/local.
[edit] Build of Efreetto be continued |