tix209 / TSOAX

Extraction and tracking of dynamic biopolymer networks.
https://www.lehigh.edu/~div206/tsoax/
GNU Lesser General Public License v3.0
3 stars 3 forks source link

"undefined reference" errors during "make" #7

Closed hanhongqing closed 6 months ago

hanhongqing commented 7 months ago

Hi!

I used conda to install Eigen, Qt, VTK (from "conda-forge" channel) in a Linux environment. After some easier issues, and simplifying the package (any file not needed by "batch_tsoax.cc" are removed), now I face the following errors during "make":

  1. CMakeFiles/Project.dir/multisnake.o: in function soax::Multisnake::Multisnake()': multisnake.cc:(): undefined reference tovtable for soax::Multisnake'
  2. CMakeFiles/Project.dir/multisnake.o: in function soax::Multisnake::~Multisnake()': multisnake.cc:(): undefined reference tovtable for soax::Multisnake'
  3. CMakeFiles/Project.dir/multisnake.o: in function soax::Multisnake::Evolve()': multisnake.cc:(): undefined reference tosoax::Multisnake::ExtractionProgressed(int)'
  4. /Scrt1.o: in function _start': undefined reference tomain'

While the complete version has only one additional error which appeared 56 times in various classes:

  1. "undefined reference to `soax::SOME_GUI_CLASS::staticMetaObject'".

Wondering if you could give some suggestions. Thanks.

vavylonis commented 7 months ago

We haven't this error before. Could it be related to https://stackoverflow.com/questions/3065154/undefined-reference-to-vtable We can try to replicate or perhaps you can contact me to discuss on zoom/email.

hanhongqing commented 7 months ago

We haven't this error before. Could it be related to https://stackoverflow.com/questions/3065154/undefined-reference-to-vtable We can try to replicate or perhaps you can contact me to discuss on zoom/email.

Thank you very much for your response. I looked at the answers but I'm unsure I have the expertise to find the right answer. So yes if you could replicate the errors that will be extremely helpful. I'll write an email to you with the modified package and conda environment.