c++ -o testEnergyFunctional testEnergyFunctional.o EnergyFunctional.o Basis.o BasisMapping.o SlaterDet.o Matrix.o UnitCell.o Context.o FourierTransform.o Wavefunction.o Species.o Atom.o AtomSet.o StructureFactor.o ExtForceSet.o ExtForce.o PairExtForce.o AtomicExtForce.o GlobalExtForce.o ConstraintSet.o Constraint.o DistanceConstraint.o AngleConstraint.o TorsionConstraint.o PositionConstraint.o NonLocalPotential.o sampling.o Base64Transcoder.o ChargeDensity.o sinft.o spline.o XCOperator.o ExchangeOperator.o Bisection.o XCPotential.o LDAFunctional.o VWNFunctional.o PBEFunctional.o BLYPFunctional.o B3LYPFunctional.o BHandHLYPFunctional.o SCANFunctional.o ExponentialIntegral.o HSEFunctional.o RSHFunctional.o ConfinementPotential.o ElectricEnthalpy.o MLWFTransform.o ExternalPotential.o Function3d.o Function3dHandler.o qbox_xmlns.o jade.o MPIdata.o cout0.o -fstack-protector-strong -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lfftw3 -lscalapack -llapack -lblas -lm -lxerces-c -lpthread -lmpichcxx -lstdc++ -lcurl -liconv -luuid -lmpich
ld: error: undefined symbol: vtable for PlaneConstraint
>>> referenced by ConstraintSet.cpp
>>> ConstraintSet.o:(PlaneConstraint::PlaneConstraint(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, D3vector, double, double, double))
>>> the vtable symbol may be undefined because the class is missing its key function (see https://lld.llvm.org/missingkeyfunction)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:136: testEnergyFunctional] Error 1
*** Error code 1
Version: 1_77_0
clang-18
FreeBSD 14.1