Gaccm
03-25-2002, 08:43 PM
cause i need some help.
I'm trying to compile the marine biology case study but i can't.
I've dumped all the fish simulation files into a single dir, but it just wont compile. I try running the command "g++ fishsim.cpp apstring.cpp" but i get these weird undefined references:
/tmp/ccxNYKaq.o: In function `main':
/tmp/ccxNYKaq.o(.text+0x41): undefined reference to `Environment::Environment(is
tream &)'
/tmp/ccxNYKaq.o(.text+0x53): undefined reference to `Display: :Display(void)'
/tmp/ccxNYKaq.o(.text+0x77): undefined reference to `Simulation::Simulation(void
)'
/tmp/ccxNYKaq.o(.text+0x90): undefined reference to `Display::Show(Environment c
onst &)'
/tmp/ccxNYKaq.o(.text+0x135): undefined reference to `Simulation::Step(Environme
nt &)'
/tmp/ccxNYKaq.o(.text+0x14e): undefined reference to `Display::Show(Environment
const &)'
anyone know what i'm doing wrong?
[ 25 March 2002: Message edited by: Gaccm ]
I'm trying to compile the marine biology case study but i can't.
I've dumped all the fish simulation files into a single dir, but it just wont compile. I try running the command "g++ fishsim.cpp apstring.cpp" but i get these weird undefined references:
/tmp/ccxNYKaq.o: In function `main':
/tmp/ccxNYKaq.o(.text+0x41): undefined reference to `Environment::Environment(is
tream &)'
/tmp/ccxNYKaq.o(.text+0x53): undefined reference to `Display: :Display(void)'
/tmp/ccxNYKaq.o(.text+0x77): undefined reference to `Simulation::Simulation(void
)'
/tmp/ccxNYKaq.o(.text+0x90): undefined reference to `Display::Show(Environment c
onst &)'
/tmp/ccxNYKaq.o(.text+0x135): undefined reference to `Simulation::Step(Environme
nt &)'
/tmp/ccxNYKaq.o(.text+0x14e): undefined reference to `Display::Show(Environment
const &)'
anyone know what i'm doing wrong?
[ 25 March 2002: Message edited by: Gaccm ]