Skip to content

centos7 make error #97

@farmzone-jo

Description

@farmzone-jo

If you try to make in centos7, you will get the following error. Is there any solution?

# sudo make
Making all in src/CglAllDifferent
make[1]: Entering directory `/root/Cgl/src/CglAllDifferent'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Cgl/src/CglAllDifferent'
Making all in src/CglBKClique
make[1]: Entering directory `/root/Cgl/src/CglBKClique'
  CXX      CglBKClique.lo
In file included from /usr/local/include/coin-or/CoinMessageHandler.hpp:10:0,
                 from /usr/local/include/coin/OsiSolverInterface.hpp:13,
                 from /usr/local/include/coin/OsiCut.hpp:9,
                 from /usr/local/include/coin/OsiRowCut.hpp:11,
                 from /usr/local/include/coin/OsiCuts.hpp:13,
                 from CglBKClique.cpp:21:
/usr/local/include/coin-or/CoinTypes.h:18:0: warning: "CoinInt64" redefined [enabled by default]
 #define CoinInt64 COINUTILS_INT64_T
 ^
In file included from /usr/local/include/coin/OsiSolverInterface.hpp:12:0,
                 from /usr/local/include/coin/OsiCut.hpp:9,
                 from /usr/local/include/coin/OsiRowCut.hpp:11,
                 from /usr/local/include/coin/OsiCuts.hpp:13,
                 from CglBKClique.cpp:21:
/usr/include/coin/CoinTypes.hpp:18:0: note: this is the location of the previous definition
 #define CoinInt64 COIN_INT64_T
 ^
In file included from /usr/local/include/coin-or/CoinMessageHandler.hpp:10:0,
                 from /usr/local/include/coin/OsiSolverInterface.hpp:13,
                 from /usr/local/include/coin/OsiCut.hpp:9,
                 from /usr/local/include/coin/OsiRowCut.hpp:11,
                 from /usr/local/include/coin/OsiCuts.hpp:13,
                 from CglBKClique.cpp:21:
/usr/local/include/coin-or/CoinTypes.h:19:0: warning: "CoinUInt64" redefined [enabled by default]
 #define CoinUInt64 COINUTILS_UINT64_T
 ^
In file included from /usr/local/include/coin/OsiSolverInterface.hpp:12:0,
                 from /usr/local/include/coin/OsiCut.hpp:9,
                 from /usr/local/include/coin/OsiRowCut.hpp:11,
                 from /usr/local/include/coin/OsiCuts.hpp:13,
                 from CglBKClique.cpp:21:
/usr/include/coin/CoinTypes.hpp:19:0: note: this is the location of the previous definition
 #define CoinUInt64 COIN_UINT64_T
 ^
In file included from /usr/local/include/coin-or/CoinMessageHandler.hpp:10:0,
                 from /usr/local/include/coin/OsiSolverInterface.hpp:13,
                 from /usr/local/include/coin/OsiCut.hpp:9,
                 from /usr/local/include/coin/OsiRowCut.hpp:11,
                 from /usr/local/include/coin/OsiCuts.hpp:13,
                 from CglBKClique.cpp:21:
/usr/local/include/coin-or/CoinTypes.h:20:0: warning: "CoinIntPtr" redefined [enabled by default]
 #define CoinIntPtr COINUTILS_INTPTR_T
 ^
In file included from /usr/local/include/coin/OsiSolverInterface.hpp:12:0,
                 from /usr/local/include/coin/OsiCut.hpp:9,
                 from /usr/local/include/coin/OsiRowCut.hpp:11,
                 from /usr/local/include/coin/OsiCuts.hpp:13,
                 from CglBKClique.cpp:21:
/usr/include/coin/CoinTypes.hpp:20:0: note: this is the location of the previous definition
 #define CoinIntPtr COIN_INTPTR_T
 ^
CglBKClique.cpp: In member function 'virtual void CglBKClique::refreshSolver(OsiSolverInterface*)':
CglBKClique.cpp:112:10: error: 'class OsiSolverInterface' has no member named 'checkCGraph'
  solver->checkCGraph();
          ^
CglBKClique.cpp: In member function 'virtual void CglBKClique::generateCuts(const OsiSolverInterface&, OsiCuts&, CglTreeInfo)
CglBKClique.cpp:125:42: error: 'const class OsiSolverInterface' has no member named 'getCGraph'
     const CoinConflictGraph *cgraph = si.getCGraph();
                                          ^
CglBKClique.cpp: In member function 'CoinCliqueList* CglBKClique::separateCliques(const OsiSolverInterface&)':
CglBKClique.cpp:187:42: error: 'const class OsiSolverInterface' has no member named 'getCGraph'
     const CoinConflictGraph *cgraph = si.getCGraph();
                                          ^
CglBKClique.cpp: In member function 'CoinCliqueList* CglBKClique::extendCliques(const OsiSolverInterface&, const CoinCliqueLi)':
CglBKClique.cpp:264:42: error: 'const class OsiSolverInterface' has no member named 'getCGraph'
     const CoinConflictGraph *cgraph = si.getCGraph();
                                          ^
make[1]: *** [CglBKClique.lo] Error 1
make[1]: Leaving directory `/root/Cgl/src/CglBKClique'
make: *** [all-recursive] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions