[Dip] error in building DIP in Cygwin

Ted Ralphs ted at lehigh.edu
Tue Dec 21 04:03:58 EST 2010


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




More information about the Dip mailing list