[Cgl] Re: SYMPHONY Cygwin/cl
Ted Ralphs
tkralphs at lehigh.edu
Sat Oct 27 15:03:54 EDT 2007
There seems to be a problem with Cgl (as you would expect from the
errors you were seeing with SYMPHONY). I'm not sure why the problem is
manifesting itself in quite the way you are seeing. I am building
CoinAll with
./configure --enable-doscompile=msvc
and the compilation fails when linking Cbc with the following error:
LINK : fatal error LNK1181: cannot open input file
'C:/cygwin/home/ted/COIN/build-cl/Cgl/src/.libs/libCgl.lib'
In fact, the file referenced is not there for some reason. If I try to
make in the Cgl subdirectory, it says everything is up to date, but if I
do "make install" in the same subdirectory, this actually also fails:
/usr/bin/install: cannot stat `.libs/libCgl.lib': No such file or directory
This indicates something really is wrong with Cgl itself. I recall
wrestling with a problem like this in the past sometime, but don't
remember the details. I guess it has something to do with Cgl's unique
build structure as an amalgamation of individual sublibraries. I will
look at it a little more and see if I can figure anything out.
Cheers,
Ted
huanyuan sheng wrote:
> Hi Ted,
>
> Really appreciate your prompt reply.
>
> It is kinda tricky to get coin projects run on cygwin/cl if you want to
> use CXX=cl options. As we discovered, first step is to set cygwin path
> in the following order (the example on my machine is attached to this
> email):
> MSVC command directories, cygwin command directories,
> Windows command directories.
>
> Hope this would help.
>
> Wayne
>
>
>
>
> ----- Original Message ----- From: "Ted Ralphs" <tkralphs at Lehigh.EDU>
> To: "huanyuan sheng" <h-sheng at northwestern.edu>
> Sent: Saturday, October 27, 2007 12:12 PM
> Subject: Re: SYMPHONY Cygwin/cl
>
>
>> Hi Wayne,
>>
>> I'm not sure how you even got SYMPHONY to configure with CL under
>> CYGWIN. On my machine, it fails because it tries to use g77 to compile
>> a Fortran program and the output is a .o file instead of .obj, which
>> is what it's looking for. This doesn't happen for you? What Fortran
>> compile is configure finding?
>>
>> Can you try configuring without LD=link and see what happens?
>>
>> Cheers,
>>
>> Ted
>> --
>> Dr. Ted Ralphs
>> Associate Professor
>> Industrial and Systems Engineering
>> Lehigh University
>> (610)758-4784
>> ted at lehigh dot edu
>> www.lehigh.edu/~tkr2
>>
> .::/cygdrive/c/Program Files/Microsoft Visual Studio
> 8/Common7/IDE:/cygdrive/c/P
> rogram Files/Microsoft Visual Studio 8/VC/bin:/cygdrive/c/Program
> Files/Microsof
> t Visual Studio 8/Common7/Tools:/cygdrive/c/Program Files/Microsoft
> Visual Studi
> o 8/SDK/v2.0/Bin:/cygdrive/c/Program Files/Microsoft Visual Studio
> 8/VC/vcpackag
> es:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.0.50727:/InstRoot/bin:/usr/loc
>
> al/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WIN
>
> DOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/ATI
> Technologie
> s/ATI Control Panel:/cygdrive/c/Program Files/Common Files/Roxio
> Shared/DLLShare
> d/:/cygdrive/c/Program Files/QuickTime/QTSystem/:/cygdrive/c/Program
> Files/Micro
> soft SQL Server/90/Tools/binn/:/cygdrive/c/Program Files/Microsoft
> Platform SDK
> for Windows Server 2003 R2/Bin/:/cygdrive/c/Program Files/Microsoft
> Platform SDK
> for Windows Server 2003 R2/Bin/WinNT/:/cygdrive/c/Program Files/SSH
> Communicati
> ons Security/SSH Secure Shell:/cygdrive/c/Program Files/Microsoft
> Platform SDK f
> or Windows Server 2003 R2/Bin/:/cygdrive/c/Program Files/Microsoft
> Platform SDK
> for Windows Server 2003 R2/Bin/WinNT/:/cygdrive/d/SSH:/usr/lib/lapack
--
Dr. Ted Ralphs
Associate Professor
Industrial and Systems Engineering
Lehigh University
(610)758-4784
ted at lehigh dot edu
www.lehigh.edu/~tkr2
More information about the Cgl
mailing list