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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id EA7D1BC37 for ; Tue, 8 Dec 2009 09:57:11 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An8AALfFHEvRVaAskmdsb2JhbACSDIIRhxU/AQEBAQkLCgcRrlKBM4RXiGoBAgMFhC4EgwGGGQ X-IronPort-AV: E=Sophos;i="4.47,356,1257116400"; d="scan'208";a="39441568" Received: from mail-pw0-f44.google.com ([209.85.160.44]) by mail3-smtp-sop.national.inria.fr with ESMTP; 07 Dec 2009 18:11:48 +0100 Received: by pwi15 with SMTP id 15so1000983pwi.3 for ; Mon, 07 Dec 2009 09:11:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=9SyhO6WwtiOcPIc0EbMpJWk+baDkZxUFE02+vIBUwAo=; b=kkjwMpS/Nuu2Sc2AwI+85F/0oD0Vfb9bX7Zdbb+lArxSzMIAffJxcowewfYfOjSb/W utSlpKkHaQqk1ZXsXy1b++KZcvC0rWnjCFEH+F/aVy/xyGkKfl9c9l5kNdUJduTW30yc PHYdO3Ke6xGyGh25qlefoxYlZ9HC7C3R91Q4w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ovLkkCZMTMq+K0S2MWcImfqHBSOmbx9mQY3JsuU++sXEaYJ/GFbweZg0gFOmv4IazM M2wbvpsdgVkWPzZTM10xXUD1eo1n4FmqBZz/LxE1CNrkN2Gx1JzQX+/PHst59UDlLxxr 62aDml6rV3YNLCqf6iZcBc8LcBsHXsRTqFPrE= MIME-Version: 1.0 Received: by 10.142.8.8 with SMTP id 8mr786485wfh.64.1260205906980; Mon, 07 Dec 2009 09:11:46 -0800 (PST) In-Reply-To: References: Date: Mon, 7 Dec 2009 22:41:46 +0530 Message-ID: Subject: Re: anyone got mlgame working against the latest ocamlsdl? From: Martin DeMello To: caml-list@yquem.inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; ocamlsdl:01 ocamlsdl:01 ocaml:01 higher-level:01 beginners':01 makefile:01 stdlib:01 makefile:01 ocamlfind:01 2009:98 allegro:98 sourceforge:01 wrote:01 compile:01 workaround:03 On Sun, Dec 6, 2009 at 1:43 AM, Martin DeMello wrote: > MLGame [http://mlgame.sourceforge.net/] looks promising, but won't > compile against the current ocamlsdl from godi. Has anyone got it > working? Is there another nice alternative for 2D games on OCaml, > higher-level than plain SDL or Allegro? Fixed it, with the help of the beginners' list. It turned out to be a simple environment issue - the makefile expected sdl to be in the same directory as the stdlib, whereas godi puts it in pkg-lib instead. The makefile had an undocumented workaround for this: # ln -s `ocamlfind query sdl` /tmp/SDL/ocamlsdl after which everything compiled happily. martin