Opened 16 years ago
Closed 16 years ago
#241 closed defect (fixed)
Compilation failure when CPLEX is enabled
Reported by: | Alpar Juttner | Owned by: | Balazs Dezso |
---|---|---|---|
Priority: | critical | Milestone: | LEMON 1.1 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: |
Description
... g++ -DHAVE_CONFIG_H -I. -I. -g -O2 -MT lemon/lemon_libemon_la-cplex.lo -MD -MP -MF lemon/.deps/lemon_libemon_la-cplex.Tpo -c lemon/cplex.cc -o lemon/lemon_libemon_la-cplex.o lemon/cplex.cc:826: error: no 'lemon::CplexMip* lemon::CplexMip::newSolver() const' member function declared in class 'lemon::CplexMip' lemon/cplex.cc: In member function 'lemon::CplexMip* lemon::CplexMip::newSolver() const': lemon/cplex.cc:826: error: cannot allocate an object of abstract type 'lemon::CplexMip' ./lemon/cplex.h:227: note: because the following virtual functions are pure within 'lemon::CplexMip': ./lemon/lp_base.h:1972: note: virtual lemon::MipSolver* lemon::MipSolver::newSolver() const ./lemon/lp_base.h:1974: note: virtual lemon::MipSolver* lemon::MipSolver::cloneSolver() const lemon/cplex.cc: At global scope: lemon/cplex.cc:827: error: no 'lemon::CplexMip* lemon::CplexMip::cloneSolver() const' member function declared in class 'lemon::CplexMip' lemon/cplex.cc: In member function 'lemon::CplexMip* lemon::CplexMip::cloneSolver() const': lemon/cplex.cc:827: error: cannot allocate an object of abstract type 'lemon::CplexMip' ./lemon/cplex.h:227: note: since type 'lemon::CplexMip' has pure virtual functions
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | 9d0d7e20f76d.patch added |
---|
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fix