[Symphony] Configuring Symphony on Visual Studio 10

Ted Ralphs ted at lehigh.edu
Wed Jun 27 11:02:45 EDT 2012


I just did a fresh checkout and build from scratch. The problem is that the
install path is set wrong in the properties of libOsiCommonTest.lib. I'm
not sure how that was missed. The "missing" library is built but not found
for linking because of the incorrect path.

I could not replicate the problem with not finding libSymphony.lib.
Sometimes, VisualStudio builds things in parallel and then tries to link to
something that hasn't been built yet. If you rebuild, that error should go
away. I suspect all of this is fixed in later version of SYMPHONY. I am
trying with 5.4.4 now and I would recommend switching to that one in any
case.

With all of that said, the failure due to the incorrect path is only for
linking the unit test, not SYMPHONY itself. If you build just the
"symphony" project and not the whole solution, you should get a SYMPHONY
executable installed without problems (with the caveat that you may have to
"rebuild" once if you get an error).

Cheers,

Ted

On Wed, Jun 27, 2012 at 9:12 AM, <VimalMathew at eaton.com> wrote:

>  How do I do this?****
>
> Yes, the missing library exists in
> C:\SYMPHONY-5.4.0\SYMPHONY\MSVisualStudio\v10\Debug ****
>
> ** **
>
> --****
>
> Vimal****
>
> ** **
>
> *From:* Ganymede Hammel [mailto:hammyz at gmail.com]
> *Sent:* Tuesday, June 26, 2012 9:03 PM
> *To:* Mathew, Vimal
> *Cc:* symphony at list.coin-or.org
> *Subject:* Re: [Symphony] Configuring Symphony on Visual Studio 10****
>
> ** **
>
> the way i got it to work was to explicitly include every library and
> header file into the project i was working on. i assume these libs exist
> and it just didn't find them?****
>
> ** **
>
> On Tue, Jun 26, 2012 at 4:24 PM, <VimalMathew at eaton.com> wrote:****
>
> Hi,****
>
>  ****
>
> I’m trying to configure and build Symphony-5.4.0 on Visual Studio 10.****
>
> Right now documentation exists only for VS 8 and I get the following error
> when I try to build in VS 10:****
>
>  ****
>
> 1>------ Build started: Project: libOsi, Configuration: Debug Win32 ------
> ****
>
> 2>------ Build started: Project: libCoinUtils, Configuration: Debug Win32
> ------****
>
> 1>Build started 6/26/2012 4:16:26 PM.****
>
> 2>Build started 6/26/2012 4:16:26 PM.****
>
> 2>InitializeBuildStatus:****
>
> 2>  Creating "Win32\Debug\libCoinUtils.unsuccessfulbuild" because
> "AlwaysCreate" was specified.****
>
> 2>ClCompile:****
>
> 2>  All outputs are up-to-date.****
>
> 2>Lib:****
>
> 2>  All outputs are up-to-date.****
>
> 1>InitializeBuildStatus:****
>
> 1>  Creating "Win32\Debug\libOsi.unsuccessfulbuild" because "AlwaysCreate"
> was specified.****
>
> 1>ClCompile:****
>
> 1>  All outputs are up-to-date.****
>
> 1>Lib:****
>
> 1>  All outputs are up-to-date.****
>
> 1>  libOsi.vcxproj ->
> C:\Users\C9995799\Downloads\SYMPHONY-5.4.0\SYMPHONY\MSVisualStudio\v10\Win32\Debug\libOsi.lib
> ****
>
> 1>FinalizeBuildStatus:****
>
> 2>  libCoinUtils.vcxproj ->
> C:\Users\C9995799\Downloads\SYMPHONY-5.4.0\SYMPHONY\MSVisualStudio\v10\Win32\Debug\libCoinUtils.lib
> ****
>
> 1>  Deleting file "Win32\Debug\libOsi.unsuccessfulbuild".****
>
> 1>  Touching "Win32\Debug\libOsi.lastbuildstate".****
>
> 1>****
>
> 1>Build succeeded.****
>
> 1>****
>
> 1>Time Elapsed 00:00:00.21****
>
> 2>FinalizeBuildStatus:****
>
> 2>  Deleting file "Win32\Debug\libCoinUtils.unsuccessfulbuild".****
>
> 2>  Touching "Win32\Debug\libCoinUtils.lastbuildstate".****
>
> 2>****
>
> 2>Build succeeded.****
>
> 2>****
>
> 2>Time Elapsed 00:00:00.17****
>
> 3>------ Build started: Project: libSymphony, Configuration: Debug Win32
> ------****
>
> 3>Build started 6/26/2012 4:16:26 PM.****
>
> 3>InitializeBuildStatus:****
>
> 3>  Creating "Win32\Debug\libSymphony.unsuccessfulbuild" because
> "AlwaysCreate" was specified.****
>
> 4>------ Build started: Project: libOsiSym, Configuration: Debug Win32
> ------****
>
> 5>------ Build started: Project: milp, Configuration: Debug Win32 ------**
> **
>
> 4>Build started 6/26/2012 4:16:26 PM.****
>
> 3>ClCompile:****
>
> 3>  All outputs are up-to-date.****
>
> 4>InitializeBuildStatus:****
>
> 4>  Creating "Win32\Debug\libOsiSym.unsuccessfulbuild" because
> "AlwaysCreate" was specified.****
>
> 4>ClCompile:****
>
> 4>  All outputs are up-to-date.****
>
> 3>Lib:****
>
> 3>  All outputs are up-to-date.****
>
> 3>  libSymphony.vcxproj ->
> C:\Users\C9995799\Downloads\SYMPHONY-5.4.0\SYMPHONY\MSVisualStudio\v10\Win32\Debug\libSymphony.lib
> ****
>
> 4>Lib:****
>
> 4>  All outputs are up-to-date.****
>
> 4>  libOsiSym.vcxproj ->
> C:\Users\C9995799\Downloads\SYMPHONY-5.4.0\SYMPHONY\MSVisualStudio\v10\Win32\Debug\libOsiSym.lib
> ****
>
> 3>FinalizeBuildStatus:****
>
> 3>  Deleting file "Win32\Debug\libSymphony.unsuccessfulbuild".****
>
> 3>  Touching "Win32\Debug\libSymphony.lastbuildstate".****
>
> 3>****
>
> 3>Build succeeded.****
>
> 3>****
>
> 3>Time Elapsed 00:00:00.09****
>
> 4>FinalizeBuildStatus:****
>
> 4>  Deleting file "Win32\Debug\libOsiSym.unsuccessfulbuild".****
>
> 4>  Touching "Win32\Debug\libOsiSym.lastbuildstate".****
>
> 4>****
>
> 4>Build succeeded.****
>
> 4>****
>
> 4>Time Elapsed 00:00:00.05****
>
> 5>Build started 6/26/2012 4:16:26 PM.****
>
> 5>InitializeBuildStatus:****
>
> 5>  Touching ".\Debug\milp.unsuccessfulbuild".****
>
> 5>ClCompile:****
>
> 6>------ Build started: Project: symphony, Configuration: Debug Win32
> ------****
>
> 5>  All outputs are up-to-date.****
>
> 5>ManifestResourceCompile:****
>
> 5>  All outputs are up-to-date.****
>
> 6>Build started 6/26/2012 4:16:27 PM.****
>
> 6>InitializeBuildStatus:****
>
> 6>  Creating "Win32\Debug\symphony.unsuccessfulbuild" because
> "AlwaysCreate" was specified.****
>
> 6>ClCompile:****
>
> 6>  All outputs are up-to-date.****
>
> 6>ManifestResourceCompile:****
>
> 6>  All outputs are up-to-date.****
>
> 6>Link:****
>
> 6>  All outputs are up-to-date.****
>
> 6>Manifest:****
>
> 6>  All outputs are up-to-date.****
>
> 7>------ Build started: Project: unitTest, Configuration: Debug Win32
> ------****
>
> 7>Build started 6/26/2012 4:16:27 PM.****
>
> 5>LINK : fatal error LNK1104: cannot open file '..\lib\libSymphony.lib'***
> *
>
> 5>****
>
> 6>FinalizeBuildStatus:****
>
> 6>  Deleting file "Win32\Debug\symphony.unsuccessfulbuild".****
>
> 6>  Touching "Win32\Debug\symphony.lastbuildstate".****
>
> 6>****
>
> 6>Build succeeded.****
>
> 6>****
>
> 6>Time Elapsed 00:00:00.36****
>
> 5>Build FAILED.****
>
> 5>****
>
> 5>Time Elapsed 00:00:00.40****
>
> 7>InitializeBuildStatus:****
>
> 7>  Touching "Win32\Debug\unitTest.unsuccessfulbuild".****
>
> 7>ClCompile:****
>
> 7>  All outputs are up-to-date.****
>
> 7>ManifestResourceCompile:****
>
> 7>  All outputs are up-to-date.****
>
> 7>LINK : fatal error LNK1104: cannot open file 'libOsiCommonTest.lib'****
>
> 7>****
>
> 7>Build FAILED.****
>
> 7>****
>
> 7>Time Elapsed 00:00:00.36****
>
> ========== Build: 5 succeeded, 2 failed, 4 up-to-date, 0 skipped ==========
> ****
>
>  ****
>
> Could you help me, please?****
>
> I’m following the User Manual instruction for Symphony-5.4.0****
>
>  ****
>
> Thanks****
>
> Vimal****
>
>  ****
>
>
> _______________________________________________
> Symphony mailing list
> Symphony at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/symphony****
>
> ** **
>
> _______________________________________________
> Symphony mailing list
> Symphony at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/symphony
>
>


-- 
Dr. Ted Ralphs
Associate Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted <http://coral.ie.lehigh.edu/%7Eted>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20120627/e7f08e1c/attachment-0001.html>


More information about the Symphony mailing list