[Clp] CLP build error in Visual Studio 2013 on win 7.

usa usa usact2012 at gmail.com
Fri Dec 25 12:33:39 EST 2015


Hi,

I am trying to build CLP downloaded from

http://www.coin-or.org/download/source/Clp/Clp-1.16.9.zip

in Visual Studio 2013.

I opened Clp.sln from Clp-1.16.9\Clp-1.16.9\Clp\MSVisualStudio\v10  in
VS2013 on win7.

There are 10 projects in the solution.

When I built the solution, i gto error:



*C:\MyPATH\clp-1.16.9\clp-1.16.9\coinutils\src\CoinSort.hpp(53): fatal
error C1001: An internal error has occurred in the compiler.(compiler file
'msc1.cpp', line 1325)To work around this problem, try simplifying or
changing the program near the locations listed above.*

This is the code (in CoinSort.hpp) that caused the error:

/**@name Comparisons on first element of two ordered pairs */
//@{
/** Function operator.
    Returns true if t1.first < t2.first (i.e., increasing). */
template < class S, class T>
class CoinFirstLess_2 {
public:
  /// Compare function
  inline bool operator()(const CoinPair<S,T>& t1,
             const CoinPair<S,T>& t2) const
  { return t1.first < t2.first; }   // *line 53 *
};

I have attached the error message in VS2013.
I used a wrong C++ compiler for the building ?

Any help would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20151225/975f0e4b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CLP_build_error_visual_studio2013_compiler.png
Type: image/png
Size: 25300 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/clp/attachments/20151225/975f0e4b/attachment-0001.png>


More information about the Clp mailing list