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"
-DCMAKE_INSTALL_PREFIX=C:\software\RDKit\install_2016_09_2
-DRDK_BUILD_INCHI_SUPPORT=ON -DRDK_BUILD_PYTHON_WRAPPERS=OFF -G "MinGW
Makefiles" ..

Error happens when running mingw32-make
Error message is given as follows.

Scanning dependencies of target RDGeneral
[ 12%] Building CXX object
Code/RDGeneral/CMakeFiles/RDGeneral.dir/Invariant.cpp.obj
'ccache' is not recognized as an internal or external command,
operable program or batch file.
Code\RDGeneral\CMakeFiles\RDGeneral.dir\build.make:62: recipe for target
'Code/RDGeneral/CMakeFiles/RDGeneral.dir/Invariant.cpp.obj' failed
mingw32-make[2]: ***
[Code/RDGeneral/CMakeFiles/RDGeneral.dir/Invariant.cpp.obj] Error 1
CMakeFiles\Makefile2:494: recipe for target
'Code/RDGeneral/CMakeFiles/RDGeneral.dir/all' failed
mingw32-make[1]: *** [Code/RDGeneral/CMakeFiles/RDGeneral.dir/all] Error 2
Makefile:159: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

By the way, the information of compiler is given in the following.

C:\software\RDKit\rdkit-Release_2016_09_2\build>g++ -v
Reading specs from
c:/mingw_win_build/bin/../lib/gcc/i686-w64-mingw32/4.8.3/specs
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=c:/mingw_win_build/bin/../libexec/gcc/i686-w64-mingw32/4.8.3
/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: ../gcc-4.8.3/configure --prefix=/opt/windows_32
--with-sysroot=/opt/windows_32 --libdir=/opt/windows_32/lib
--mandir=/opt/windows_32/man --infodir=/opt/windows_32/info --enable-shared
--disable-bootstrap --disable-multilib--with-arch=pentium3
--enable-threads=posix --enable-languages=c,c++ --enable-checking=release
--enable-libgomp --with-system-zlib
--with-python-dir=/lib/python2.7/site-packages
--disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp
--with-gnu-ld --verbose --enable-java-home
--with-java-home=/opt/windows_32/lib/jvm/jre
--with-jvm-root-dir=/opt/windows_32/lib/jvm
--with-jvm-jar-dir=/opt/windows_32/lib/jvm/jvm-exports
--with-arch-directory=amd64
--with-antlr-jar='/home/adrien/projects/win-builds-1.5/slackware64-current/d/gcc/antlr-*.jar'
--disable-java-awt --disable-gtktest --build=x86_64-slackware-linux
--host=i686-w64-mingw32 --target=i686-w64-mingw32
Thread model: posix
gcc version 4.8.3 (GCC)

Could you please give me any hints?

Thank you very much in advance!

Yingfeng
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to