Re: [Rdkit-discuss] minGW fails to build rdkit

2016-12-21 Thread Yingfeng Wang
Paolo, Could you please let me know the version of your minGW and how you got or built boost with minGW. I kept getting errors like "duplicate section" with different size. Thanks. Yingfeng On Tue, Dec 20, 2016 at 10:13 AM, Yingfeng Wang wrote: > Paolo, > > Thanks. I

Re: [Rdkit-discuss] minGW fails to build rdkit

2016-12-20 Thread Paul Emsley
On 20/12/16 15:13, Yingfeng Wang wrote: > Paolo, > > Thanks. I figure out this problem. The new cmake command is > > cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ > -DMSVC_RUNTIME_DLL=C:/Windows/System32/msvcr100.dll > -DRDK_USE_BOOST_SERIALIZATION=OFF -DBOOST_ROOT=C:/boost >

Re: [Rdkit-discuss] minGW fails to build rdkit

2016-12-20 Thread Yingfeng Wang
Paolo, Thanks. I figure out this problem. The new cmake command is cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DMSVC_RUNTIME_DLL=C:/Windows/System32/msvcr100.dll -DRDK_USE_BOOST_SERIALIZATION=OFF -DBOOST_ROOT=C:/boost -DCMAKE_INSTALL_PREFIX=C:/software/RDKit/install_2016_09_2

Re: [Rdkit-discuss] minGW fails to build rdkit

2016-12-20 Thread Paolo Tosco
Dear Yingfeng, I can build the latest RDKIt trunk from a MSYS2 shell using the following cmake command: cmake -DEIGEN3_INCLUDE_DIR=/c/build/include/eigen3 -DBOOST_LIBRARYDIR=/mingw64/bin -DBOOST_ROOT=/mingw64 -DPYTHON_NUMPY_INCLUDE_PATH=/mingw64/include/python2.7

[Rdkit-discuss] minGW fails to build rdkit

2016-12-19 Thread Yingfeng Wang
I try to use minGW to build rdkit_2016_09_2, which is from the following link. https://github.com/rdkit/rdkit/archive/Release_2016_09_2.zip cmake command is cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DMSVC_RUNTIME_DLL="C:\Windows\System32\msvcr100.dll" -DBOOST_ROOT="C:\boost"