[Dip-tickets] [Dip] #27: make does work on Mac OS X

Dip coin-trac at coin-or.org
Mon Jul 19 01:49:56 EDT 2010


#27: make does work on Mac OS X
--------------------+-------------------------------------------------------
Reporter:  kmartin  |       Type:  defect
  Status:  new      |   Priority:  major 
 Version:  trunk    |   Keywords:        
--------------------+-------------------------------------------------------
 Hi:

 I am trying to build Dip on Mac OS X 10.6.1 using gcc 4.2.1. I was able to
 run configure with no problem. However make results in the error below. I
 can build numerous other COIN-OR project on this platform that also refer
 to malloc.h but those reference are in ifdef.  Below is the error:


 In file included from ../../../Dip/src/DecompParam.h:21,
                  from ../../../Dip/src/DecompApp.h:22,
                  from ../../../Dip/src/DecompAlgo.cpp:17:
 ../../../Dip/src/UtilMacros.h:41:20: error: malloc.h: No such file or
 directory
 ../../../Dip/src/DecompAlgo.cpp: In member function 'virtual void
 DecompAlgo::createMasterProblem(DecompVarList&)':
 ../../../Dip/src/DecompAlgo.cpp:712: warning: unused variable 'c'
 ../../../Dip/src/DecompAlgo.cpp: In member function 'std::vector<double*,
 std::allocator<double*> > DecompAlgo::getDualRays(int)':
 ../../../Dip/src/DecompAlgo.cpp:4016: warning: unused variable 'ray'
 ../../../Dip/src/DecompAlgo.cpp: In member function 'virtual void
 DecompAlgo::addVarsFromPool()':
 ../../../Dip/src/DecompAlgo.cpp:5464: warning: unused variable
 'n_colsAfter'
 ../../../Dip/src/DecompAlgo.cpp: In member function 'DecompStatus
 DecompAlgo::solveRelaxed(const double*, const double*, double, int, bool,
 DecompAlgoModel&, DecompSolverResult*, std::list<DecompVar*,
 std::allocator<DecompVar*> >&)':
 ../../../Dip/src/DecompAlgo.cpp:6347: warning: unused variable
 'isRelaxFeas'
 make[2]: *** [DecompAlgo.lo] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1

 Thanks

-- 
Ticket URL: <https://projects.coin-or.org/Dip/ticket/27>
Dip <https://projects.coin-or.org/Dip>
An extensible software framework for implementing decompositon-based bounding algorithms for use in solving large-scale discrete optimization problems.



More information about the Dip-tickets mailing list