<div>Hi, </div>
<div>&nbsp;</div>
<div>To build the project &quot;COIN\Win\ClpSamplesMinimum\ClpSamplesMinimum.dsp&quot;</div>
<div>in Microsoft Visual Studio .NET 2003 (I do not have VC++ 6),</div>
<div>&nbsp;</div>
<div>I first run a .bat file as following:</div>
<div>set COIN_USE=COIN_USE_CLP<br>&quot;C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe&quot;<br><br>Then, in Microsoft Visual Studio .NET 2003, I opened </div>
<div>COIN\Win\ClpSamplesMinimum\ClpSamplesMinimum.dsp</div>
<div>&nbsp;</div>
<div>The Microsoft Visual Studio .NET 2003 let me convert the project to a Microsoft Visual Studio .NET 2003 project.</div>
<div>&nbsp;</div>
<div>Then I build the project and get the following warnings and errors:</div>
<div>-- Is there file missed? or I did not set the environment correctly?</div>
<div>&nbsp;</div>
<div>At the end of the report, there are four </div>
<div>ClpSamplesMinimum error LNK2019: </div>
<div>-- Why did this happen?</div>
<div>&nbsp;</div>
<div>Thanks a lot -- Tony</div>
<div>&nbsp;</div>
<div>here is the building report ----</div>
<div>&nbsp;</div>
<div>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedVectorBase.hpp(66): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedVectorBase.hpp(74): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedVectorBase.hpp(86): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedVectorBase.hpp(115): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedVectorBase.hpp(216): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinShallowPackedVector.hpp(96): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(116): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(123): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(129): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(136): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(166): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(169): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(171): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(177): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(184): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(192): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(205): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(212): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(220): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(234): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(240): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(289): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(295): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(424): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(428): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(433): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(436): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(440): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(445): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(463): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(469): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(476): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(483): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(492): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>d:\WU26\COIN-OR\COIN\Coin\include\CoinPackedMatrix.hpp(496): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)<br>d:\WU26\COIN-OR\COIN\Clp\include\ClpMatrixBase.hpp(130): warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
<br>ClpSamplesMinimum warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification<br>ClpSamplesMinimum error LNK2019: unresolved external symbol &quot;public: __thiscall ClpSimplex::~ClpSimplex(void)&quot; (
<a href="mailto:??1ClpSimplex@@QAE@XZ">??1ClpSimplex@@QAE@XZ</a>) referenced in function _main<br>ClpSamplesMinimum error LNK2019: unresolved external symbol &quot;public: int __thiscall ClpSimplex::primal(int,int)&quot; (
<a href="mailto:?primal@ClpSimplex@@QAEHHH@Z">?primal@ClpSimplex@@QAEHHH@Z</a>) referenced in function _main<br>ClpSamplesMinimum error LNK2019: unresolved external symbol &quot;public: int __thiscall ClpSimplex::readMps(char const *,bool,bool)&quot; (
<a href="mailto:?readMps@ClpSimplex@@QAEHPBD_N1@Z">?readMps@ClpSimplex@@QAEHPBD_N1@Z</a>) referenced in function _main<br>ClpSamplesMinimum error LNK2019: unresolved external symbol &quot;public: __thiscall ClpSimplex::ClpSimplex(void)&quot; (
<a href="mailto:??0ClpSimplex@@QAE@XZ">??0ClpSimplex@@QAE@XZ</a>) referenced in function _main<br>ClpSamplesMinimum fatal error LNK1120: 4 unresolved externals<br>&nbsp;</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 11/17/05, <b class="gmail_sendername">J P Fasano</b> &lt;<a href="mailto:jpfasano@us.ibm.com">jpfasano@us.ibm.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Tony,<br>&nbsp;&nbsp;Are you already using the MS Visual C++ V6 build process described in<br>COIN\Win\readme.txt?<br>
&nbsp;&nbsp;If not, then you might want to try using it (see COIN\Win\readme.txt).<br><br>&nbsp;&nbsp;I just added another project<br>(COIN\Win\ClpSamplesMinimum\ClpSamplesMinimum.dsp) for building<br>COIN\Clp\Samples\minimum.cpp.<br><br>JP Fasano
<br><a href="mailto:jpfasano@us.ibm.com">jpfasano@us.ibm.com</a><br>(914)945-1324&nbsp;&nbsp;(tie line 862-1324)<br>COIN-OR <a href="http://www.coin-or.org">www.coin-or.org</a><br><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tony Wu<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;
tony.wu.llnl@gma<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://il.com">il.com</a>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sent by:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:coin-discuss@list.coin-or.org">coin-discuss@list.coin-or.org
</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coin-discuss-boun&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cc<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:ces@list.coin-or">ces@list.coin-or</a>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:tony.wu.llnl@gmail.com">tony.wu.llnl@gmail.com
</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;org&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;software for<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Operations<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Research
<br><br><br><br><br><br><br>Hi,<br><br>In the MS Visual C++, I set up a project with the source file<br>COIN\Clp\Samples\minimum.cpp<br><br>On the tools\options dialog window of MS Visual C++,<br>At the Projects -&gt; VC++ Directories : Include files, I added the following
<br>folders:<br>COIN\Osi\include<br>COIN\Clp\include<br>COIN\Coin\include<br>COIN\Cgl\include<br>At the Projects -&gt; VC++ Directories : Sources files, I added the following<br>folders:<br>COIN\Osi<br>COIN\Clp<br>COIN\Coin
<br>COIN\Cgl<br><br>When I try to build the project, it reports:<br>TestCLP5 error LNK2020: unresolved token (0A00000A) ClpSimplex.__dtor<br>TestCLP5 fatal error LNK1120: 1 unresolved externals<br><br>Does anybody have suggetions on solving this problem?
<br><br>Thanks in advance!<br>Tony<br>_______________________________________________<br>Coin-discuss mailing list<br><a href="mailto:Coin-discuss@list.coin-or.org">Coin-discuss@list.coin-or.org</a><br><a href="http://list.coin-or.org/mailman/listinfo/coin-discuss">
http://list.coin-or.org/mailman/listinfo/coin-discuss</a><br><br><br>_______________________________________________<br>Coin-discuss mailing list<br><a href="mailto:Coin-discuss@list.coin-or.org">Coin-discuss@list.coin-or.org
</a><br><a href="http://list.coin-or.org/mailman/listinfo/coin-discuss">http://list.coin-or.org/mailman/listinfo/coin-discuss</a><br></blockquote></div><br>