A unique game that explores conflict and cooperation in a gardening community.
Cultivation explores the social interactions within a gardening community. You lead one family of gardeners, starting with a single individual, and wise choices can keep your genetic line from extinction. While breeding plants, eating, and mating, your actions impact your neighbors, and the social balance sways between conflict and compromise.
Cultivation features dynamic graphics that are procedurally-generated using genetic representations and cross-breeding. In other words, game objects are "grown" in real-time instead of being hand-painted or hard-coded. Each plant and gardener in the game is unique in terms of both its appearance and behavior.
License: free
Requirements: OpenGL with the GLUT library installed.
| Sound: | Play in X: | Play in Console: | Multiplayer: | Network Play: | 3D Acceleration: | Source Available: |
|---|---|---|---|---|---|---|
| yes | yes | no | no | no | yes | yes |
Submitted by jcr13 on 2006-10-12.

Anyway, sounds like a great game, and I may just be taking things too seriously this morning.
by the way i dont get it installed. that is sad because it sounds like a good game
Learning Autoconf is on my to-do list, but I'm too busy with other stuff (like writing video games) right now.
It would be great to see a trace of your build attempt so that I can fix the problem. What system are you trying to build on?
Jason
(the dev)
just a friendly suggestion from a fellow developer: learn cmake instead of automake! it's easier to learn and a lot cleaner than automake. it's open source, cross-platform and stable (the kde development team switched from autoconf to cmake for kde4).
http://www.cmake.org/
It gives me a segmentation fault, but works fine when run in gdb. In gdb it runs with >300 fps. Without gdb it should run even faster. Might that be the reason for the segmenatation fault?
Athlon 2500+ ATI 9600XT Debian Sarge kernel 2.6.8
Jason
(the developer)
Core was generated by `./Cultivation'.
Program terminated with signal 11, Segmentation fault.
warning: current_sos: Can't read pathname for load map: Input/output error
Reading symbols from /usr/X11R6/lib/libGL.so.1...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.1
Reading symbols from /usr/lib/libglut.so.3...done.
Loaded symbols for /usr/lib/libglut.so.3
Reading symbols from /usr/X11R6/lib/libGLU.so.1...done.
Loaded symbols for /usr/X11R6/lib/libGLU.so.1
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /usr/lib/libstdc++.so.5...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/modules/dri/fglrx_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/fglrx_dri.so
Reading symbols from /lib/tls/librt.so.1...done.
Loaded symbols for /lib/tls/librt.so.1
#0 0x08055647 in World::getAllGardenerPositions ()
(gdb) bt
#0 0x08055647 in World::getAllGardenerPositions ()
#1 0x08074abe in MusicPlayer::getMoreMusic ()
#2 0x0807666a in SoundPlayer::getSamples ()
#3 0x08076a2f in portaudioCallback ()
#4 0x0807a170 in Pa_CallConvertInt16 (past=0x8336700, nativeInputBuffer=0x0, nativeOutputBuffer=0x8336810) at pa_common/pa_lib.c:645
#5 0x0807af69 in Pa_AudioThreadProc (past=0x8336700) at pa_unix_oss/pa_unix.c:650
#6 0x40266b63 in start_thread () from /lib/tls/libpthread.so.0
#7 0x4042f18a in clone () from /lib/tls/libc.so.6
(gdb)
I think I may have fixed it.
Please try the latest game.cpp file from CVS here:
http://hcsoftware.cvs.sourceforge.net/*checkout*/hcsoftware/tempProjects/game2/gameSource/game.cpp?revision=1.101
Drop this file into the following directory:
Cultivation_4_UnixSource/game2/gameSource/
Then re-build. Please let me know, ASAP, if this fixes the problem on your system. If so, I will post a new release right away.
I'm worried that I'll lose touch with you (Anonymous user) on these boards. Please get in touch by email if you can ( jcr13 AT users DOT sf DOT net ). You seem to be my only hope of fixing this rather critical bug.
Jason
(the dev)
Building Cultivation... g++ -Wall -DLINUX -O9 -I../.. -I../../minorGems/sound/portaudio/pa_common -o Cultivation glCommon.o features.o game.o World.o Plant.o PlantLeaf.o PlantFlower.o Fruit.o Gardener.o GardenerAI2.o FlyingObject.o emotionIcons.o landscape.o SoilMap.o Seeds.o Genetics.o GardenerGenetics.o PlantGenetics.o userInterface/ButtonBase.o userInterface/PlantButton.o userInterface/PlotButton.o userInterface/WaterButton.o userInterface/PoisonButton.o userInterface/HarvestButton.o userInterface/EmotionButton.o userInterface/RestartButton.o userInterface/QuitButton.o userInterface/TextDisplay.o userInterface/ObjectSelector.o userInterface/EatButton.o userInterface/GiftButton.o userInterface/DiscardButton.o userInterface/MateButton.o sound/MusicNoteWaveTable.o sound/MusicPart.o sound/MusicPlayer.o sound/SoundPlayer.o sound/SoundSamples.o ../../minorGems/graphics/openGL/ScreenGL.o ../../minorGems/graphics/openGL/SingleTextureGL.o ../../minorGems/io/linux/TypeIOLinux.o ../../minorGems/util/stringUtils.o ../../minorGems/util/StringBufferOutputStream.o ../../minorGems/io/file/linux/PathLinux.o ../../minorGems/system/unix/TimeUnix.o ../../minorGems/system/linux/ThreadLinux.o ../../minorGems/system/linux/MutexLockLinux.o -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu ../../minorGems/sound/portaudio/lib/libportaudio.a -lpthread /usr/bin/ld: cannot open output file Cultivation: Is a directory collect2: ld returned 1 exit status make: *** [Cultivation] Error 1 cp: omitting directory `game2/gameSource/Cultivation' Run Cultivation to play.
Please help, I updated the main.cpp file (it was the same file - 19/11), but no difference.
There's only two things I'd like to see improved.
and one final error of
However, there must have be something more than warnings that is making the build fail. Some error mixed in there.
Jason
(the dev)
g++ (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
On the now antiquated Ubuntu 5.10
I'd really like to play this game, but I get the following errors:
./runToBuild select platform: 1 -- GNU/Linux 2 -- MacOSX 3 -- Win32 using MinGW q -- quit
> 1 Building portaudio... checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking for ar... /usr/bin/ar checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for pthread_create in -lpthread... yes configure: creating ./config.status config.status: creating Makefile Finished configure.
Type 'make' to build PortAudio and examples. gcc -c -g -O2 -Ipa_common -Ipablio pa_common/pa_convert.c -o pa_common/pa_convert.o gcc -c -g -O2 -Ipa_common -Ipablio pa_common/pa_lib.c -o pa_common/pa_lib.o gcc -c -g -O2 -Ipa_common -Ipablio pablio/pablio.c -o pablio/pablio.o gcc -c -g -O2 -Ipa_common -Ipablio pablio/ringbuffer.c -o pablio/ringbuffer.o gcc -c -g -O2 -Ipa_common -Ipablio pa_unix_oss/pa_unix_oss.c -o pa_unix_oss/pa_unix_oss.o gcc -c -g -O2 -Ipa_common -Ipablio pa_unix_oss/pa_unix.c -o pa_unix_oss/pa_unix.o /usr/bin/ar ruv lib/libportaudio.a pa_common/pa_convert.o pa_common/pa_lib.o pablio/pablio.o pablio/ringbuffer.o pa_unix_oss/pa_unix_oss.o pa_unix_oss/pa_unix.o r - pa_common/pa_convert.o r - pa_common/pa_lib.o r - pablio/pablio.o r - pablio/ringbuffer.o r - pa_unix_oss/pa_unix_oss.o r - pa_unix_oss/pa_unix.o ranlib lib/libportaudio.a gcc -shared -o lib/libportaudio.so.0.0.18 pa_common/pa_convert.o pa_common/pa_lib.o pablio/pablio.o pablio/ringbuffer.o pa_unix_oss/pa_unix_oss.o pa_unix_oss/pa_unix.o
/usr/bin/ld: pa_common/pa_convert.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC pa_common/pa_convert.o: could not read symbols: Bad value collect2: ld returned 1 exit status
make: *** [lib/libportaudio.so.0.0.18] Error 1 Building Cultivation...
g++ -Wall -DLINUX -O9 -I../.. -I../../minorGems/sound/portaudio/pa_common -o Cultivation glCommon.o features.o game.o World.o Plant.o PlantLeaf.o PlantFlower.o Fruit.o Gardener.o GardenerAI2.o FlyingObject.o emotionIcons.o landscape.o SoilMap.o Seeds.o Genetics.o GardenerGenetics.o PlantGenetics.o userInterface/ButtonBase.o userInterface/PlantButton.o userInterface/PlotButton.o userInterface/WaterButton.o userInterface/PoisonButton.o userInterface/HarvestButton.o userInterface/EmotionButton.o userInterface/RestartButton.o userInterface/QuitButton.o userInterface/TextDisplay.o userInterface/ObjectSelector.o userInterface/EatButton.o userInterface/GiftButton.o userInterface/DiscardButton.o userInterface/MateButton.o sound/MusicNoteWaveTable.o sound/MusicPart.o sound/MusicPlayer.o sound/SoundPlayer.o sound/SoundSamples.o ../../minorGems/graphics/openGL/ScreenGL.o ../../minorGems/graphics/openGL/SingleTextureGL.o ../../minorGems/io/linux/TypeIOLinux.o ../../minorGems/util/stringUtils.o ../../minorGems/util/StringBufferOutputStream.o ../../minorGems/io/file/linux/PathLinux.o ../../minorGems/system/unix/TimeUnix.o ../../minorGems/system/linux/ThreadLinux.o ../../minorGems/system/linux/MutexLockLinux.o -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu ../../minorGems/sound/portaudio/lib/libportaudio.a -lpthread
/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.so when searching for -lGLU /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libGLU.a when searching for -lGLU /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 /usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11 /usr/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make: *** [Cultivation] Error 1 cp: cannot stat `game2/gameSource/Cultivation': No such file or directory Run Cultivation to play.
I'm having fun trying to figure it out.
When do I get multiplayer?!
Also, it built easily on my debian/unstable system.
g++ -Wall -DLINUX -O9 -I../.. -I../../minorGems/sound/portaudio/pa_common -o Cultivation glCommon.o features.o game.o World.o Plant.o PlantLeaf.o PlantFlower.o Fruit.o Gardener.o GardenerAI2.o FlyingObject.o emotionIcons.o landscape.o SoilMap.o Seeds.o Genetics.o GardenerGenetics.o PlantGenetics.o userInterface/ButtonBase.o userInterface/PlantButton.o userInterface/PlotButton.o userInterface/WaterButton.o userInterface/PoisonButton.o userInterface/HarvestButton.o userInterface/EmotionButton.o userInterface/RestartButton.o userInterface/QuitButton.o userInterface/TextDisplay.o userInterface/ObjectSelector.o userInterface/EatButton.o userInterface/GiftButton.o userInterface/DiscardButton.o userInterface/MateButton.o sound/MusicNoteWaveTable.o sound/MusicPart.o sound/MusicPlayer.o sound/SoundPlayer.o sound/SoundSamples.o ../../minorGems/graphics/openGL/ScreenGL.o ../../minorGems/graphics/openGL/SingleTextureGL.o ../../minorGems/io/linux/TypeIOLinux.o ../../minorGems/util/stringUtils.o ../../minorGems/util/StringBufferOutputStream.o ../../minorGems/io/file/linux/PathLinux.o ../../minorGems/system/unix/TimeUnix.o ../../minorGems/system/linux/ThreadLinux.o ../../minorGems/system/linux/MutexLockLinux.o -L/usr/X11R6/lib -lGL -lglut -lGLU -lX11 -lXi -lXext -lXmu
../../minorGems/sound/portaudio/lib/libportaudio.a -lpthread
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
make: *** [Cultivation] Error 1
cp: cannot stat `game2/gameSource/Cultivation': No such file or directory
Run Cultivation to play.
I'm running Debian Etch with GCC 4.0.3-1.
Thanks.
Cultivation7
And then the Cultivation directory ends up missing so I can't start the game...it's really sad because it looked real good too. Please help me, I'm still a newbie to Linux