Hi,

I'm having problems installing the source code and getting up and running on Windows.

Here's what I'd tried so far. I'm assuming (hoping) it's just a simple mistake, but after banging my head against the wall for two days, I thought I'd better ask :-)

My environment is Window 7 (32 bit), Visual C++ 2008 (version 9) (not express version) SP1

 * Installed Python 2.6.6 to C:\Python26 (numpy binary installer for
   2.7 not available)
 * Added C:\Python26 to the PATH
 * Installed numpy-1.6.1-win32-superpack-python2.6.exe
 * Installed CMake 2.8.6
 * Checked out RDKit to C:\SourceCode\rdkit
 * Set the environment variable for RDBASE to C:\SourceCode\rdkit
 * Downloaded Boost 1.48 to C:\SourceCode\boost_1_48_0
 * Installed the GnuWin32 version of Bison to C:\Program Files\GnuWin32\bin
 * Installed the GnuWin32 version of Flex to C:\Program Files\GnuWin32\bin
 * Set the environment variable for PYTHONHOME to c:\python26\
 * Installed boost using their recommended method of running
   bootstrap.bat followed by b2.exe. This is listed here:
   
http://www.boost.org/doc/libs/1_48_0/more/getting_started/windows.html#or-simplified-build-from-source

At this point I have a file called:
C:\SourceCode\boost_1_48_0\boost_1_48_0\stage\lib\libboost_python-vc90-mt-1_48.lib
so I'm assuming boost found python OK

 * Set the environment variable BOOST_ROOT to
   C:\SourceCode\boost_1_48_0\boost_1_48_0\
 * Set the environment variable BOOST_INCLUDEDIR to
   C:\SourceCode\boost_1_48_0\boost_1_48_0\
 * Set the environment variable BOOST_LIBRARYDIR to
   C:\SourceCode\boost_1_48_0\boost_1_48_0\stage\lib\
 * Set the environment variable BISON_SIMPLE to "C:\Program
   Files\GnuWin32\bin"
 * Set the environment variable BISON_EXECUTABLE to "C:\Program
   Files\GnuWin32\bin"

Now we move to CMake...

 * Where is the source code: C:/SourceCode/rdkit
 * Where to build the binaries: C:/SourceCode/rdkit/build
 * Click Configure button and I get this...

>>>Error message

CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1198 (message):

Unable to find the requested Boost libraries.

Boost version: 1.48.0

Boost include path: C:/SourceCode/boost_1_48_0/boost_1_48_0

The following Boost libraries could not be found:

boost_python

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the

directory containing Boost libraries or BOOST_ROOT to the location of

Boost.

Call Stack (most recent call first):

CMakeLists.txt:90 (find_package)

Could NOT find BISON (missing: BISON_EXECUTABLE)

Could NOT find FLEX (missing: FLEX_EXECUTABLE)

CMake Error at Code/GraphMol/SmilesParse/CMakeLists.txt:9 (FLEX_TARGET):

Unknown CMake command "FLEX_TARGET".

Configuring incomplete, errors occurred!


<<<Error message


I've been backwards and forwards changing the environment variables, to no avail.

Any suggestions? (other than - 'move to Linux' :-)

Actually, since I don't want the python interface, a straightforward C++ solution will do.

Thanks,
Alex

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to