Cultivation Screenshot 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:
yesyesnononoyesyes
Suggest an update

Comments

Damn it, why not use normal build system? Autotools, SCons - there are plenty of them.
Re: Cultivation posted by anonymous on Oct 12 2006 12:21 PM
are you talking about the svn ? the source tar came with configure
Re: Cultivation posted by anonymous on Oct 13 2006 8:22 AM
No, I'm talking about source tar. There IS configure, but that's surely not autotools' configure. It's such a pain to tune it for my system...
Sounds like a really nice game, and I might give it a try... But why conflict or compromise? I really don't think that you have to compromise to avoid conflict, it seems to be a commonly perpetuated way of thinking that to get anywhere in life you have to compromise, I don't agree.... But then it's possible, infact likely that I'm wrong.

Anyway, sounds like a great game, and I may just be taking things too seriously this morning.
why not just ./configure ... make ... ... ??? why you are doing such a strange why to install you game?

by the way i dont get it installed. that is sad because it sounds like a good game

Re: installation posted by anonymous on Oct 12 2006 12:23 PM
the build script just calls configure und make. less runToBuild is your friend.
Re: installation posted by jcr13 on Oct 12 2006 1:41 PM
You're right. Cultivation source ships with a configure and make file, but they are written by me (and not the "standard" autoconf variety). In other words, they don't detect system features, but simply let you pick from a menu of supported system types.

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)
Re: installation posted by anonymous on Oct 13 2006 2:04 AM
>Learning Autoconf is on my to-do list, but I'm too busy with other stuff (like writing video games) right now.

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/

Re: installation posted by anonymous on Oct 13 2006 8:25 AM
I would recommend SCons. While it still lacks `magik' that allows you to build on almost any system without any modifications (like autotools), it's very easy to learn and use, and is incredibly powerful.
Re: installation posted by anonymous on Oct 14 2006 4:16 AM
I would recommend using autoconf. It's by far the easiest solution for users and packagers, and it's not as hard as these whiners always claim.
I like the game.

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

Re: Use GDB to avoid segfault posted by jcr13 on Oct 12 2006 1:38 PM
Could be... I wonder how many FPS it gets on your system with GDB off. Any way you can get it to dump a core file and then post-mortem debug it with GDB? I simply don't have access to a system as fast as yours :) (mine is 250 MHz).

Jason
(the developer)
Re: Use GDB to avoid segfault posted by anonymous on Oct 12 2006 2:55 PM
I've now tryed it in Debian Etch using software OpenGL rendering on the same hardware. It wokred and was running at about 8 FPS. When using hardware acceleration, before it crashes, it prints out the game seed. Here is the core dump from Debian Sarge using fglrx 8.18.8: -------------

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)
Re: Use GDB to avoid segfault posted by Joshua on Oct 12 2006 3:35 PM
It works just fine for me
Re: Use GDB to avoid segfault posted by jcr13 on Oct 13 2006 5:06 AM
Thanks for the trace. That was very helpful.

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)
Problem fixed. posted by anonymous on Oct 13 2006 10:10 AM
The new game.cpp fixed the problem. :)
Re: Problem fixed. posted by anonymous on Nov 17 2006 11:25 PM
I have this error:

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.

Very cool graphics, pretty tricky to play though, but ill give it 5 stars anyway
Agreed! posted by anonymous on Oct 12 2006 11:36 PM
I really like the game a lot.

There's only two things I'd like to see improved.
  1. Just one mousebutton for every action sounds nice, but it would actually be a lot easier to handle if there were at least another button to use. E.g. use the right mousebutton on water or a pale circle to get or dump water. Or use left button on fruits to eat, right one to give away. It would be another button to "know and remember" but let's be realistic: we're talking about just two buttons here!
  2. I miss the option of a settings panel. I'd like to set simulation speed, number of creatures, landscape dimensions or other details. It would also be nice if one could not only resize the window, but alter the dimensions of the viewport visible in that window. I sometimes doubt that I could do a plot as big as the AI can do.
Very cool game, helps me to relax ;) Original idea.
It's a pretty fun game but I wish there was a way to win or at least a highscore chart or something instead of the inevitable 'entire map covered in poison'.
Re: good posted by anonymous on Oct 13 2006 1:21 PM
Maybe a decay for poison could be an option. I.e. poison should vanish over time.
Re: good posted by anonymous on Oct 14 2006 2:05 AM
good idea. After some time the whole soil is poissoned.
Re: good posted by anonymous on Oct 29 2006 4:52 AM
You could wash the poison away by dropping water on it. That way you don't get so much of a free ride.
Re: good posted by anonymous on Jan 28 2007 7:43 PM
I edited the source to remove AI poisoning. how do you compile this for windows?
I'm getting reems of warnings like

g++ -Wall -DLINUX -O9 -I../.. -I../../minorGems/sound/portaudio/pa_common -c -o sound/MusicPart.o sound/MusicPart.cpp g++ -Wall -DLINUX -O9 -I../.. -I../../minorGems/sound/portaudio/pa_common -c -o sound/MusicPlayer.o sound/MusicPlayer.cpp ../../minorGems/graphics/ChannelFilter.h:18: warning: ‘class ChannelFilter’ has virtual functions but non-virtual destructor sound/../userInterface/ObjectStorage.h:22: warning: ‘class ObjectStorage’ has virtual functions but non-virtual destructor

and one final error of

cp: cannot stat `game2/gameSource/Cultivation': No such file or directory Run Cultivation to play.

