Reputation: 15303
Trying to build the OCaml Win32 API binaries for OCaml 3.11.0 on Win 7 and I consistently get a message when I try nmake dynamic: 'cannot open input file "ocamlrun.lib"'. My google skills seem to be failing me--is there something I need to do to get this .lib file? It doesn't seem to be part of the libraries which are included in the OCaml binary distribution for Windows. Can anyone give me a pointer in the right direction?
Upvotes: 3
Views: 142
Reputation: 6697
In short - you need libcamlrun.lib. Long answer - ocaml-win32 Makefile is outdated. Here is a patch. Among others it fixes indentation for GNU make and removes wrong precompiled headers options. Unfortunately I was not able to contact authors about it. BTW don't forget to edit win32.h and set
#define _WIN32_WINNT 0x0500
Upvotes: 2