Open yangfangs opened 8 years ago
Dear Yang Fang,
You need to install CPLEX to compile/run heinz.
Hope this helps, Gunnar
On 2 Nov 2016, at 13:50, Yang Fang notifications@github.com wrote:
Hi, There is a problem with me install heinz to my computer:
LEMON and OGDF already installed by step, but when I make heinz was failed. I don't what's wrong with me? my OS is Linux (Fedora 24).
The following is the make print message:
$ make Scanning dependencies of target heinz [ 8%] Building CXX object CMakeFiles/heinz.dir/src/mwcs.cpp.o /home/yangfang/heinz/heinz-2.0/src/mwcs.cpp:13:30: fatal error: ilconcert/iloalg.h: No such file or directory
include <ilconcert/iloalg.h>
^ compilation terminated. CMakeFiles/heinz.dir/build.make:62: recipe for target 'CMakeFiles/heinz.dir/src/mwcs.cpp.o' failed make[2]: * [CMakeFiles/heinz.dir/src/mwcs.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/heinz.dir/all' failed make[1]: * [CMakeFiles/heinz.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *\ [all] Error 2
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Dear Gunnar,
thank you so much for your suggestion.
Following your suggestion, I installed CPLEX to my computer and then executed cmake and make, but there have been new mistakes. could you help me find out where the problem is?
Here, I installed CPLEX by 'su' .
error in follow:
[yangfang@localhost build] $ cmake .. -- The C compiler identification is GNU 6.2.1 -- The CXX compiler identification is GNU 6.2.1 -- Check for working C compiler: /usr/lib64/ccache/cc -- Check for working C compiler: /usr/lib64/ccache/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done Unable to find CPLEX and Concert installation in /home/yangfang/ILOG Found CPLEX's installation in Autodetected CPLEX's include dir : /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include Autodetected CPLEX's library dir : /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/lib/x86-64_linux/static_pic Autodetected Concert's include dir : /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include Autodetected Concert's library dir : /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/lib/x86-64_linux/static_pic -- Configuring done -- Generating done -- Build files have been written to: /home/yangfang/heinz/heinz/build
[yangfang@localhost build] $ make
Scanning dependencies of target heinz_rpcst_no_pre
[ 2%] Building CXX object CMakeFiles/heinz_rpcst_no_pre.dir/src/dimacs/heinz_rpcst_no_pre.cpp.o
In file included from /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:22:0,
from /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilomodel.h:26,
from /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/ilocplex.h:27,
from /home/yangfang/heinz/heinz/src/solver/impl/cplexsolverimpl.h:19,
from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:22:
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloany.h:32:24: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloArray~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:303:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,Num)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:304:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,NumVar)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:305:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,NumSetVar)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:307:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Int,Any)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:310:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,Int)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:311:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,IntVar)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:312:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,IntSetVar)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:313:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,Any)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:313:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,Any)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:314:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,AnyVar)
^~~~~~~~
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloFunction<name2(Ilo,X),name2(Ilo,Y)> name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:315:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’
ILO_DECLARE_FUNCTION(Any,AnySetVar)
^~~~~~~~
In file included from /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilosolution.h:34:0,
from /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilomodel.h:842,
from /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/ilocplex.h:27,
from /home/yangfang/heinz/heinz/src/solver/impl/cplexsolverimpl.h:19,
from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:22:
/opt/ibm/ILOG/CPLEX_StudioCommunity1263/concert/include/ilconcert/ilohash.h:589:69: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
class IloAddressHashTable : public IloEnvHashTable<IloAny, ValueType> {
^
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h: In constructor ‘IloAddressHashTable~~~~~
In file included from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutlazy.h:20:0,
from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:11,
from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:13,
from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:23:
/home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecut.h:63:34: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double nina::mwcs::NodeCut<GR, NWGHT, NLBL, EWGHT>::_epsilon’ of non-integral type [-fpermissive]
static const double _epsilon = 1e-5;
^~~~
In file included from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:12:0,
from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:13,
from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:23:
/home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutuser.h:104:47: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double nina::mwcs::NodeCutUser<GR, NWGHT, NLBL, EWGHT>::_cutEpsilon’ of non-integral type [-fpermissive]
static const double _cutEpsilon = 0.00001 * _epsilon;
^~~~
In file included from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverunrootedimpl.h:14:0,
from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:24:
/home/yangfang/heinz/heinz/src/solver/impl/cplex_heuristic/heuristicunrooted.h:222:34: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double nina::mwcs::HeuristicUnrooted<GR, NWGHT, NLBL, EWGHT>::_epsilon’ of non-integral type [-fpermissive]
static const double _epsilon = 1e-5;
^~~~
In file included from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutlazy.h:20:0,
from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:11,
from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:13,
from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:23:
/home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecut.h: In instantiation of ‘class nina::mwcs::NodeCut<lemon::ListGraph, lemon::GraphExtender~~~
In file included from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:12:0,
from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:13,
from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:23:
/home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutuser.h: In instantiation of ‘class nina::mwcs::NodeCutUser<lemon::ListGraph, lemon::GraphExtender~~
cc1plus: warning: unrecognized command line option ‘-Wno-gnu-static-float-init’
cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’
CMakeFiles/heinz_rpcst_no_pre.dir/build.make:62: recipe for target 'CMakeFiles/heinz_rpcst_no_pre.dir/src/dimacs/heinz_rpcst_nopre.cpp.o' failed
make[2]: ** [CMakeFiles/heinz_rpcst_no_pre.dir/src/dimacs/heinz_rpcst_no_pre.cpp.o] Error 1
CMakeFiles/Makefile2:175: recipe for target 'CMakeFiles/heinz_rpcst_no_pre.dir/all' failed
make[1]: * [CMakeFiles/heinz_rpcst_no_pre.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: * [all] Error 2
It seems that your compiler is too new for the code. Or, the code is too old for your compiler. On my Linux machine I use GNU 4.8, and it works.
Gunnar
On 4 Nov 2016, at 07:40, Yang Fang notifications@github.com wrote:
Dear Gunnar,
thank you so much for your suggestion.
Following your suggestion, I installed CPLEX to my computer and then executed cmake and make, but there have been new mistakes. could you help me find out where the problem is?
Here, I installed CPLEX by 'su' .
error in follow:
[yangfang@localhost build] $ cmake .. -- The C compiler identification is GNU 6.2.1 -- The CXX compiler identification is GNU 6.2.1 -- Check for working C compiler: /usr/lib64/ccache/cc -- Check for working C compiler: /usr/lib64/ccache/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done Unable to find CPLEX and Concert installation in /home/yangfang/ILOG Found CPLEX's installation in Autodetected CPLEX's include dir : /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include Autodetected CPLEX's library dir : /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/lib/x86-64_linux/static_pic Autodetected Concert's include dir : /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include Autodetected Concert's library dir : /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/lib/x86-64_linux/static_pic -- Configuring done -- Generating done -- Build files have been written to: /home/yangfang/heinz/heinz/build
[yangfang@localhost build] $ make Scanning dependencies of target heinz_rpcst_no_pre [ 2%] Building CXX object CMakeFiles/heinz_rpcst_no_pre.dir/src/dimacs/heinz_rpcst_no_pre.cpp.o In file included from /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:22:0,
from /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilomodel.h:26,
from /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/ilocplex.h:27,
from /home/yangfang/heinz/heinz/src/solver/impl/cplexsolverimpl.h:19,
from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:22:
/opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloany.h:32:24: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes]
typedef IloArray IloAnyArrayBase; ^ In file included from /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilomodel.h:25:0, from /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/ilocplex.h:27, from /home/yangfang/heinz/heinz/src/solver/impl/cplexsolverimpl.h:19, from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:22: /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:300:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Num,Any) ^
~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:303:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,Num) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:304:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,NumVar) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:305:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,NumSetVar) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:307:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Int,Any) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:310:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,Int) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:311:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,IntVar) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:312:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,IntSetVar) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:313:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,Any) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:313:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,Any) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:314:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,AnyVar) ^~~~~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloset.h:533:47: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] typedef IloFunction name2(Ilo,name2(name2(X,name2(To,Y)),Function)); \ ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/iloanyset.h:315:1: note: in expansion of macro ‘ILO_DECLARE_FUNCTION’ ILO_DECLARE_FUNCTION(Any,AnySetVar) ^~~~~~~~ In file included from /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilosolution.h:34:0, from /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilomodel.h:842, from /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/ilocplex.h:27, from /home/yangfang/heinz/heinz/src/solver/impl/cplexsolverimpl.h:19, from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:22: /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h:589:69: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] class IloAddressHashTable : public IloEnvHashTable { ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h: In constructor ‘IloAddressHashTable::IloAddressHashTable(IloMemoryManager, IloInt)’: /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h:592:37: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] :IloEnvHashTable(env, ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h: In constructor ‘IloAddressHashTable::IloAddressHashTable(IloEnv, IloInt)’: /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h:598:37: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] :IloEnvHashTable(env, ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h: At global scope: /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h:713:62: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] class IloAny2AnyHashTable : public IloAddressHashTable { ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h: In constructor ‘IloAny2AnyHashTable::IloAny2AnyHashTable(IloMemoryManager, IloInt)’: /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h:716:31: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] : IloAddressHashTable(env, size) {} ^ /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h: In constructor ‘IloAny2AnyHashTable::IloAny2AnyHashTable(IloEnv, IloInt)’: /opt/ibm/ILOG/CPLEX_Studio_Community1263/concert/include/ilconcert/ilohash.h:718:31: warning: ignoring attributes on template argument ‘IloAny {aka void}’ [-Wignored-attributes] : IloAddressHashTable(env, size) {} ^ In file included from /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/ilocplexi.h:982:0, from /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/ilocplex.h:29, from /home/yangfang/heinz/heinz/src/solver/impl/cplexsolverimpl.h:19, from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:22: /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/iloparam.h: At global scope: /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/iloparam.h:13:8: warning: ‘IloCplex::Param::SolutionTarget’ is deprecated [-Wdeprecated-declarations] struct Param { ^~~~~ /opt/ibm/ILOG/CPLEX_Studio_Community1263/cplex/include/ilcplex/iloparam.h:221:35: note: declared here static const IloCplex::IntParam SolutionTarget = IntParam(CPX_PARAM_SOLUTIONTARGET); ^~~~~~ In file included from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutlazy.h:20:0, from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:11, from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:13, from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:23: /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecut.h:63:34: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double nina::mwcs::NodeCut::_epsilon’ of non-integral type [-fpermissive] static const double _epsilon = 1e-5; ^~~~ In file included from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:12:0, from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:13, from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:23: /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutuser.h:104:47: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double nina::mwcs::NodeCutUser::_cutEpsilon’ of non-integral type [-fpermissive] static const double _cutEpsilon = 0.00001 * _epsilon; ^~~~ In file included from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverunrootedimpl.h:14:0, from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:24: /home/yangfang/heinz/heinz/src/solver/impl/cplex_heuristic/heuristicunrooted.h:222:34: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double nina::mwcs::HeuristicUnrooted::_epsilon’ of non-integral type [-fpermissive] static const double _epsilon = 1e-5; ^~~~ In file included from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutlazy.h:20:0, from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:11, from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:13, from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:23: /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecut.h: In instantiation of ‘class nina::mwcs::NodeCut::NodeMap, lemon::GraphExtenderlemon::ListGraphBase::NodeMapstd::cxx11::basic_string, lemon::GraphExtenderlemon::ListGraphBase::EdgeMap >’: /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutlazy.h:29:7: required from ‘class nina::mwcs::NodeCutLazy::NodeMap, lemon::GraphExtenderlemon::ListGraphBase::NodeMapstd:: cxx11::basic_string, lemon::GraphExtenderlemon::ListGraphBase::EdgeMap >’ /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:21:7: required from ‘class nina::mwcs::NodeCutRootedLazyConstraint::NodeMap, lemon::GraphExtenderlemon::ListGraphBase::NodeMapstd::cxx11::basic_string , lemon::GraphExtenderlemon::ListGraphBase::EdgeMap >’ /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:194:14: required from ‘bool nina::mwcs::CutSolverRootedImpl::solveModel() [with GR = lemon::ListGraph; NWGHT = lemon::GraphExtenderlemon::ListGraphBase::NodeMap; NLBL = lemon::GraphExtenderlemon::ListGraphBase::NodeMapstd::__cxx11::basic_string cxx11::basic_string; EWGHT = lemon::GraphExtenderlemon::ListGraphBase::EdgeMap]’ /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:129:1: required from here /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecut.h:63:23: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double nina::mwcs::NodeCut::NodeMap, lemon::GraphExtenderlemon::ListGraphBase::NodeMapstd:: , lemon::GraphExtenderlemon::ListGraphBase::EdgeMap >::_epsilon’ of non-integral type [-fpermissive] static const double _epsilon = 1e-5; ^ ~~~ In file included from /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:12:0, from /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:13, from /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:23: /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutuser.h: In instantiation of ‘class nina::mwcs::NodeCutUser::NodeMap, lemon::GraphExtenderlemon::ListGraphBase::NodeMapstd::cxx11::basic_string, lemon::GraphExtenderlemon::ListGraphBase::EdgeMap >’: /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutrooted.h:137:7: required from ‘class nina::mwcs::NodeCutRootedUserCut::NodeMap, lemon::GraphExtenderlemon::ListGraphBase::NodeMapstd:: cxx11::basic_string, lemon::GraphExtenderlemon::ListGraphBase::EdgeMap >’ /home/yangfang/heinz/heinz/src/solver/impl/cutsolverrootedimpl.h:196:14: required from ‘bool nina::mwcs::CutSolverRootedImpl::solveModel() [with GR = lemon::ListGraph; NWGHT = lemon::GraphExtenderlemon::ListGraphBase::NodeMap; NLBL = lemon::GraphExtenderlemon::ListGraphBase::NodeMapstd::__cxx11::basic_string ; EWGHT = lemon::GraphExtenderlemon::ListGraphBase::EdgeMap]’ /home/yangfang/heinz/heinz/src/dimacs/heinz_rpcst_no_pre.cpp:129:1: required from here /home/yangfang/heinz/heinz/src/solver/impl/cplex_cut/nodecutuser.h:104:23: error: ‘constexpr’ needed for in-class initialization of static data member ‘const double nina::mwcs::NodeCutUser::NodeMap, lemon::GraphExtenderlemon::ListGraphBase::NodeMapstd::__cxx11::basic_string , lemon::GraphExtenderlemon::ListGraphBase::EdgeMap >::_cutEpsilon’ of non-integral type [-fpermissive] static const double _cutEpsilon = 0.00001 * _epsilon; ^ ~~cc1plus: warning: unrecognized command line option ‘-Wno-gnu-static-float-init’ cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’ CMakeFiles/heinz_rpcst_no_pre.dir/build.make:62: recipe for target 'CMakeFiles/heinz_rpcst_no_pre.dir/src/dimacs/heinz_rpcst_no_pre.cpp.o' failed make[2]: \ [CMakeFiles/heinz_rpcst_no_pre.dir/src/dimacs/heinz_rpcst_no_pre.cpp.o] Error 1 CMakeFiles/Makefile2:175: recipe for target 'CMakeFiles/heinz_rpcst_no_pre.dir/all' failed make[1]: * [CMakeFiles/heinz_rpcst_no_pre.dir/all] Error 2 Makefile:94: recipe for target 'all' failed make: * [all] Error 2— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Hi, There is a problem with me install heinz to my computer:
LEMON and OGDF already installed by step, but when I make heinz was failed. I don't know what's wrong with me? my OS is Linux (Fedora 24).
The following is the make print message:
$ make Scanning dependencies of target heinz [ 8%] Building CXX object CMakeFiles/heinz.dir/src/mwcs.cpp.o /home/yangfang/heinz/heinz-2.0/src/mwcs.cpp:13:30: fatal error: ilconcert/iloalg.h: No such file or directory
include <ilconcert/iloalg.h>
compilation terminated. CMakeFiles/heinz.dir/build.make:62: recipe for target 'CMakeFiles/heinz.dir/src/mwcs.cpp.o' failed make[2]: [CMakeFiles/heinz.dir/src/mwcs.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/heinz.dir/all' failed make[1]: [CMakeFiles/heinz.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2