-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hello,
I'm trying to compile all of coin-or with coinbrew in text mode (option 21) or from the command line
./coinbrew --no-prompt build COIN-OR-OptimizationSuite
and I get the subject error message shortly after
### Building Bcps
I tried all the other choices that can be compiled and they all work fine as individuals, it's only when I choose all that I get this error.
As mentionned, when I start from an empty directory and build biceps, it works fine. However, I noticed that if I try to build all and it fails and I try do build only biceps withouth cleaning the directory and answering no to fetch, it fails as well. If instead I answer yes to fetch, then it works.
I can't tell for sure but it seems like maybe all is pulling a different version of the code and that causes the problem?
Thanks for your help.
configure: Configuration of Bcps successful
`##################################################
Building Bcps
##################################################
Making all in src
make[1] : on entre dans le répertoire « /local/user/coin-all/build/Bcps/master/src »
make all-am
make[2] : on entre dans le répertoire « /local/user/coin-all/build/Bcps/master/src »
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -Iecho /local/user/coin-all/Bcps/Bcps/src -I../inc
-I/local/user/coin-all/dist/include/coin -I/local/user/coin-all/dist/include/coin/ThirdParty -O3 -pipe -DNDEBUG
-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-lo
ng -DBCPS_BUILD -c -o BcpsBranchObject.lo /local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I/local/user/coin-all/Bcps/Bcps/src -I../inc -I/local/user/coin-all/dist/include/coin -I/loc
al/pierreg/coin-all/dist/include/coin/ThirdParty -O3 -pipe -DNDEBUG -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-
arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DBCPS_BUILD -c /local/user/coin-all/Bcps/Bcps/src
/BcpsBranchObject.cpp -fPIC -DPIC -o .libs/BcpsBranchObject.o
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp: In constructor 'BcpsBranchObject::BcpsBranchObject(int, int, int
)':
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:37:58: error: no matching function for call to 'AlpsKnowledge::Al
psKnowledge(AlpsKnowledgeType, NULL)'
type_(type), index_(index), score_(score), value_(0.0) {
^
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:37:58: note: candidates are:
In file included from /local/user/coin-all/dist/include/coin/AlpsModel.h:30:0,
from /local/user/coin-all/Bcps/Bcps/src/BcpsModel.h:33,
from /local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:30:
/local/user/coin-all/dist/include/coin/AlpsKnowledge.h:68:5: note: AlpsKnowledge::AlpsKnowledge()
AlpsKnowledge() : encoded_(0), type_(AlpsKnowledgeTypeUndefined) {}
^
/local/user/coin-all/dist/include/coin/AlpsKnowledge.h:68:5: note: candidate expects 0 arguments, 2 provided
/local/user/coin-all/dist/include/coin/AlpsKnowledge.h:54:5: note: AlpsKnowledge::AlpsKnowledge(const AlpsKnowledge&)
AlpsKnowledge(const AlpsKnowledge&);
^
/local/user/coin-all/dist/include/coin/AlpsKnowledge.h:54:5: note: candidate expects 1 argument, 2 provided
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp: In constructor 'BcpsBranchObject::BcpsBranchObject(int, int, dou
ble, double)':
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:45:60: error: no matching function for call to 'AlpsKnowledge::Al
psKnowledge(AlpsKnowledgeType, NULL)'
type_(type), index_(index), score_(score), value_(value) {
^
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:45:60: note: candidates are:
In file included from /local/user/coin-all/dist/include/coin/AlpsModel.h:30:0,
from /local/user/coin-all/Bcps/Bcps/src/BcpsModel.h:33,
from /local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:30:
/local/user/coin-all/dist/include/coin/AlpsKnowledge.h:68:5: note: AlpsKnowledge::AlpsKnowledge()
AlpsKnowledge() : encoded_(0), type_(AlpsKnowledgeTypeUndefined) {}
^
/local/user/coin-all/dist/include/coin/AlpsKnowledge.h:68:5: note: candidate expects 0 arguments, 2 provided
/local/user/coin-all/dist/include/coin/AlpsKnowledge.h:54:5: note: AlpsKnowledge::AlpsKnowledge(const AlpsKnowledge&)
AlpsKnowledge(const AlpsKnowledge&);
^
^
/local/user/coin-all/dist/include/coin/AlpsKnowledge.h:54:5: note: candidate expects 1 argument, 2 provided
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp: In copy constructor 'BcpsBranchObject::BcpsBranchObject(const Bc
psBranchObject&)':
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:50:53: error: 'const class BcpsBranchObject' has no member named
'broker_'
: AlpsKnowledge(AlpsKnowledgeTypeUndefined, other.broker_),
^
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp: In member function 'BcpsBranchObject& BcpsBranchObject::operator
=(const BcpsBranchObject&)':
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:61:3: error: 'broker_' was not declared in this scope
broker_ = rhs.broker_;
^
/local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:61:17: error: 'const class BcpsBranchObject' has no member named
'broker_'
broker_ = rhs.broker_;
^
In file included from /local/user/coin-all/dist/include/coin/Alps.h:31:0,
from /local/user/coin-all/dist/include/coin/AlpsKnowledge.h:30,
from /local/user/coin-all/dist/include/coin/AlpsModel.h:30,
from /local/user/coin-all/Bcps/Bcps/src/BcpsModel.h:33,
from /local/user/coin-all/Bcps/Bcps/src/BcpsBranchObject.cpp:30:
/local/user/coin-all/dist/include/coin/CoinFinite.hpp: At global scope:
/local/user/coin-all/dist/include/coin/CoinFinite.hpp:17:14: warning: 'COIN_DBL_MIN' defined but not used [-Wunused-varia
ble]
const double COIN_DBL_MIN = (std::numeric_limits< double >::min)();
^
/local/user/coin-all/dist/include/coin/CoinFinite.hpp:19:11: warning: 'COIN_INT_MAX' defined but not used [-Wunused-varia
ble]
const int COIN_INT_MAX = (std::numeric_limits< int >::max)();
^
/local/user/coin-all/dist/include/coin/CoinFinite.hpp:20:14: warning: 'COIN_INT_MAX_AS_DOUBLE' defined but not used [-Wun
used-variable]
const double COIN_INT_MAX_AS_DOUBLE = (std::numeric_limits< int >::max)();
^
make[2]: *** [BcpsBranchObject.lo] Erreur 1
make[2] : on quitte le répertoire « /local/user/coin-all/build/Bcps/master/src »
make[1]: *** [all] Erreur 2
make[1] : on quitte le répertoire « /local/user/coin-all/build/Bcps/master/src »
make: *** [all-recursive] Erreur 1
`