Efficient general purpose tile engine, and a cellular automata machine

Bert Freudenberg bert at freudenbergs.de
Tue Apr 24 08:27:01 EDT 2007


On Apr 24, 2007, at 13:04 , Don Hopkins wrote:

> http://www.DonHopkins.com/home/cam.tgz
>
> The way to build and run it is:
>
> Untar the "cam" directory into your "sugar-jhbuild/source" directory.
> Go into the directory "sugar-jhbuild/source/cam".
> Edit the file autogen-sugar.sh to contain the absolute path to your  
> sugar-jhbuild directory.
> Run the script "./autogen-sugar.sh" to configure the project.
> Build and install the project with "make install".

Fails because it depends on SWIG. Maybe you should include the  
generated glue code?

After installing swig I get this error:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/home/bert/sugar-jhbuild/ 
build/include/python2.5 -I/home/bert/sugar-jhbuild/build/include/ 
python2.5 -I/home/bert/sugar-jhbuild/build/include/gtk-2.0 -I/home/ 
bert/sugar-jhbuild/build/lib/gtk-2.0/include -I/home/bert/sugar- 
jhbuild/build/include/atk-1.0 -I/home/bert/sugar-jhbuild/build/ 
include/cairo -I/home/bert/sugar-jhbuild/build/include/pango-1.0 -I/ 
home/bert/sugar-jhbuild/build/include/glib-2.0 -I/home/bert/sugar- 
jhbuild/build/lib/glib-2.0/include -I/home/bert/sugar-jhbuild/build/ 
include/pygtk-2.0 -I/home/bert/sugar-jhbuild/build/include/pycairo -g  
-O2 -MT _cam_la-cam_wrap.lo -MD -MP -MF .deps/_cam_la-cam_wrap.Tpo -c  
cam_wrap.cpp  -fPIC -DPIC -o .libs/_cam_la-cam_wrap.o
cam_wrap.cpp: In function 'int SWIG_Python_ConvertFunctionPtr 
(PyObject*, void**, swig_type_info*)':
cam_wrap.cpp:2000: error: invalid conversion from 'const char*' to  
'char*'
cam_wrap.cpp: In function 'void SWIG_Python_FixMethods(PyMethodDef*,  
swig_const_info*, swig_type_info**, swig_type_info**)':
cam_wrap.cpp:12413: error: invalid conversion from 'const char*' to  
'char*'
make[1]: *** [_cam_la-cam_wrap.lo] Error 1


- Bert -





More information about the Devel mailing list