Subject: CGAL users discussion list
List archive
- From: mahdavi <>
- To:
- Subject: [cgal-discuss] error in compile program in linux
- Date: Mon, 12 Apr 2010 10:35:39 -0800 (PST)
hi,
my program use CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt
, type g++ main.cc -lCGAL in command in run command ,and follow message
is occur:
//////////////////////////////////////////////////////////////////////////////////////////
/tmp/ccgEbXXZ.o: In function `CORE::AddSubRep<CORE::Sub>::op() const':
main.cc:(.text._ZNK4CORE9AddSubRepINS_3SubEE2opEv[CORE::AddSubRep<CORE::Sub>::op()
const]+0x17): undefined reference to `CORE::Sub::name'
/tmp/ccgEbXXZ.o: In function `CORE::AddSubRep<CORE::Add>::op() const':
main.cc:(.text._ZNK4CORE9AddSubRepINS_3AddEE2opEv[CORE::AddSubRep<CORE::Add>::op()
const]+0x17): undefined reference to `CORE::Add::name'
/tmp/ccgEbXXZ.o: In function `CORE::BinOpRep::~BinOpRep()':
main.cc:(.text._ZN4CORE8BinOpRepD2Ev[CORE::BinOpRep::~BinOpRep()]+0x8):
undefined reference to `vtable for CORE::BinOpRep'
/tmp/ccgEbXXZ.o: In function `CORE::UnaryOpRep::~UnaryOpRep()':
main.cc:(.text._ZN4CORE10UnaryOpRepD2Ev[CORE::UnaryOpRep::~UnaryOpRep()]+0x8):
undefined reference to `vtable for CORE::UnaryOpRep'
/tmp/ccgEbXXZ.o: In function `CORE::ConstRep::~ConstRep()':
main.cc:(.text._ZN4CORE8ConstRepD2Ev[CORE::ConstRep::~ConstRep()]+0x7):
undefined reference to `vtable for CORE::ConstRep'
/tmp/ccgEbXXZ.o: In function `CORE::ConstRep::ConstRep()':
main.cc:(.text._ZN4CORE8ConstRepC2Ev[CORE::ConstRep::ConstRep()]+0xd):
undefined reference to `CORE::ExprRep::ExprRep()'
main.cc:(.text._ZN4CORE8ConstRepC2Ev[CORE::ConstRep::ConstRep()]+0x12):
undefined reference to `vtable for CORE::ConstRep'
/tmp/ccgEbXXZ.o: In function `CORE::ConstDoubleRep::ConstDoubleRep()':
main.cc:(.text._ZN4CORE14ConstDoubleRepC1Ev[CORE::ConstDoubleRep::ConstDoubleRep()]+0x12):
undefined reference to `vtable for CORE::ConstDoubleRep'
/tmp/ccgEbXXZ.o: In function `CORE::ConstDoubleRep::ConstDoubleRep(double)':
main.cc:(.text._ZN4CORE14ConstDoubleRepC1Ed[CORE::ConstDoubleRep::ConstDoubleRep(double)]+0x1e):
undefined reference to `vtable for CORE::ConstDoubleRep'
/tmp/ccgEbXXZ.o: In function `CORE::BinOpRep::BinOpRep(CORE::ExprRep*,
CORE::ExprRep*)':
main.cc:(.text._ZN4CORE8BinOpRepC2EPNS_7ExprRepES2_[CORE::BinOpRep::BinOpRep(CORE::ExprRep*,
CORE::ExprRep*)]+0xd): undefined reference to `CORE::ExprRep::ExprRep()'
main.cc:(.text._ZN4CORE8BinOpRepC2EPNS_7ExprRepES2_[CORE::BinOpRep::BinOpRep(CORE::ExprRep*,
CORE::ExprRep*)]+0x12): undefined reference to `vtable for CORE::BinOpRep'
/tmp/ccgEbXXZ.o: In function `CORE::MultRep::MultRep(CORE::ExprRep*,
CORE::ExprRep*)':
main.cc:(.text._ZN4CORE7MultRepC1EPNS_7ExprRepES2_[CORE::MultRep::MultRep(CORE::ExprRep*,
CORE::ExprRep*)]+0x21): undefined reference to `vtable for CORE::MultRep'
/tmp/ccgEbXXZ.o: In function `CORE::UnaryOpRep::UnaryOpRep(CORE::ExprRep*)':
main.cc:(.text._ZN4CORE10UnaryOpRepC2EPNS_7ExprRepE[CORE::UnaryOpRep::UnaryOpRep(CORE::ExprRep*)]+0xd):
undefined reference to `CORE::ExprRep::ExprRep()'
main.cc:(.text._ZN4CORE10UnaryOpRepC2EPNS_7ExprRepE[CORE::UnaryOpRep::UnaryOpRep(CORE::ExprRep*)]+0x12):
undefined reference to `vtable for CORE::UnaryOpRep'
/tmp/ccgEbXXZ.o: In function `CORE::NegRep::NegRep(CORE::ExprRep*)':
main.cc:(.text._ZN4CORE6NegRepC1EPNS_7ExprRepE[CORE::NegRep::NegRep(CORE::ExprRep*)]+0x1a):
undefined reference to `vtable for CORE::NegRep'
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
please help me , thank and best regard.
--
View this message in context:
http://n4.nabble.com/error-in-compile-program-in-linux-tp1837540p1837540.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] error in compile program in linux, mahdavi, 04/12/2010
- Re: [cgal-discuss] error in compile program in linux, Joachim Reichel, 04/12/2010
- [cgal-discuss] Re: error in compile program in linux, mahdavi, 04/12/2010
- Re: [cgal-discuss] error in compile program in linux, Joachim Reichel, 04/12/2010
Archive powered by MHonArc 2.6.16.