[Cbc-tickets] [COIN-OR Branch-and-Cut MIP Solver] #173: undefine functions

COIN-OR Branch-and-Cut MIP Solver coin-trac at coin-or.org
Mon Mar 27 10:58:07 EDT 2017


#173: undefine functions
-------------------+-----------------
Reporter:  Saklas  |      Owner:  tkr
    Type:  defect  |     Status:  new
Priority:  major   |  Component:  Cbc
 Version:  2.9.2   |   Keywords:
-------------------+-----------------
 hi i installed cbc and i tried to compile the example, and this show, the
 comand is:

 make sample1

 g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type
 -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-
 unknown-pragmas -Wno-long-long   -DCBC_BUILD
 -DSAMPLEDIR=\"`PKG_CONFIG_PATH=/home/victorsalas/Descargas/Cbc-2.9/lib64/pkgconfig:/home/victorsalas/Descargas/Cbc-2.9/lib/pkgconfig:/home/victorsalas/Descargas/Cbc-2.9/share/pkgconfig:
 pkg-config --variable=datadir coindatasample`\"
 -DMIPLIB3DIR=\"`PKG_CONFIG_PATH=/home/victorsalas/Descargas/Cbc-2.9/lib64/pkgconfig:/home/victorsalas/Descargas/Cbc-2.9/lib/pkgconfig:/home/victorsalas/Descargas/Cbc-2.9/share/pkgconfig:
 pkg-config --variable=datadir coindatamiplib3`\"    sample1.cpp   -o
 sample1
 In file included from
 ../../build/include/coin/OsiSolverInterface.hpp:17:0,
                  from sample1.cpp:8:
 ../../build/include/coin/CoinFinite.hpp:20:14: warning:
 ‘COIN_INT_MAX_AS_DOUBLE’ defined but not used [-Wunused-variable]
  const double COIN_INT_MAX_AS_DOUBLE = (std::numeric_limits<int>::max)();
               ^
 /tmp/ccar1pzL.o: En la función `main':
 sample1.cpp:(.text.startup+0x61): referencia a
 `ClpSimplex::ClpSimplex(bool)' sin definir

 sample1.cpp:(.text.startup+0xa1): referencia a `ClpSimplex::readMps(char
 const*, bool, bool)' sin definir
 sample1.cpp:(.text.startup+0x170): referencia a
 `ClpPresolve::ClpPresolve()' sin definir
 sample1.cpp:(.text.startup+0x19f): referencia a
 `ClpPresolve::presolvedModel(ClpSimplex&, double, bool, int, bool, bool,
 char const*, char const*)' sin definir
 sample1.cpp:(.text.startup+0x248): referencia a
 `OsiClpSolverInterface::OsiClpSolverInterface(ClpSimplex*, bool)' sin
 definir
 sample1.cpp:(.text.startup+0x262): referencia a
 `OsiClpSolverInterface::writeMps(char const*, char const*, double) const'
 sin definir
 sample1.cpp:(.text.startup+0x26e): referencia a
 `OsiClpSolverInterface::initialSolve()' sin definir
 sample1.cpp:(.text.startup+0x30f): referencia a
 `CoinMessageHandler::setLogLevel(int)' sin definir
 sample1.cpp:(.text.startup+0x329): referencia a
 `CbcModel::CbcModel(OsiSolverInterface const&)' sin definir
 sample1.cpp:(.text.startup+0x335): referencia a
 `CbcCompareUser::CbcCompareUser()' sin definir
 sample1.cpp:(.text.startup+0x348): referencia a
 `CbcModel::setNodeComparison(CbcCompareBase&)' sin definir
 sample1.cpp:(.text.startup+0x354): referencia a `CglProbing::CglProbing()'
 sin definir
 sample1.cpp:(.text.startup+0x365): referencia a
 `CglProbing::setUsingObjective(int)' sin definir
 sample1.cpp:(.text.startup+0x376): referencia a
 `CglProbing::setMaxPass(int)' sin definir
 sample1.cpp:(.text.startup+0x387): referencia a
 `CglProbing::setMaxProbe(int)' sin definir
 sample1.cpp:(.text.startup+0x398): referencia a
 `CglProbing::setMaxLook(int)' sin definir
 sample1.cpp:(.text.startup+0x3a9): referencia a
 `CglProbing::setRowCuts(int)' sin definir
 sample1.cpp:(.text.startup+0x3b7): referencia a
 `CbcModel::setNumberStrong(int)' sin definir
 sample1.cpp:(.text.startup+0x3fa): referencia a
 `CoinMessageHandler::setLogLevel(int)' sin definir
 sample1.cpp:(.text.startup+0x40f): referencia a
 `CoinMessageHandler::setLogLevel(int)' sin definir
 sample1.cpp:(.text.startup+0x41d): referencia a
 `CbcModel::branchAndBound(int)' sin definir
 sample1.cpp:(.text.startup+0x4c5): referencia a `typeinfo for
 OsiClpSolverInterface' sin definir
 sample1.cpp:(.text.startup+0x4ca): referencia a `typeinfo for
 OsiSolverInterface' sin definir
 sample1.cpp:(.text.startup+0x4d7): referencia a
 `OsiClpSolverInterface::getModelPtr() const' sin definir
 sample1.cpp:(.text.startup+0x4e2): referencia a
 `ClpSimplex::operator=(ClpSimplex const&)' sin definir
 sample1.cpp:(.text.startup+0x4f3): referencia a
 `ClpPresolve::postsolve(bool)' sin definir
 sample1.cpp:(.text.startup+0x4ff): referencia a
 `ClpPresolve::originalColumns() const' sin definir
 sample1.cpp:(.text.startup+0x566): referencia a `ClpSimplex::primal(int,
 int)' sin definir
 sample1.cpp:(.text.startup+0x660): referencia a
 `CglProbing::~CglProbing()' sin definir
 sample1.cpp:(.text.startup+0x66c): referencia a
 `CbcCompareUser::~CbcCompareUser()' sin definir
 sample1.cpp:(.text.startup+0x678): referencia a `CbcModel::~CbcModel()'
 sin definir
 sample1.cpp:(.text.startup+0x684): referencia a
 `OsiClpSolverInterface::~OsiClpSolverInterface()' sin definir
 sample1.cpp:(.text.startup+0x690): referencia a
 `ClpPresolve::~ClpPresolve()' sin definir
 sample1.cpp:(.text.startup+0x6b3): referencia a
 `ClpSimplex::~ClpSimplex()' sin definir
 sample1.cpp:(.text.startup+0x6fd): referencia a
 `CoinMessageHandler::setLogLevel(int)' sin definir
 sample1.cpp:(.text.startup+0x70f): referencia a
 `CoinMessageHandler::setLogLevel(int)' sin definir
 sample1.cpp:(.text.startup+0x72f): referencia a
 `ClpPresolve::~ClpPresolve()' sin definir
 sample1.cpp:(.text.startup+0x73b): referencia a
 `ClpSimplex::~ClpSimplex()' sin definir
 sample1.cpp:(.text.startup+0x752): referencia a
 `OsiClpSolverInterface::~OsiClpSolverInterface()' sin definir
 sample1.cpp:(.text.startup+0x768): referencia a
 `CglProbing::~CglProbing()' sin definir
 sample1.cpp:(.text.startup+0x774): referencia a
 `CbcCompareUser::~CbcCompareUser()' sin definir
 sample1.cpp:(.text.startup+0x780): referencia a `CbcModel::~CbcModel()'
 sin definir
 collect2: error: ld returned 1 exit status
 <integrado>: fallo en las instrucciones para el objetivo 'sample1'
 make: *** [sample1] Error 1

--
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/173>
COIN-OR Branch-and-Cut MIP Solver <http://projects.coin-or.org/Cbc>
An LP-based branch-and-cut MIP solver.



More information about the Cbc-tickets mailing list