[Kalzium] Porting kalzium to external Avogadro

Rebetez Etienne etienne.rebetez at oberwallis.ch
Thu May 20 21:34:04 CEST 2010


Hi
Don't know if this is the right place to ask but it might be related:
I just wanted to try out kalzium from trunk with the external avogadro and got 
a linking error.

Avogadro compiled (without python) and works.
It is instaled in: /usr/bin/avogadro

kde has also the instaldir /usr (kalzium from trunk works as well without 
avogadro)

I am still new to "compiling from source" and linking errors were never my 
favorite... (don't know where to look for errors)
Any ideas?

Thanks


after "make"
---------------------------------------------------------------
Linking CXX executable kalzium
CMakeFiles/kalzium.dir/tools/moleculeview.o: In function 
`MoleculeDialog::elementCombo()':                       
/home/etienne/Data/Programming/kdeedu/kalzium/src/tools/moleculeview.cpp:265: 
undefined reference to `Avogadro::ElementTranslator::name(int)'
/home/etienne/Data/Programming/kdeedu/kalzium/src/tools/moleculeview.cpp:267: 
undefined reference to `Avogadro::ElementTranslator::name(int)'
/home/etienne/Data/Programming/kdeedu/kalzium/src/tools/moleculeview.cpp:269: 
undefined reference to `Avogadro::ElementTranslator::name(int)'
/home/etienne/Data/Programming/kdeedu/kalzium/src/tools/moleculeview.cpp:271: 
undefined reference to `Avogadro::ElementTranslator::name(int)'
/home/etienne/Data/Programming/kdeedu/kalzium/src/tools/moleculeview.cpp:273: 
undefined reference to `Avogadro::ElementTranslator::name(int)'
CMakeFiles/kalzium.dir/tools/moleculeview.o:/home/etienne/Data/Programming/kdeedu/kalzium/src/tools/moleculeview.cpp:275: 
more undefined references to `Avogadro::ElementTranslator::name(int)' follow
CMakeFiles/kalzium.dir/tools/moleculeview.o: In function 
`MoleculeDialog::slotElementChanged(int)':
/home/etienne/Data/Programming/kdeedu/kalzium/src/tools/moleculeview.cpp:297: 
undefined reference to 
`Avogadro::PeriodicTableView::PeriodicTableView(QWidget*)'
CMakeFiles/kalzium.dir/tools/moleculeview.o: In function 
`MoleculeDialog::slotCustomElementChanged(int)':
/home/etienne/Data/Programming/kdeedu/kalzium/src/tools/moleculeview.cpp:339: 
undefined reference to `Avogadro::ElementTranslator::name(int)'



More information about the Kalzium mailing list