New issue 50 by matt.anon80: xaos won't compile in cygwin on windows 7 64
bit
http://code.google.com/p/gnuxaos/issues/detail?id=50
make[1]: Entering directory `/home/Matt/xaos-3.5/src'
make[2]: Entering directory `/home/Matt/xaos-3.5/src/sffe'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Matt/xaos-3.5/src/sffe'
make[2]: Entering directory `/home/Matt/xaos-3.5/src/filter'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Matt/xaos-3.5/src/filter'
make[2]: Entering directory `/home/Matt/xaos-3.5/src/engine'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Matt/xaos-3.5/src/engine'
make[2]: Entering directory `/home/Matt/xaos-3.5/src/ui-hlp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Matt/xaos-3.5/src/ui-hlp'
make[2]: Entering directory `/home/Matt/xaos-3.5/src/ui'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Matt/xaos-3.5/src/ui'
make[2]: Entering directory `/home/Matt/xaos-3.5/src/util'
gcc -mno-cygwin -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing
-ffast-math -march=k8 -mwindows -I/usr/include -fomit-frame-pointer
-DSFFE_USING -DSFFE_CMPLX_GSL -I/home/Matt/xaos-3.5/src/include -c -o
xstdio.o xstdio.c
In file included from /usr/include/dirent.h:6,
from xstdio.c:6:
/usr/include/sys/dirent.h:24: error: parse error before "__ino64_t"
/usr/include/sys/dirent.h:24: warning: no semicolon at end of struct or
union
/usr/include/sys/dirent.h:29: error: parse error before '}' token
In file included from xstdio.c:8:
/usr/include/stdlib.h:108: warning: `warning' attribute directive ignored
/usr/include/stdlib.h:113: warning: `warning' attribute directive ignored
xstdio.c: In function `xio_getfiles':
xstdio.c:75: error: dereferencing pointer to incomplete type
xstdio.c:76: error: dereferencing pointer to incomplete type
xstdio.c: In function `xio_getrandomexample':
xstdio.c:186: error: dereferencing pointer to incomplete type
xstdio.c:188: error: dereferencing pointer to incomplete type
xstdio.c:224: error: dereferencing pointer to incomplete type
xstdio.c:226: error: dereferencing pointer to incomplete type
xstdio.c:237: error: dereferencing pointer to incomplete type
make[2]: *** [xstdio.o] Error 1
make[2]: Leaving directory `/home/Matt/xaos-3.5/src/util'
make[2]: Entering directory `/home/Matt/xaos-3.5/src/ui/ui-drv/win32'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Matt/xaos-3.5/src/ui/ui-drv/win32'
gcc -mno-cygwin -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing
-ffast-math -march=k8 -mwindows -I/usr/include -fomit-frame-pointer
-DSFFE_USING -DSFFE_CMPLX_GSL -I/home/Matt/xaos-3.5/src/include -o
/home/Matt/xaos-3.5/bin/xaos ui/ui-drv/win32/ui_win32.o lib/libuiwin32.a
ui/ui-drv/win32/xaos.res lib/libui.a lib/libui-hlp.a lib/libengine.a
lib/libutil.a lib/libfilter.a lib/libsffe.a -lpng -lz -lm -lgdi32
-lmsvcrt -luser32 -lversion -lmingwex -L/usr/lib -lgsl -lgslcblas -lm
gcc: lib/libutil.a: No such file or directory
make[1]: *** [/home/Matt/xaos-3.5/bin/xaos] Error 1
make[1]: Leaving directory `/home/Matt/xaos-3.5/src'
make: *** [default] Error 2
I'm moving away from Cygwin as a build environment. Their support for
building native Windows binaries is deprecated and it's always been kind
kludgy to get it working correctly.
I am working on rewriting the UI components in Qt. It's actually pretty
far along. Using Qt simplifies cross platform development a lot. To build
the Qt version, you need to download the latest Qt SDK from qt.nokia.com.
Once you've installed it, check out the latest Xaos trunk code from
subversion. Start Qt creator and open XaoS.pro in the root directory of
the XaoS sources. Once it loads, click the run icon. XaoS will build and
start. No configuration, no fuss. Works on Linux, Windows and Mac. Simple!
I plan to release 3.6 as the first version of XaoS based on Qt. Before I
can release a final build, I need to finish some things including
implementing thread support, internationalization, and image saving using
the Qt libraries. There are also a few more bugs I want to fix before I
release 3.6.
If you really want to build the native Win32 version instead of Qt, I'd
recommend using MinGW to compile it under Windows. There is a nice
installer available here:
http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/tdm-gcc-4.5.0.exe/download.
You'll
also need MSYS to run the configure script, available here:
http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/msys-1.0.11/MSYS-1.0.11.exe/download.
Install TDM's MinGW first, then MSYS and when MSYS prompts you, give it the
location where you installed TDM's MinGW. I've tested on this
configuration and it works for the current trunk in subversion.
And PS, I'm using 64-bit Windows 7 too.
One more option: Install Microsoft Visual C++ Express Edition from here:
http://www.microsoft.com/express/Downloads/#2010-Visual-CPP. Then checkout
the latest XaoS trunk from subversion and open
src\ui\ui-drv\win32\msvc\XaoS.sln in the Visual C++ IDE.
You can't distribute binaries compiled by Visual C++ because linking XaoS
with the redistributable C runtime required by Visual Studio violates the
GPL. Also Visual C++ doesn't support long double, so zooms won't go as
deep.
However, if you want to use a graphical IDE/debugger and want to compile
the Win32 UI instead of the Qt one, it's another option.
Comment #4 on issue 50 by jb.langs...@gmail.com: xaos won't compile in
cygwin on windows 7 64 bit
http://code.google.com/p/gnuxaos/issues/detail?id=50
(No comment was entered for this change.)