Hi, everyone. I'm still trying to get Soya 3d to work under Windows.
Here's what I've done so far...
I've gathered what I think are the necessary resources:
The latest version of Bloodshed Dev-C++, which is a an IDE for C/C++. It
uses Mingw port of GCC as it's compiler.
I updated all the Bloodshed packages. So I have:
-SDL Package
-Image Libraries Package, which bundles zlib, libpng, libjpeg, libxpm and
libtiff)
- Plus others
I tried to build and compile Soya 0.2.1 from the DOS prompt with:
python setup.py build --compiler=mingw32
while I was in soya 0.2.1 directory. The build process seemed to go well (I
ended up with a new build directory in the soya directory), but the
compilation failed. I've attached a log file of my attempt.
Any help would be great. This engine looks very cool. I'd love to get it
working under Windows.
Thanks,
Bob
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
C:\Soya3D-0.2.1>python setup.py build --compiler=mingw32
Data => c:\python22\Lib\site-packages
running build
running build_py
creating build
creating build\lib.win32-2.2
creating build\lib.win32-2.2\soya
copying cube.py -> build\lib.win32-2.2\soya
copying cursor.py -> build\lib.win32-2.2\soya
copying import_blender.py -> build\lib.win32-2.2\soya
copying land.py -> build\lib.win32-2.2\soya
copying laser.py -> build\lib.win32-2.2\soya
copying math3d.py -> build\lib.win32-2.2\soya
copying model.py -> build\lib.win32-2.2\soya
copying particle.py -> build\lib.win32-2.2\soya
copying ray.py -> build\lib.win32-2.2\soya
copying soya3d.py -> build\lib.win32-2.2\soya
copying sphere.py -> build\lib.win32-2.2\soya
copying widget.py -> build\lib.win32-2.2\soya
copying __init__.py -> build\lib.win32-2.2\soya
creating build\lib.win32-2.2\soya\editor
copying editor\main.py -> build\lib.win32-2.2\soya\editor
copying editor\material.py -> build\lib.win32-2.2\soya\editor
copying editor\world.py -> build\lib.win32-2.2\soya\editor
copying editor\__init__.py -> build\lib.win32-2.2\soya\editor
creating build\lib.win32-2.2\soya\game
copying game\level.py -> build\lib.win32-2.2\soya\game
copying game\__init__.py -> build\lib.win32-2.2\soya\game
running build_ext
building '_soya' extension
creating build\temp.win32-2.2
creating build\temp.win32-2.2\Release
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/atmosphere.c -o build\temp.win32-2.2\Release\atmosphere.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/camera.c -o build\temp.win32-2.2\Release\camera.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/coordsys.c -o build\temp.win32-2.2\Release\coordsys.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/engine.c -o build\temp.win32-2.2\Release\engine.o
c_src/engine.c: In function `P3_set_video':
c_src/engine.c:96: warning: assignment discards qualifiers from pointer
target t
ype
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/frustum.c -o build\temp.win32-2.2\Release\frustum.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/glext.c -o build\temp.win32-2.2\Release\glext.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/image.c -o build\temp.win32-2.2\Release\image.o
c_src/image.c: In function `P3_load_TGA':
c_src/image.c:216: warning: `nb' might be used uninitialized in this
function
c_src/image.c:219: warning: `rpixels' might be used uninitialized in this
functi
on
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/instance.c -o build\temp.win32-2.2\Release\instance.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/light.c -o build\temp.win32-2.2\Release\light.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/material.c -o build\temp.win32-2.2\Release\material.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/math3d.c -o build\temp.win32-2.2\Release\math3d.o
c_src/math3d.c: In function `P3_sphere_from_spheres':
c_src/math3d.c:172: warning: `s1max' might be used uninitialized in this
functio
n
c_src/math3d.c:172: warning: `s2max' might be used uninitialized in this
functio
n
c_src/math3d.c: In function `P3_sphere_from_points':
c_src/math3d.c:212: warning: `p1max' might be used uninitialized in this
functio
n
c_src/math3d.c:212: warning: `p2max' might be used uninitialized in this
functio
n
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/renderer.c -o build\temp.win32-2.2\Release\renderer.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/util.c -o build\temp.win32-2.2\Release\util.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/world.c -o build\temp.win32-2.2\Release\world.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/portal.c -o build\temp.win32-2.2\Release\portal.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/mesh.c -o build\temp.win32-2.2\Release\mesh.o
c_src/mesh.c: In function `P3_model_stat':
c_src/mesh.c:201: warning: `min' might be used uninitialized in this
function
c_src/mesh.c:201: warning: `max' might be used uninitialized in this
function
c_src/mesh.c:203: warning: `fmin' might be used uninitialized in this
function
c_src/mesh.c:203: warning: `fmax' might be used uninitialized in this
function
c_src/mesh.c: In function `P3_model_compute_dimension':
c_src/mesh.c:400: warning: `min_x' might be used uninitialized in this
function
c_src/mesh.c:401: warning: `min_y' might be used uninitialized in this
function
c_src/mesh.c:402: warning: `min_z' might be used uninitialized in this
function
c_src/mesh.c:403: warning: `max_x' might be used uninitialized in this
function
c_src/mesh.c:404: warning: `max_y' might be used uninitialized in this
function
c_src/mesh.c:405: warning: `max_z' might be used uninitialized in this
function
c_src/mesh.c: In function `P3_model_tree_build_level':
c_src/mesh.c:513: warning: unused variable `k'
c_src/mesh.c:521: warning: unused variable `newnodes'
c_src/mesh.c:522: warning: unused variable `list'
c_src/mesh.c:517: warning: `bestindex' might be used uninitialized in this
funct
ion
c_src/mesh.c:518: warning: `bestinde2' might be used uninitialized in this
funct
ion
c_src/mesh.c: In function `P3_model_build_tree':
c_src/mesh.c:646: warning: unused variable `list2'
c_src/mesh.c: In function `P3_mesh_subdivide':
c_src/mesh.c:698: warning: unused variable `l'
c_src/mesh.c:702: warning: unused variable `nb'
c_src/mesh.c:704: warning: unused variable `min'
c_src/mesh.c:707: warning: unused variable `d'
c_src/mesh.c:701: warning: `best' might be used uninitialized in this
function
c_src/mesh.c:701: warning: `bes2' might be used uninitialized in this
function
c_src/mesh.c: In function `P3_mesh_raypick':
c_src/mesh.c:1035: warning: `n' might be used uninitialized in this function
c_src/mesh.c: In function `P3_mesh_raypick_b':
c_src/mesh.c:1101: warning: unused variable `n'
c_src/mesh.c:1105: warning: unused variable `r'
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/mesh_build.c -o build\temp.win32-2.2\Release\mesh_build.o
C:\Dev-Cpp\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DCOMPILE_FOR_PYTHON
-DUSE_SDL
-DSAFE_MODE -DHAVE_LIBPNG -DHAVE_FREETYPE2 -I/usr/include
-I/usr/local/include
-I/usr/X11R6/include -I/usr/X11/include -I/usr/include/freetype2
-Ic:\python22\i
nclude -c ./c_src/text.c -o build\temp.win32-2.2\Release\text.o
c_src/text.c:29:31: freetype/freetype.h: No such file or directory
c_src/text.c: In function `P3_font_texture_from_freetype':
c_src/text.c:887: `FT_Library' undeclared (first use in this function)
c_src/text.c:887: (Each undeclared identifier is reported only once
c_src/text.c:887: for each function it appears in.)
c_src/text.c:887: parse error before "library"
c_src/text.c:888: `FT_Face' undeclared (first use in this function)
c_src/text.c:889: `FT_Bitmap' undeclared (first use in this function)
c_src/text.c:891: warning: implicit declaration of function
`FT_Init_FreeType'
c_src/text.c:891: `library' undeclared (first use in this function)
c_src/text.c:896: warning: implicit declaration of function `FT_New_Face'
c_src/text.c:896: `face' undeclared (first use in this function)
c_src/text.c:900: `FT_FACE_FLAG_SCALABLE' undeclared (first use in this
function
)
c_src/text.c:901: warning: implicit declaration of function
`FT_Set_Pixel_Sizes'
c_src/text.c:911: warning: implicit declaration of function
`FT_Get_Char_Index'
c_src/text.c:912: warning: implicit declaration of function `FT_Load_Glyph'
c_src/text.c:913: `ft_glyph_format_bitmap' undeclared (first use in this
functio
n)
c_src/text.c:914: warning: implicit declaration of function
`FT_Render_Glyph'
c_src/text.c:914: `ft_render_mode_normal' undeclared (first use in this
function
)
c_src/text.c:916: `bitmap' undeclared (first use in this function)
c_src/text.c: In function `P3_font_raster_from_freetype':
c_src/text.c:995: `FT_Library' undeclared (first use in this function)
c_src/text.c:995: parse error before "library"
c_src/text.c:996: `FT_Face' undeclared (first use in this function)
c_src/text.c:997: `FT_Bitmap' undeclared (first use in this function)
c_src/text.c:999: `library' undeclared (first use in this function)
c_src/text.c:1004: `face' undeclared (first use in this function)
c_src/text.c:1008: `FT_FACE_FLAG_SCALABLE' undeclared (first use in this
functio
n)
c_src/text.c:1021: `ft_render_mode_mono' undeclared (first use in this
function)
c_src/text.c:1022: `bitmap' undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
C:\Soya3D-0.2.1>
- [Soya] Porting Soya 3d to Windows? bob smith
- Re: [Soya] Porting Soya 3d to Windows? Sean Lynch
- [Soya] next release? bob smith
- [Soya] next release? Jack Madison
- Re: [Soya] Porting Soya 3d to Windows? Michael Edwards
- Re: [Soya] Porting Soya 3d to Windows? Norman Rodderick
- Re: [Soya] Porting Soya 3d to Windows? simon O
- Re: [Soya] Porting Soya 3d to Windows? Bertrand Lamy