Re: problems posted by jcr13 on Oct 15 2006 3:56 AM
I fixed those warnings in the source (though they aren't flagged on any of the platforms I have compiled Cultivation on---what platform and gcc version are you using?).

However, there must have be something more than warnings that is making the build fail. Some error mixed in there.

Jason
(the dev)
Re: problems posted by anonymous on Oct 15 2006 6:25 AM
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... i686-pc-linux-gnu
checking host system type... i686-pc-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.or - 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 gcc -o bin/patest_buffer -g -O2 -Ipa_common -Ipablio pa_tests/patest_buffer.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_clip -g -O2 -Ipa_common -Ipablio pa_tests/patest_clip.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_dither -g -O2 -Ipa_common -Ipablio pa_tests/patest_dither.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_hang -g -O2 -Ipa_common -Ipablio pa_tests/patest_hang.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_latency -g -O2 -Ipa_common -Ipablio pa_tests/patest_latency.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_leftright -g -O2 -Ipa_common -Ipablio pa_tests/patest_leftright.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_longsine -g -O2 -Ipa_common -Ipablio pa_tests/patest_longsine.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_many -g -O2 -Ipa_common -Ipablio pa_tests/patest_many.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_maxsines -g -O2 -Ipa_common -Ipablio pa_tests/patest_maxsines.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_multi_sine -g -O2 -Ipa_common -Ipablio pa_tests/patest_multi_sine.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_pink -g -O2 -Ipa_common -Ipablio pa_tests/patest_pink.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_record -g -O2 -Ipa_common -Ipablio pa_tests/patest_record.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_ringmix -g -O2 -Ipa_common -Ipablio pa_tests/patest_ringmix.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_saw -g -O2 -Ipa_common -Ipablio pa_tests/patest_saw.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_sine8 -g -O2 -Ipa_common -Ipablio pa_tests/patest_sine8.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_sine -g -O2 -Ipa_common -Ipablio pa_tests/patest_sine.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_sine_formats -g -O2 -Ipa_common -Ipablio pa_tests/patest_sine_formats.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_sine_time -g -O2 -Ipa_common -Ipablio pa_tests/patest_sine_time.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_stop -g -O2 -Ipa_common -Ipablio pa_tests/patest_stop.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_sync -g -O2 -Ipa_common -Ipablio pa_tests/patest_sync.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_toomanysines -g -O2 -Ipa_common -Ipablio pa_tests/patest_toomanysines.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_underflow -g -O2 -Ipa_common -Ipablio pa_tests/patest_underflow.c lib/libportaudio.a -lm -lpthread gcc -o bin/patest_wire -g -O2 -Ipa_common -Ipablio pa_tests/patest_wire.c lib/libportaudio.a -lm -lpthread 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 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.

g++ (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

On the now antiquated Ubuntu 5.10

Re: problems posted by anonymous on Feb 2 2007 11:23 PM
I got this to compile by doing a ln -s libXi.so.6 libXi.so and then running ldconfig. I was under the impression that ld would automagically find libXi.so.6 if it was looking for libXi.so, but I guess I was wrong.
Hi Jjason,
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.
Re: Difficulty Compiling posted by anonymous on Aug 27 2007 5:11 AM
Is somebody able to compile this for Win32 with the poison removed? Maybe just killing the plant and not the landscape FOREVER... It's a really good game and I want to see what the island might look like being full of green plants.
Wow, I've never seen anything like this game, it's fascinating!
I'm having fun trying to figure it out.
When do I get multiplayer?!
Also, it built easily on my debian/unstable system.
When I try to compile this I get a whole bunch of warnings about non-virtual destructors, but the bit where it seems to actually break is here:

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.
Re: compile errors posted by jrodman on Jan 14 2007 11:50 AM
Since your build system is failling trying to link against libXmu, have you tried installing libXmu? packagename libxmu6.
I like the premise, but it could use a little work balancing. I end up with way more seeds than I know what to do with, I haven't found any way to productively respond to a turf war, and the entire map ends up in poison before too long, even if I don't use a single dose of poison myself.
I can't download the linux binary. Sourceforge says "Could not read file".
Sane build system is most awaited
This uses the public domain license?
game.cpp: In function ‘int main(int, char**)’: game.cpp:445: error: ‘glutInit’ was not declared in this scope game.cpp: In member function ‘void GameSceneHandler::projectScreenPointIntoScene(int, int, double*, double*)’: game.cpp:2644: error: ‘gluProject’ was not declared in this scope game.cpp:2653: error: ‘gluUnProject’ was not declared in this scope make: *** [game.o] Error 1

Cultivation7

Make a sane build system, pleeeeeeease
I'm on Opensuse 10.2 and I ran the runtobuild script... it seems to install correctly until: game.cpp: In function ‘int main(int, char**)’: game.cpp:445: error: ‘glutInit’ was not declared in this scope game.cpp: In member function ‘void GameSceneHandler::projectScreenPointIntoScene(int, int, double*, double*)’: game.cpp:2644: error: ‘gluProject’ was not declared in this scope game.cpp:2653: error: ‘gluUnProject’ was not declared in this scope make: *** [game.o] Error 1 cp: cannot stat `game2/gameSource/Cultivation': No such file or directory Run Cultivation to play.

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

Re: small compilation problem posted by anonymous on Jun 25 2007 1:34 AM
um, this is the same guy posting, the error has been fixed: the cause was a missing glut-devel package. If you get the same error message as I do on most Linux distros, check if you have glut and glut-devel installed correctly and that you have matching versions. Good playing to you all, and thank you Jason Rohrer! :)

Log in or register to rate this game or post a comment.