|
From: Kashif Z. <ka...@pe...> - 2011-07-27 14:19:27
|
Hello everyone
Can anybody resolve this build error in Linux environment.
k330174@service0:~/sim/src/zombie> icpc main.cpp -lboost_mpi
-lboost_filesystem -lrepast_hpc-1.0 -lrelogo-1.0 -lmpi -lnetcdf_c++
ZombieObserver.h(63): warning #1125: function
"repast::relogo::Observer::setup(repast::Properties &)" is hidden by
"ZombieObserver::setup" -- virtual function override intended?
void setup(repast::Properties props);
^
/usr/lib64/sgi/intel9/libimf.so: warning: warning: feupdateenv is not
implemented and will always fail
ld: warning: libboost_filesystem.so.1.33.1, needed by
/apps/repasthpc-1.0b/lib/librepast_hpc-1.0.so, may conflict with
libboost_filesystem.so.1.45.0
/tmp/icpcZdZRt9.o: In function `void
repast::relogo::SimulationRunner::run<ZombieObserver,
repast::relogo::Patch>(repast::Properties&)':
main.cpp:(.gnu.linkonce.t._ZN6repast6relogo16SimulationRunner3runI14ZombieOb
serverNS0_5PatchEEEvRNS_10PropertiesE[.gnu.linkonce.t._ZN6repast6relogo16Sim
ulationRunner3runI14ZombieObserverNS0_5PatchEEEvRNS_10PropertiesE]+0x6f2):
undefined reference to `ZombieObserver::setup(repast::Properties)'
/tmp/icpcZdZRt9.o: In function `ZombieObserver*
repast::relogo::WorldCreator::createWorld<ZombieObserver,
repast::relogo::Patch,
repast::relogo::DefaultAgentCreator<repast::relogo::Patch>
>(repast::relogo::WorldDefinition const&, std::vector<int,
std::allocator<int> > const&,
repast::relogo::DefaultAgentCreator<repast::relogo::Patch>&)':
main.cpp:(.gnu.linkonce.t._ZN6repast6relogo12WorldCreator11createWorldI14Zom
bieObserverNS0_5PatchENS0_19DefaultAgentCreatorIS4_EEEEPT_RKNS0_15WorldDefin
itionERKSt6vectorIiSaIiEERT1_[.gnu.linkonce.t._ZN6repast6relogo12WorldCreato
r11createWorldI14ZombieObserverNS0_5PatchENS0_19DefaultAgentCreatorIS4_EEEEP
T_RKNS0_15WorldDefinitionERKSt6vectorIiSaIiEERT1_]+0x74): undefined
reference to `vtable for ZombieObserver'
According to our admin, all the required libraries are enabled and this is a
coding error. But I am only using the zombie_model provided in the
distribution.
Best.
---
Kashif Zia
PhD Candidate
Institut für Pervasive Computing, Johannes Kepler Universität Linz,
Altenberger Straße 69, A-4040 Linz
Room: P105, Phone: +43-732-2468-9673, Fax: +43-732-2468-8426
E-Mail: <mailto:ka...@pe...> ka...@pe...
|