Dear George,

On Thu, Sep 17, 2009 at 2:51 PM, George Oakman <[email protected]> wrote:
>
> I am trying to re-compile the RDKit on a new Windows machine, and I am
> hitting a problem when compiling the libSmilesParse library (and two
> others). The <unistd.h> library cannot be found.
>
> I compiled the RDKit successfully on Windows before, but it was an older
> release. Does someone know if this is a known issue with the latest release
> (Q22009), or is it a problem with my environment?

I'd guess it's the environment.
The problems with unistd.h come from older versions of flex on windows
machines (like the one from gnuwin32). There are two straightforward
solutions I know of:
1) Install cygwin and be sure you are using the cygwin version of flex
and bison, which are much more up to date.
2) Create an empty file in the $RDBASE/Code directory called unistd.h

Hope this helps,
-greg

Reply via email to