[Clp] Getting v10 to build with VS2010 express sp1
Danny Bradley
dannybradley at gmail.com
Thu Oct 15 11:55:18 EDT 2015
I downloaded VS2010 express and installed it and its sp1; I changed no
settings. After downloading CLP, I opened VS2010, browsed to
"C:\Clp-1.16.6\Clp\MSVisualStudio\v10" and double-clicked Clp.sln.
Afterwards, I could see files in the VS2010 Solution Explorer, and nothing
seemed unusual. Then, I clicked the VS2010 "Build Solution", and got the
results below. Please tell me what I am doing wrong.
Danny Bradley
1>------ Build started: Project: libOsi, Configuration: Debug Win32 ------
2>------ Build started: Project: libCoinUtils, Configuration: Debug Win32
------
3>------ Build started: Project: libOsiClp, Configuration: Debug Win32
------
4>------ Build started: Project: libClp, Configuration: Debug Win32 ------
3> OsiClpSolverInterface.cpp
4> IdiSolve.cpp
2> CoinWarmStartVector.cpp
1> OsiSolverInterface.cpp
2> CoinWarmStartPrimalDual.cpp
2> CoinWarmStartDual.cpp
4> Idiot.cpp
2> CoinWarmStartBasis.cpp
3>..\..\..\src\OsiClp\OsiClpSolverInterface.cpp(9822): warning C4101:
'iRow' : unreferenced local variable
1> OsiSolverBranch.cpp
3>C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\algorithm(1119): warning C4996: 'std::_Transform1':
Function call with parameters that may be unsafe - this call relies on the
caller to check that the passed values are correct. To disable this
warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use
Visual C++ 'Checked Iterators'
3> C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\algorithm(1100) : see declaration of 'std::_Transform1'
3> ..\..\..\src\OsiClp\OsiClpSolverInterface.cpp(3915) : see
reference to function template instantiation '_OutIt std::transform<const
double*,double*,std::negate<_Ty>>(_InIt,_InIt,_OutIt,_Fn1)' being compiled
3> with
3> [
3> _OutIt=double *,
3> _Ty=double,
3> _InIt=const double *,
3> _Fn1=std::negate<double>
3> ]
3>C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\algorithm(1119): warning C4996: 'std::_Transform1':
Function call with parameters that may be unsafe - this call relies on the
caller to check that the passed values are correct. To disable this
warning, use -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use
Visual C++ 'Checked Iterators'
3> C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\include\algorithm(1100) : see declaration of 'std::_Transform1'
3> ..\..\..\src\OsiClp\OsiClpSolverInterface.cpp(6552) : see
reference to function template instantiation '_OutIt
std::transform<double*,double*,std::negate<_Ty>>(_InIt,_InIt,_OutIt,_Fn1)'
being compiled
3> with
3> [
3> _OutIt=double *,
3> _Ty=double,
3> _InIt=double *,
3> _Fn1=std::negate<double>
3> ]
4> ClpSolve.cpp
2> CoinStructuredModel.cpp
2> CoinSnapshot.cpp
1> OsiRowCutDebugger.cpp
2> CoinSimpFactorization.cpp
2> CoinShallowPackedVector.cpp
1> OsiRowCut.cpp
2>..\..\..\src\CoinShallowPackedVector.cpp(39): warning C4101: 'e' :
unreferenced local variable
2>..\..\..\src\CoinShallowPackedVector.cpp(61): warning C4101: 'e' :
unreferenced local variable
2>..\..\..\src\CoinShallowPackedVector.cpp(83): warning C4101: 'e' :
unreferenced local variable
2>..\..\..\src\CoinShallowPackedVector.cpp(103): warning C4101: 'e' :
unreferenced local variable
2>..\..\..\src\CoinShallowPackedVector.cpp(124): warning C4101: 'e' :
unreferenced local variable
2>..\..\..\src\CoinShallowPackedVector.cpp(143): warning C4101: 'e' :
unreferenced local variable
2>..\..\..\src\CoinShallowPackedVector.cpp(163): warning C4101: 'e' :
unreferenced local variable
3> libOsiClp.vcxproj ->
C:\Clp-1.16.6\Clp\MSVisualStudio\v10\Win32-v100-Debug\libOsiClp.lib
2> CoinSearchTree.cpp
2> CoinRational.cpp
1> OsiPresolve.cpp
2>..\..\..\src\CoinRational.cpp(60): warning C4244: 'argument' : conversion
from 'double' to 'long', possible loss of data
4> ClpSimplexPrimal.cpp
2> CoinPresolveZeros.cpp
2> CoinPresolveUseless.cpp
2> CoinPresolveTripleton.cpp
1> OsiNames.cpp
4> ClpSimplexOther.cpp
2> CoinPresolveTighten.cpp
1> OsiCuts.cpp
2> CoinPresolveSubst.cpp
4> ClpSimplexNonlinear.cpp
1> OsiCut.cpp
2> CoinPresolveSingleton.cpp
1> OsiColCut.cpp
2> CoinPresolvePsdebug.cpp
4> ClpSimplexDual.cpp
1> OsiChooseVariable.cpp
2> CoinPresolveMatrix.cpp
4> ClpSimplex.cpp
2> CoinPresolveIsolated.cpp
2> CoinPresolveImpliedFree.cpp
1> OsiBranchingObject.cpp
4> ClpQuadraticObjective.cpp
2> Generating Code...
1> OsiAuxInfo.cpp
1> Generating Code...
4> ClpPrimalColumnSteepest.cpp
2> Compiling...
2> CoinPresolveHelperFunctions.cpp
2> CoinPresolveForcing.cpp
4>..\..\..\src\ClpPrimalColumnSteepest.cpp(2879): warning C4805: '==' :
unsafe mix of type 'double' and type 'bool' in operation
4> ClpPrimalColumnPivot.cpp
2> CoinPresolveFixed.cpp
1> libOsi.vcxproj ->
C:\Clp-1.16.6\Clp\MSVisualStudio\v10\Win32-v100-Debug\libOsi.lib
2> CoinPresolveEmpty.cpp
4> ClpPrimalColumnDantzig.cpp
2> CoinPresolveDupcol.cpp
4> ClpPresolve.cpp
2> CoinPresolveDual.cpp
4> ClpPredictorCorrector.cpp
2>..\..\..\src\CoinPresolveDual.cpp(1516): warning C4804: '>' : unsafe use
of type 'bool' in operation
2> CoinPresolveDoubleton.cpp
4> ClpPlusMinusOneMatrix.cpp
2> CoinPrePostsolveMatrix.cpp
4> ClpPdcoBase.cpp
2> CoinPostsolveMatrix.cpp
4> ClpPdco.cpp
2> CoinParamUtils.cpp
4>..\..\..\src\ClpPdco.cpp(632): warning C4800: 'double' : forcing value to
bool 'true' or 'false' (performance warning)
4> ClpPackedMatrix.cpp
2> CoinParam.cpp
2> CoinPackedVectorBase.cpp
2> CoinPackedVector.cpp
4> ClpObjective.cpp
4> ClpNonLinearCost.cpp
2>..\..\..\src\CoinPackedVector.cpp(98): warning C4101: 'e' : unreferenced
local variable
2>..\..\..\src\CoinPackedVector.cpp(494): warning C4101: 'e' : unreferenced
local variable
2>..\..\..\src\CoinPackedVector.cpp(520): warning C4101: 'e' : unreferenced
local variable
2> CoinPackedMatrix.cpp
4> Generating Code...
2> CoinOslFactorization3.cpp
2> CoinOslFactorization2.cpp
4> Compiling...
4> ClpNode.cpp
2> CoinOslFactorization.cpp
4> ClpNetworkMatrix.cpp
2> CoinMpsIO.cpp
4> ClpNetworkBasis.cpp
2> CoinModelUseful2.cpp
2>..\..\..\src\CoinModelUseful2.cpp(706): warning C4065: switch statement
contains 'default' but no 'case' labels
2>..\..\..\src\CoinModelUseful2.cpp(1362): warning C4102: 'yyerrorlab' :
unreferenced label
2> CoinModelUseful.cpp
4> ClpModel.cpp
2> Generating Code...
4> ClpMessage.cpp
2> Compiling...
2> CoinModel.cpp
4> ClpMatrixBase.cpp
2> CoinMessageHandler.cpp
4> ClpLsqr.cpp
2> CoinMessage.cpp
4> ClpLinearObjective.cpp
2> CoinLpIO.cpp
4> ClpInterior.cpp
2> CoinIndexedVector.cpp
4> ClpHelperFunctions.cpp
4> ClpGubMatrix.cpp
2> CoinFinite.cpp
2> CoinFileIO.cpp
2> CoinFactorization4.cpp
4> ClpGubDynamicMatrix.cpp
2> CoinFactorization3.cpp
4> ClpFactorization.cpp
2> CoinFactorization2.cpp
4> ClpEventHandler.cpp
2> CoinFactorization1.cpp
4> ClpDynamicMatrix.cpp
2> CoinError.cpp
2> CoinDenseVector.cpp
4> ClpDynamicExampleMatrix.cpp
2> CoinDenseFactorization.cpp
4> ClpDummyMatrix.cpp
2> CoinBuild.cpp
2> CoinAlloc.cpp
2> Generating Code...
4> ClpDualRowSteepest.cpp
4> ClpDualRowPivot.cpp
4> ClpDualRowDantzig.cpp
4> Generating Code...
2>CoinPresolvePsdebug.obj : warning LNK4221: This object file does not
define any previously undefined public symbols, so it will not be used by
any link operation that consumes this library
4> Compiling...
4> ClpConstraintQuadratic.cpp
2> libCoinUtils.vcxproj ->
C:\Clp-1.16.6\Clp\MSVisualStudio\v10\Win32-v100-Debug\libCoinUtils.lib
5>------ Build started: Project: libOsiCommonTest, Configuration: Debug
Win32 ------
4> ClpConstraintLinear.cpp
5> OsiUnitTestUtils.cpp
5> OsiSolverInterfaceTest.cpp
4> ClpConstraint.cpp
4> ClpCholeskyDense.cpp
5>..\..\..\src\OsiCommonTest\OsiSolverInterfaceTest.cpp(3476): warning
C4101: 'err' : unreferenced local variable
4> ClpCholeskyBase.cpp
5> OsiSimplexAPITest.cpp
4> Clp_C_Interface.cpp
5> OsiRowCutTest.cpp
4>..\..\..\src\Clp_C_Interface.cpp(1308): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1312): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1315): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1318): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1321): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1324): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1327): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1330): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1333): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1336): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4>..\..\..\src\Clp_C_Interface.cpp(1339): warning C4800: 'int' : forcing
value to bool 'true' or 'false' (performance warning)
4> Generating Code...
5>..\..\..\src\OsiCommonTest\OsiRowCutTest.cpp(344): warning C4800:
'double' : forcing value to bool 'true' or 'false' (performance warning)
5>..\..\..\src\OsiCommonTest\OsiRowCutTest.cpp(351): warning C4800:
'double' : forcing value to bool 'true' or 'false' (performance warning)
5> OsiRowCutDebuggerTest.cpp
5> OsiNetlibTest.cpp
5> OsiCutsTest.cpp
5> OsiColCutTest.cpp
4> libClp.vcxproj ->
C:\Clp-1.16.6\Clp\MSVisualStudio\v10\Win32-v100-Debug\libClp.lib
6>------ Build started: Project: clp, Configuration: Debug Win32 ------
7>------ Build started: Project: ClpExamplesTestQP, Configuration: Debug
Win32 ------
8>------ Build started: Project: ClpExamplesTestBarrier, Configuration:
Debug Win32 ------
6> unitTest.cpp
7> testQP.cpp
8> testBarrier.cpp
5>..\..\..\src\OsiCommonTest\OsiColCutTest.cpp(279): warning C4800:
'double' : forcing value to bool 'true' or 'false' (performance warning)
5>..\..\..\src\OsiCommonTest\OsiColCutTest.cpp(284): warning C4800:
'double' : forcing value to bool 'true' or 'false' (performance warning)
5> Generating Code...
8>LINK : fatal error LNK1181: cannot open input file 'libCoinUtils.lib'
7>LINK : fatal error LNK1181: cannot open input file 'libCoinUtils.lib'
9>------ Build started: Project: ClpExamplesMinimum, Configuration: Debug
Win32 ------
9> minimum.cpp
6> MyMessageHandler.cpp
9>LINK : fatal error LNK1181: cannot open input file 'libCoinUtils.lib'
6> MyEventHandler.cpp
5> libOsiCommonTest.vcxproj ->
C:\Clp-1.16.6\Clp\MSVisualStudio\v10\Win32-v100-Debug\libOsiCommonTest.lib
6> ClpSolver.cpp
10>------ Build started: Project: OsiClpUnitTest, Configuration: Debug
Win32 ------
10> osiUnitTest.cpp
6> ClpMain.cpp
6> CbcOrClpParam.cpp
10> OsiClpSolverInterfaceTest.cpp
6> Generating Code...
10> Generating Code...
6>CbcOrClpParam.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification
10>LINK : fatal error LNK1104: cannot open file 'libCoinUtils.lib'
6> clp.vcxproj ->
C:\Clp-1.16.6\Clp\MSVisualStudio\v10\Win32-v100-Debug\clp.exe
========== Build: 6 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/clp/attachments/20151015/3480a77d/attachment.html>
More information about the Clp
mailing list