[I'm moving this to the mailing list, because I'd like to have it archived for later users]
There's some funny business with boost and mingw. Officially it isn't supported at all with mingw (look at the top of this page: http://www.boost.org/doc/libs/1_37_0/more/getting_started/windows.html), so I did as much as possible with the windows environment. That means backslashes in paths. I did finally verify that I can build using the msys shell (because doing it with command.com was driving me nuts), but it's good to set things up like you're going to be using command.com. -greg On Mon, Nov 17, 2008 at 6:07 PM, Igor Filippov [Contr] <[email protected]> wrote: > Greg, > > These are my environment variables: > export RDBASE=/home/Administrator/rdkit-mingw/ > export BOOSTHOME=/home/Administrator/boost_1_37_0/ > export BOOST_BUILD_PATH=$BOOSTHOME > export BOOSTBASE=$BOOSTHOME > export LD_LIBRARY_PATH=${RDBASE}/Code:/usr/local/lib > export PATH="/c/Program Files (x86)/GnuWin32/bin":$PATH:${RDBASE}/bin > export BISON="/c/Program Files (x86)/GnuWin32/" > export BISON_SIMPLE=${BISON}/share/bison/bison.simple > > I'm rather surprised to see "c:\\" with your setup, my msys shell works > completely unix-like: > $ pwd > /home/Administrator/rdkit-mingw > > Igor > > > On Mon, 2008-11-17 at 17:56 +0100, Greg Landrum wrote: >> It looks to me like there's an environment variable that's set incorrectly. >> For what it's worth, here are my RDBASE and BOOST variables: >> BOOSTHOME and BOOST_BUILD_PATH are both c:\\boost_1_37_0 >> RDBASE is c:\\msys\\1.0\\home\\landrgr1\\RDKit >> (the "\\"s are what I see in the msys shell, the actual windows >> environment variables are set with a single "\") >> >> -greg >> >> On Mon, Nov 17, 2008 at 5:33 PM, Igor Filippov [Contr] >> <[email protected]> wrote: >> > Greg, >> > >> > This is the output I get when trying to compile this branch: >> > ---------------------- >> > Skipping build >> > of: >> > /C:/msys/1.0/home/Administrator/boost_1_37_0/libs/python/build/boost_python >> > <build>no in common properties >> > error: Unable to find file or target named >> > error: >> > '/C:/msys/1.0/home/Administrator/rdkit-mingw//External/Lapack/win32/LAPACK.lib' >> > error: referred from project at >> > error: '.' >> > ---------------------- >> > >> > I believe the path in question should read either /home/Administrator... >> > or /c/msys/1.0/home/Administrator and not /C:/msys.... >> > >> > Best regards, >> > Igor >> > >> > On Sat, 2008-11-15 at 20:07 +0100, Greg Landrum wrote: >> >> Igor, >> >> >> >> I can now successfullly compile the code in the branch: >> >> https://rdkit.svn.sourceforge.net/svnroot/rdkit/branches/mingwBuild_15Nov2008 >> >> with mingw. >> >> There are some (crude) supplemental instructions here: >> >> http://code.google.com/p/rdkit/wiki/BuildingWithMinGW >> >> >> >> I haven't run all the tests yet (some seem to get stuck, but I'm not >> >> sure if that's not my vmware instance), but the build works. >> >> >> >> -greg >> > >> > > >

