Bon aprés avoir passé beaucoup de temps sur ce probléme je crack et implore de l’aide
Donc voila J’ai trop fichier cxx System.cxx qui depends de Surface.cxx qui depends Particle.cxx
Le tout compile trés bien aprés avoir lutté
Mais quant il commence a faire les liens c’est la merde !!!
j’utlise version gcc 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
Voila le message d’erreur :
Building executable /home/koubiak/local/Vispack/build/apps/myapps/floaters/System…
System.o(.text+0x1769): In function `particle_sys::System::computeFloaterVelocities()’:
: undefined reference to `particle_sys::Floater::phi’
System.o(.text+0x19ec): In function `particle_sys::System::computeFloaterRepulsionRadii()’:
: undefined reference to `particle_sys::Floater::rho’
System.o(.text+0x1a11): In function `particle_sys::System::computeFloaterRepulsionRadii()’:
: undefined reference to `particle_sys::Floater::e_hat’
System.o(.text+0x1aaa): In function `particle_sys::System::computeFloaterRepulsionRadii()’:
: undefined reference to `particle_sys::Floater::beta’
Surface.o(.text+0xb): In function `particle_sys::ImplicitFunc::ImplicitFunc[not-in-charge](unsigned, unsigned)’:
: undefined reference to `vtable for particle_sys::ImplicitFunc’
Surface.o(.text+0x1a7): In function `particle_sys::ImplicitFunc::ImplicitFunc[in-charge](unsigned, unsigned)’:
: undefined reference to `vtable for particle_sys::ImplicitFunc’
Surface.o(.text+0x343): In function `particle_sys::ImplicitFunc::~ImplicitFunc not-in-charge’:
: undefined reference to `vtable for particle_sys::ImplicitFunc’
Surface.o(.text+0x3e9): In function `particle_sys::ImplicitFunc::~ImplicitFunc in-charge’:
: undefined reference to `vtable for particle_sys::ImplicitFunc’
Surface.o(.gnu.linkonce.r._ZTIN12particle_sys8SphereIFE+0x8): undefined reference to `typeinfo for particle_sys::ImplicitFunc’
collect2: ld returned 1 exit status
make[1]: *** [/home/koubiak/local/Vispack/build/apps/myapps/floaters/System] Error 1
make: *** [default_target] Error 2
Donc je vous donnes mes beaux fichiers
Particle.cxx,
Particle.h,
Surface.cxx,
Surface.h,
System.cxx,
System.h, & le
Makefile
Donc pour les matrix j’utilise une library qui tourne et pour generer les Makefile j’utlise cmake
VOila pitié !!!
Koubiak
Edit pardon pour le titre mais je ne peux l’editer glop ou c0unt0
Ce message a été édité par koubiak le 21/02/2004