Hi there,
I'm trying to compile openbabel-2.3.2 on my Windows 8 computer using nmake with msvc 2010. It seems that when I follow these steps, openbabel does not include several important .dll files in the installation bin (more specifically, xdr-0.dll, libxml2.dll, and inchi.dll). Here are the steps that I take:
Download openbabel-2.3.2 from here (it was linked on the website): https://sourceforge.net/projects/openbabel/files/openbabel/2.3.2/openbabel-2.3.2.tar.gz/download
Copy contents of openbabel-2.3.2\windows-vc2008\include to openbabel-2.3.2\include
Open visual studio command prompt 2010 and navigate to it in C:\src\openbabel-2.3.2
run "mkdir build", then "cd build"
Run this cmake command (using the latest version of CMake): cmake -DCMAKE_BUILD_TYPE=Release -DZLIB_INCLUDE_DIR=c:\src\zlib-1.2.5 -DEIGEN2_INCLUDE_DIR=c:\src\eigen-2.0.15 -DZLIB_LIBRARY=c:\src\zlib-1.2.5\build\zlib.lib -DLIBXML2_INCLUDE_DIR=c:\src\libxml2\include -DLIBXML2_LIBRARIES=c:\src\libxml2\lib\libxml2.lib -DXDR_LIBRARY=c:\src\openbabel-2.3.2\windows-vc2008\libs\i386\xdr.lib -DCMAKE_INSTALL_PREFIX=c:\src\openbabel -G "NMake Makefiles" ..
It locates the eigen2 headers, zlib libraries and headers, and libxml libraries and headers just fine as far as I can tell. No major errors.
It installs openbabel to the correct install_prefix: c:\src\openbabel, and it contains several files including a bunch of executables (like babel.exe) and openbabel-2.dll and openbabel-2.lib, but it does not contain the dll's that I mentioned in the first paragraph. And it won't run babel.exe because they are missing.
Any advice?
Thanks,
Patrick
Oops. I guess this should have been labeled 2.3.x