From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 55336BBE1 for ; Mon, 9 Oct 2006 18:32:30 +0200 (CEST) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id k99GWTQD031004 for ; Mon, 9 Oct 2006 18:32:30 +0200 Received: from [192.168.1.2] (che78-2-82-237-71-191.fbx.proxad.net [82.237.71.191]) by smtp1-g19.free.fr (Postfix) with ESMTP id B751068BE6; Mon, 9 Oct 2006 18:32:29 +0200 (CEST) Message-ID: <452A7997.9080608@inria.fr> Date: Mon, 09 Oct 2006 18:32:23 +0200 From: Xavier Leroy User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Philip A. Viton" Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] ocamlopt under win32 References: <7.0.1.0.2.20061006104319.022cbd88@osu.edu> In-Reply-To: <7.0.1.0.2.20061006104319.022cbd88@osu.edu> X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 452A799E.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamlopt:01 ocamlopt:01 3.09.0:01 libasmrun:01 lib:01 binary:01 ocaml:01 sdk:01 compilers:01 mingw:01 ocaml:01 mingw:01 2003,:98 caml-list:01 incompatible:01 > 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