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"><<a href="mailto:matthew.galati@gmail.com">matthew.galati@gmail.com</a>></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'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 <<a href="mailto:laishuwo@gmail.com">laishuwo@gmail.com</a>> wrote:<br>
> Hi Ted,<br>
><br>
> First, is it possible to use CPLEX under Cgywin environment?<br>
> Second, when I build the TSP and VRP examples as follows.(in Cgywin )<br>
> sh get_boost.sh<br>
> sh get_concorde.sh<br>
> sh get_cvrpsep.sh<br>
> make<br>
><br>
> the following error appears in making the TSP, similar error also appears<br>
> when I make the VRP.<br>
> Thanks a lot.<br>
><br>
> ------------------<br>
> ../../../../Dip/examples/TSP/TSP_Concorde.h: In member function `int<br>
> TSP_Concord<br>
> e::generateCutsSubtour(std::vector<ConcordeSubtourCut,<br>
> std::allocator<ConcordeSu<br>
> btourCut> >&)':<br>
> ../../../../Dip/examples/TSP/TSP_Concorde.h:98: warning: unused variable<br>
> `retCod<br>
> e'<br>
> bla=;\<br>
> for file in TSP_DecompApp.o TSP_CutGen.o TSP_SubtourCut.o<br>
> TSP_Main.o; do<br>
> bla="$bla `cygpath -w $file`"; done; \<br>
> g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses<br>
> -Wretu<br>
> rn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion<br>
> -Wno-unkn<br>
> own-pragmas -o decomp_tsp.exe $bla<br>
> `PKG_CONFIG_PATH=/cygdrive/d/DIP/Dip-0.81.3<br>
> /build/lib/pkgconfig: /usr/bin/pkg-config --libs dip`<br>
> TSP_CutGen.o:TSP_CutGen.cpp:(.text+0x103b): undefined reference to<br>
> `_CCtsp_exact<br>
> _subtours'<br>
> TSP_CutGen.o:TSP_CutGen.cpp:(.text+0x140c): undefined reference to<br>
> `_CCtsp_free_<br>
> lpcut_in'<br>
> collect2: ld returned 1 exit status<br>
> make: *** [decomp_tsp.exe] Error 1<br>
><br>
> Cheers,<br>
> David</div></div></blockquote></div><br>