Hi David,<br><br>There were some issues with the build scripts for TSP. I committed a fix to trunk. Take a look and let me know if it works.<br><br>It now works fine for me on Linux. <br><br>Thanks,<br>Matt<br><br><br><br>
<br><div class="gmail_quote">On Thu, Jan 20, 2011 at 7:29 AM, Matthew Galati <span dir="ltr">&lt;<a href="mailto:matthew.galati@gmail.com">matthew.galati@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I don&#39;t know about cygwin and cplex. I assume it should be fine if<br>
they provide the lib.<br>
<br>
I will check on these examples and get back to you.<br>
<div><div></div><div class="h5"><br>
<br>
On 1/20/11, Lai, Shu-Wo, David &lt;<a href="mailto:laishuwo@gmail.com">laishuwo@gmail.com</a>&gt; wrote:<br>
&gt; Hi Ted,<br>
&gt;<br>
&gt; First, is it possible to use CPLEX under Cgywin environment?<br>
&gt; Second, when I build the TSP and VRP examples as follows.(in Cgywin )<br>
&gt; sh get_boost.sh<br>
&gt; sh get_concorde.sh<br>
&gt; sh get_cvrpsep.sh<br>
&gt; make<br>
&gt;<br>
&gt; the following error appears in making the TSP, similar error also appears<br>
&gt; when I make the VRP.<br>
&gt; Thanks a lot.<br>
&gt;<br>
&gt; ------------------<br>
&gt; ../../../../Dip/examples/TSP/TSP_Concorde.h: In member function `int<br>
&gt; TSP_Concord<br>
&gt; e::generateCutsSubtour(std::vector&lt;ConcordeSubtourCut,<br>
&gt; std::allocator&lt;ConcordeSu<br>
&gt; btourCut&gt; &gt;&amp;)&#39;:<br>
&gt; ../../../../Dip/examples/TSP/TSP_Concorde.h:98: warning: unused variable<br>
&gt; `retCod<br>
&gt; e&#39;<br>
&gt; bla=;\<br>
&gt;         for file in TSP_DecompApp.o TSP_CutGen.o TSP_SubtourCut.o<br>
&gt; TSP_Main.o; do<br>
&gt;  bla=&quot;$bla `cygpath -w $file`&quot;; done; \<br>
&gt;         g++  -O3 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses<br>
&gt; -Wretu<br>
&gt; rn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion<br>
&gt; -Wno-unkn<br>
&gt; own-pragmas   -o decomp_tsp.exe $bla<br>
&gt; `PKG_CONFIG_PATH=/cygdrive/d/DIP/Dip-0.81.3<br>
&gt; /build/lib/pkgconfig: /usr/bin/pkg-config --libs dip`<br>
&gt; TSP_CutGen.o:TSP_CutGen.cpp:(.text+0x103b): undefined reference to<br>
&gt; `_CCtsp_exact<br>
&gt; _subtours&#39;<br>
&gt; TSP_CutGen.o:TSP_CutGen.cpp:(.text+0x140c): undefined reference to<br>
&gt; `_CCtsp_free_<br>
&gt; lpcut_in&#39;<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; make: *** [decomp_tsp.exe] Error 1<br>
&gt;<br>
&gt; Cheers,<br>
&gt; David</div></div></blockquote></div><br>