The 32 bit libraries work on Windows 64, but I do need the libraries to be
in 64-bits because I am trying to interface it with the matlab libraries and
it will only work if they are 64-bit.

After you pointed out that it's not finding cmake.exe, I realized that I'm
using cmake 2.8 so I just changed the 2.6 for 2.8 in the 64-bit build bat
file and it worked. Nevertheless I got a couple unresolved externals when I
tried to compile. These are:
_imp_FreeStructFromINCHI
_imp_GetStructFromINCHI
_imp_GetINICHI

Also the xdr library doesn't seem to be present giving me an additional 6
errors. Do you know how I can resolve this?

Thanks a lot for all the help,
Jimmy

On Thu, Jul 28, 2011 at 12:37 AM, Noel O'Boyle <baoille...@gmail.com> wrote:

> You can compile for Win64 with the default_build.bat, and the
> resulting 32-bit build will work fine. The 64-bit build is
> experimental. We should fix the problem, but the error presumably is
> because you have cmake installed elsewhere and so "C:\Program Files
> (x86)\CMake 2.6\bin\cmake.exe" fails.
>
> - Noel
>
> On 27 July 2011 00:33, Jimmy G Lafontaine Rivera <laf...@gmail.com> wrote:
> > I need to compile OpenBabel for Windows x64, but when I run the
> > x64_default_build.bat file I get the following error:
> > C:\Users\DuckMaster\Documents\Visual Studio
> > 2008\Projects\openbabel-2.3.0\window
> > s-vc2008\build_x64>"C:\Program Files (x86)\CMake 2.6\bin\cmake.exe"
> > -DCMAKE_INST
> > ALL_PREFIX=..\install -G "Visual Studio 9 2008 Win64"
> > -DLIBXML2_LIBRARIES="C:\Us
> > ers\DuckMaster\Documents\Visual Studio
> > 2008\Projects\openbabel-2.3.0\windows-vc2
> > 008\build_x64\..\libs\x64\libxml2.lib" -DMINIMAL_BUILD=OFF
> -DWITH_INCHI=ON
> > -DBUI
> > LD_GUI=OFF -DLIBXML2_INCLUDE_DIR=.
> > -DZLIB_LIBRARY="C:\Users\DuckMaster\Documents
> > \Visual Studio
> > 2008\Projects\openbabel-2.3.0\windows-vc2008\build_x64\..\libs\x6
> > 4\zlib1.lib" -DZLIB_INCLUDE_DIR=.
> > -DINCHI_LIBRARY="C:\Users\DuckMaster\Documents
> > \Visual Studio
> > 2008\Projects\openbabel-2.3.0\windows-vc2008\build_x64\..\libs\x6
> > 4\libstdinchi.lib" -DENABLE_TESTS=ON         ..\..
> > The system cannot find the path specified.
> > I am not sure what this means. I am able to run default_build.bat and
> > compile for 32-bit windows using MVSC 2008.
> >
> >
> > Thanks for the help,
> > Jimmy
> >
> >
> ------------------------------------------------------------------------------
> > Got Input?   Slashdot Needs You.
> > Take our quick survey online.  Come on, we don't ask for help often.
> > Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> > http://p.sf.net/sfu/slashdot-survey
> > _______________________________________________
> > OpenBabel-discuss mailing list
> > OpenBabel-discuss@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
> >
> >
>
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to