[MSVisualStudio-tickets] [BuildTools - Visual Studio] #7: Clp-1.14.1.zip not compiling under VS9
BuildTools - Visual Studio
coin-trac at coin-or.org
Tue Aug 23 19:39:39 EDT 2011
#7: Clp-1.14.1.zip not compiling under VS9
------------------------+---------------------------------------------------
Reporter: amas008 | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone:
Component: component1 | Version: VS2008
Keywords: |
------------------------+---------------------------------------------------
I downloaded Clp-1.14.1.zip, extracted it, double clicked
Clp-1.14.1\Clp\MSVisualStudio\v9\Clp.sln to open up Visual Studio 9, made
'clp' the default project, and tried to build the project. (I also tried
batch-building everything, and switching to release and then to debug.) I
get the errors for the clp project shown in the following output:
1>------ Skipped Build: Project: ClpExamplesTestQP, Configuration: Release
Win32 ------
1>Project not selected to build for this solution configuration
2>------ Skipped Build: Project: ClpExamplesTestBarrier, Configuration:
Release Win32 ------
2>Project not selected to build for this solution configuration
3>------ Skipped Build: Project: ClpExamplesMinimum, Configuration:
Release Win32 ------
3>Project not selected to build for this solution configuration
4>------ Build started: Project: clp, Configuration: Release Win32 ------
4>Linking...
4>ClpMain.obj : error LNK2019: unresolved external symbol "void __cdecl
saveSolution(class ClpSimplex const *,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >)"
(?saveSolution@@YAXPBVClpSimplex@@V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
referenced in function __catch$_main$0
4>ClpMain.obj : error LNK2019: unresolved external symbol "public: int
__thiscall CbcOrClpParam::setIntParameter(class ClpSimplex *,int)"
(?setIntParameter at CbcOrClpParam@@QAEHPAVClpSimplex@@H at Z) referenced in
function _main
4>ClpMain.obj : error LNK2019: unresolved external symbol "public: int
__thiscall CbcOrClpParam::setDoubleParameter(class ClpSimplex *,double)"
(?setDoubleParameter at CbcOrClpParam@@QAEHPAVClpSimplex@@N at Z) referenced in
function _main
4>D:\Documents\Projects\OpenSolver\Coin-OR CLP
Solver\Clp-1.14.1\Clp-1.14.1\Clp\MSVisualStudio\v9\Release\clp.exe : fatal
error LNK1120: 3 unresolved externals
4>Build log was saved at "file://d:\Documents\Projects\OpenSolver\Coin-OR
CLP
Solver\Clp-1.14.1\Clp-1.14.1\Clp\MSVisualStudio\v9\clp\Release\BuildLog.htm"
4>clp - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 6 up-to-date, 3 skipped
==========
Any suggestions? I want to use CLP within OpenSolver.org, but I need to be
able to load .lp files which doesn't work in the pre-compiled CLP binary
for Win32. Thanks,
Andrew
PS: I am running Vista.
--
Ticket URL: <https://projects.coin-or.org/MSVisualStudio/ticket/7>
BuildTools - Visual Studio <http://projects.coin-or.org/MSVisualStudio>
Information about building COIN-OR projects in Microsoft Visual Studio.
More information about the MSVisualStudio-tickets
mailing list