From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id CEF70BBAF for ; Sat, 13 Mar 2010 19:57:18 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlgFAENvm0tQRFuwWmdsb2JhbACacQsBFBUGOLlAhHsE X-IronPort-AV: E=Sophos;i="4.49,633,1262559600"; d="scan'208";a="58822782" Received: from furbychan.cocan.org ([80.68.91.176]) by mail4-smtp-sop.national.inria.fr with ESMTP; 13 Mar 2010 19:57:18 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1NqWWU-0007AK-52; Sat, 13 Mar 2010 18:57:18 +0000 Date: Sat, 13 Mar 2010 18:57:18 +0000 To: Florent Monnier Cc: caml-list Subject: Re: [Caml-list] exception not registered.Abandon Message-ID: <20100313185718.GB27381@annexia.org> References: <201003131742.25933.monnier.florent@gmail.com> <20100313173822.GA24666@annexia.org> <201003131936.16333.monnier.florent@gmail.com> <20100313185537.GA27381@annexia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100313185537.GA27381@annexia.org> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Spam: no; 0.00; ocaml:01 bug:01 bindings:01 ocamlfind:01 wrote:01 exception:01 caml-list:01 exceptions:01 essentially:02 linked:07 linked:07 red:92 function:08 meta:89 example:10 On Sat, Mar 13, 2010 at 06:55:37PM +0000, Richard Jones wrote: > Essentially you have to register OCaml exceptions before you can call > them from C, so it sounds like you're not calling some sort of SDL > "init" function (or calling it too late in your program). Or possibly > there is a bug in the ocaml-SDL bindings. For example, is 'sdlloader.cmxa' linked into your program? There are others that might have to be linked in too -- see the META file or just use ocamlfind. Rich. -- Richard Jones Red Hat