[Dip] error in building DIP in Cygwin

woody lai woodylai at gmail.com
Tue Dec 21 05:49:51 EST 2010


I try out the Dip-0.81.0 again. It built without any error with
"../configure", "make". "make install".
However, the same error appear when I build the examples.

cd D:\Dip-0.81.0\build\Dip\examples\SmallIP
make

Thanks in advance!

Best regards,
Woody

---------------------------------
woody at sepc183 /cygdrive/d/Dip-0.81.0/build/Dip/examples/SmallIP
$ make
bla=;\
        for file in SmallIP_Main.o SmallIP_DecompApp.o; do bla="$bla
`cygpath -w
 $file`"; done; \
        g++  -O3 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses
-Wretu
rn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion
-Wno-unkn
own-pragmas   -o decomp_smallip.exe $bla
 -L/cygdrive/d/Dip-0.81.0/build/lib/coi
n/coin -lDecomp  -L/cygdrive/d/Dip-0.81.0/build/Cbc/src/OsiCbc
-L/cygdrive/d/Dip
-0.81.0/build/Cbc/src -L/cygdrive/d/Dip-0.81.0/build/Cgl/src
-L/cygdrive/d/Dip-0
.81.0/build/Clp/src/OsiClp -L/cygdrive/d/Dip-0.81.0/build/Clp/src
-L/cygdrive/d/
Dip-0.81.0/build/Osi/src/Osi -L/cygdrive/d/Dip-0.81.0/build/CoinUtils/src
-lOsiC
bc -lCbcSolver -lCbc -lCgl -lOsiClp -lClp -lOsi -lCoinUtils -llapack -lblas
-lm
  -L/cygdrive/d/Dip-0.81.0/build/Cgl/src
-L/cygdrive/d/Dip-0.81.0/build/Clp/src/
OsiClp -L/cygdrive/d/Dip-0.81.0/build/Clp/src
-L/cygdrive/d/Dip-0.81.0/build/Osi
/src/Osi -L/cygdrive/d/Dip-0.81.0/build/CoinUtils/src -lCgl -lOsiClp -lClp
-lOsi
 -lCoinUtils -llapack -lblas -lm
-L/cygdrive/d/Dip-0.81.0/build/Clp/src/OsiClp
 -L/cygdrive/d/Dip-0.81.0/build/Clp/src
-L/cygdrive/d/Dip-0.81.0/build/Osi/src/O
si -L/cygdrive/d/Dip-0.81.0/build/CoinUtils/src -lOsiClp -lClp -lOsi
-lCoinUtils
 -llapack -lblas -lm   -L/cygdrive/d/Dip-0.81.0/build/Alps/src
-L/cygdrive/d/Dip
-0.81.0/build/Osi/src/Osi -L/cygdrive/d/Dip-0.81.0/build/CoinUtils/src -lOsi
-lA
lps -lCoinUtils -llapack -lblas -lm
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lDecomp
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lOsiCbc
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lCbcSolver
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lCbc
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lCgl
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lOsiClp
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lClp
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lOsi
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lCoinUtils
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lCgl
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lOsiClp
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lClp
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lOsi
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lCoinUtils
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lOsiClp
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lClp
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lOsi
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lCoinUtils
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lOsi
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lAlps
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
find
 -lCoinUtils
collect2: ld returned 1 exit status
make: *** [decomp_smallip.exe] Error 1




On Tue, Dec 21, 2010 at 5:12 PM, woody lai <woodylai at gmail.com> wrote:

