Hi Michael,
On Tue, Feb 4, 2014 at 2:40 AM, Michael Mysinger <[email protected]> wrote:
>
> I am having trouble compiling 2013.09.02 on Windows 7. In the past we had
> been using 2012.12.1, which we were able to get to compile to both x86 and
> x64 using MSVC 2008 SP1 from the SDK. We want to compile with that version
> to be compatible with a whole series of tools, and to limit redistributable
> packaging to the minimum.
>
>
I don't think this should be a problem.
> So, first for x64, I tried using the same build procedure I used before,
> but it now fails. The build command were:
> > cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
> -DCMAKE_INSTALL_PREFIX="" -DBOOST_ROOT="c:\build\x64\boost" ..
> > nmake
> > nmake install
>
> But it fails at the nmake stage with:
>
> ...
> [ 32%] Built target GraphMol
> [ 32%] [BISON][SmilesY] Building parser with bison 2.7.1
> NMAKE : fatal error U1077: 'c:\cygwin64\bin\bison.exe' : return code
> '0xd00'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 9.0\
> VC\Bin\amd64\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 9.0\
> VC\Bin\amd64\nmake.exe"' : return code '0x2'
> Stop.
>
> I tried to find the Bison command to replicate, but cmake is still magic
> to me. Any ideas where to start here?
>
bison used to be a necessary component of the build, but it is no longer
required. I'm somewhat surprised that you're seeing this particular error.
Can you please confirm that in $RDBASE/Code/GraphMol/SmilesParse you have
the files:
lex.yysmarts.cpp.cmake and, hopefully, lex.yysmarts.cpp?
You can also check in the cmake gui if BISON_EXECUTABLE is defined. If it
is, delete the variable, and then re-run configure and generate.
-greg
>
> Backtracking to the new manuals instructions, I also tried several
> different ways to tell it I was using MSVC 2008 SP x64, along the lines of:
> > cmake -DBOOST_ROOT=c:\build\x64\boost -G"Visual Studio 9 2008 Win64" ..
>
> But all attempts failed, this one with cannot find that target compiler
> type error like:
> CMake Error: CMake was unable to find a build program corresponding to
> "Visual Studio 9 2008 Win64".
> CMAKE_MAKE_PROGRAM is not set. You probably need to select a different
> build tool.
>
> Is there already a way to get it to compile with MSVC 2008 SDK?
>
> Thanks,
> Michael
>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Rdkit-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss