caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: "Philip A. Viton" <viton.1@osu.edu>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamlopt under win32
Date: Mon, 09 Oct 2006 18:32:23 +0200	[thread overview]
Message-ID: <452A7997.9080608@inria.fr> (raw)
In-Reply-To: <7.0.1.0.2.20061006104319.022cbd88@osu.edu>

> Can anyone tell me what's going wrong here?
> Computer: running win xp/sp2 on amd 64
> ocamlopt: 3.09.0
> ms files: from visual studio 6
> [...]
> libasmrun.lib(compact.obj) : error LNK2001: unresolved external symbol
> __ftol2

The MSVC binary distribution for OCaml 3.09 was built with Visual C++ 2003,
which is binary-incompatible with Visual Studio 6.  There is also
Visual C++ 2005 and the Platform SDK compilers, all from Microsoft,
all subtly incompatible with each other.  Complain with Microsoft if
you feel like it.

If you just want to generate .exe files for Windows, may I suggest you
use the MinGW version of OCaml and avoid the MSVC one?  MinGW, besides
being free, is also more stable than Microsoft's dev. tools.

- Xavier Leroy


  reply	other threads:[~2006-10-09 16:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 15:11 Philip A. Viton
2006-10-09 16:32 ` Xavier Leroy [this message]
2006-10-10  9:41   ` [Caml-list] "  Dr. Axel Poigné 

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=452A7997.9080608@inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@yquem.inria.fr \
    --cc=viton.1@osu.edu \
    /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).