> I have done "make install" and "make test".
> No error messages appear.
>
> On Tue, Dec 21, 2010 at 5:03 PM, Ted Ralphs <ted at lehigh.edu> wrote:
>
>> Did you do "make install"? You have to do that before making any of
>> the examples, as they link to the installed libraries.
>>
>> Cheers,
>>
>> Ted
>>
>> On Tue, Dec 21, 2010 at 7:47 PM, woody lai <woodylai at gmail.com> wrote:
>> >
>> > Thanks Ted for your quick reply. It works now! I built it successfully
>> using
>> > the updated "make.exe" as suggested on the website.
>> > However, when I proceed to build the examples and another error appear.
>> > cd D:\Dip-0.81.0\build\Dip\examples\SmallIP
>> > make
>> > .......
>> > ......
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lDecomp
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lOsiCbc
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lCbcSolver
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lCbc
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lCgl
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lOsiClp
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lClp
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lOsi
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lCoinUtils
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lCgl
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lOsiClp
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lClp
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lOsi
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lCoinUtils
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lOsiClp
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lClp
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lOsi
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lCoinUtils
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lOsi
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lAlps
>> > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot
>> > find
>> >  -lCoinUtils
>> > collect2: ld returned 1 exit status
>> > make: *** [decomp_smallip.exe] Error 1
>> >
>> > On Tue, Dec 21, 2010 at 3:42 PM, Ted Ralphs <ted at lehigh.edu> wrote:
>> >>
>> >> This error is due to a well-known bug in the version of GNU make that
>> >> comes with some versions of CYGWIN. See the description of the problem
>> >> here:
>> >>
>> >> https://projects.coin-or.org/BuildTools/wiki/current-issues
>> >>
>> >> Cheers,
>> >>
>> >> Ted
>> >>
>> >> On Tue, Dec 21, 2010 at 6:15 PM, woody lai <woodylai at gmail.com> wrote:
>> >> > hi all,
>> >> > Could anyone let me know to build DIP in Cygwin? I'm very new to
>> >> > programming
>> >> > in Unix environment.
>> >> > When I try to "make install" Dip-0.8.7, it has
>> the [install-recursive]
>> >> > Error
>> >> > 1.
>> >> > Thanks a lot in advance.
>> >> > Best regards
>> >> > Woody
>> >> > After doing
>> >> >  (1) mkdir build
>> >> >  (2) cd ${DECOMP_ROOT}/build
>> >> >  (3) ../configure
>> >> >  (4) make
>> >> > .....
>> >> > .....
>> >> > make[1]: Entering directory `/cygdrive/d/Dip-0.8.7/build'
>> >> > make[1]: Nothing to be done for `all-am'.
>> >> > make[1]: Leaving directory `/cygdrive/d/Dip-0.8.7/build'
>> >> > Woody at sepc183 /cygdrive/d/Dip-0.8.7/build
>> >> > $ make install
>> >> > Making install in Dip
>> >> > make[1]: Entering directory `/cygdrive/d/Dip-0.8.7/build/Dip'
>> >> > Making install in src
>> >> > make[2]: Entering directory `/cygdrive/d/Dip-0.8.7/build/Dip/src'
>> >> > .deps/AlpsDecompModel.Plo:1: *** multiple target patterns.  Stop.
>> >> > make[2]: Leaving directory `/cygdrive/d/Dip-0.8.7/build/Dip/src'
>> >> > make[1]: *** [install-recursive] Error 1
>> >> > make[1]: Leaving directory `/cygdrive/d/Dip-0.8.7/build/Dip'
>> >> > make: *** [install-recursive] Error 1
>> >> > _______________________________________________
>> >> > Dip mailing list
>> >> > Dip at list.coin-or.org
>> >> > http://list.coin-or.org/mailman/listinfo/dip
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Dr. Ted Ralphs
>> >> Associate Professor, Lehigh University
>> >> (610) 628-1280
>> >> ted 'at' lehigh 'dot' edu
>> >> coral.ie.lehigh.edu/~ted
>> >
>> >
>>
>>
>>
>> --
>> Dr. Ted Ralphs
>> Associate Professor, Lehigh University
>> (610) 628-1280
>> ted 'at' lehigh 'dot' edu
>> coral.ie.lehigh.edu/~ted
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/dip/attachments/20101221/52ebc11b/attachment.html 


More information about the Dip mailing list