Opened 11 years ago

Closed 10 years ago

#50 closed defect (worksforme)

Cbc 2.1.0 tgz installation error

Reported by: zhili Owned by: somebody
Priority: major Component: component1
Version: Keywords:
Cc:

Description

I try to install the Cbc2.1.0 in my server. I followed the steps in "first steps to COIN-OR" about Cbc package. I successfully configure and "make test".

But when I try to ">make example_name", there is one error. The below is the information of error.

../../../Cbc/examples/CbcBranchLink.cpp: In member function virtual CbcBranchingObject?* CbcLink::createBranch(int): ../../../Cbc/examples/CbcBranchLink.cpp:522: error: cannot allocate an object of abstract type âCbcLinkBranchingObject ../../../Cbc/examples/CbcBranchLink.hpp:95: note: because the following virtual functions are pure within âCbcLinkBranchingObject: /home/zhili/COIN-OR/Cbc-2.1.0/build/include/coin/CbcBranchBase.hpp:373: note: virtual int CbcBranchingObject::type() const /home/zhili/COIN-OR/Cbc-2.1.0/build/include/coin/CbcBranchBase.hpp:397: note: virtual CbcRangeCompare? CbcBranchingObject::compareBranchingObject(const CbcBranchingObject?*, bool) ../../../Cbc/examples/CbcBranchLink.cpp: In member function virtual CbcBranchingObject?* CbcLinkBranchingObject::clone() const: ../../../Cbc/examples/CbcBranchLink.cpp:557: error: cannot allocate an object of abstract type âCbcLinkBranchingObject ../../../Cbc/examples/CbcBranchLink.hpp:95: note: since type âCbcLinkBranchingObject has pure virtual functions make: * [CbcBranchLink?.o] Error 1

Change History (2)

comment:1 Changed 11 years ago by jpfasano

What operating system and compiler did you use?

comment:2 Changed 10 years ago by forrest

  • Resolution set to worksforme
  • Status changed from new to closed

hopefully fixed

Note: See TracTickets for help on using tickets.