caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Jon Harrop" <jon@ffconsultancy.com>
To: "Caml List" <caml-list@inria.fr>
Subject: [Caml-list] Windows install
Date: Fri, 29 Apr 2011 18:50:32 +0100	[thread overview]
Message-ID: <006401cc0695$f031efc0$d095cf40$@ffconsultancy.com> (raw)

I've been trying to install OCaml on Windows Vista using the OCaml 3.11.0
binary (MSVC) install. I have Visual Studio 2010 installed which, I believe,
satisfies the dependencies but I keep getting linker errors. Curiously,
different errors each time I reinstall:

C:\Users\Jon\Documents\OCaml>ocamlopt test.ml -o test
** Fatal error: Cannot find file "libws2_32"
File "caml_startup", line 1, characters 0-1:
Error: Error during linking

C:\Users\Jon\Documents\OCaml>ocamlopt test.ml -o test
** Fatal error: Cannot find file "C:\\Program Files\\Objective
Caml\\bin\\flexdl
l_msvc.obj"
File "caml_startup", line 1, characters 0-1:
Error: Error during linking

C:\Users\Jon\Documents\OCaml>ocamlopt test.ml -o test
'flexlink' is not recognized as an internal or external command,
operable program or batch file.
File "caml_startup", line 1, characters 0-1:
Error: Error during linking

What's the easiest way to get a working OCaml install under Windows ATM?

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com


             reply	other threads:[~2011-04-29 17:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29 17:50 Jon Harrop [this message]
2011-04-29 18:33 ` Dmitry Bely
2011-04-30 16:08   ` Микола Стрєбков
2011-04-30 17:37     ` dmitry grebeniuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006401cc0695$f031efc0$d095cf40$@ffconsultancy.com' \
    --to=jon@ffconsultancy.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).