From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA06469; Sat, 12 May 2001 19:24:09 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA06474 for ; Sat, 12 May 2001 19:24:07 +0200 (MET DST) Received: from web11505.mail.yahoo.com (web11505.mail.yahoo.com [216.136.172.37]) by concorde.inria.fr (8.11.1/8.10.0) with SMTP id f4CHO5b07631 for ; Sat, 12 May 2001 19:24:05 +0200 (MET DST) Message-ID: <20010512172405.74684.qmail@web11505.mail.yahoo.com> Received: from [213.64.99.135] by web11505.mail.yahoo.com; Sat, 12 May 2001 10:24:05 PDT Date: Sat, 12 May 2001 10:24:05 -0700 (PDT) From: Peter Ronnquist Subject: Re: [Caml-list] How to synchtonize swap buffers with vertical retrace in lablgk/lablgtk, or labgl/labltk, To: caml-list@inria.fr In-Reply-To: <200105111336.PAA23160@beepbeep.dev33.cvf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --- Luc MAZARDO wrote: > > > > To compile ocaml sdl I needed to add > > -lSDL_ttf to the CLIBS in OCamlSDL/src/Makefile. > > > > Also added -DHAVE_FREETYPE_FREETYPE_H to the > CFLAGS > > in OCamlSDL/makefile.toplevel > > > > But I still don't sync with the vertical retrace. > > I have a small test loop that do the following: > if you do : > $ make distclean > $ ./configure > i think automatically -DHAVE_FREE... has be adding > in CFLAGS > and -LSDL_ttf to CLIBS... > > try the latest release at ocamlSDL-0.5pre2 if you > want at : > > http://prdownloads.sourceforge.net/ocamlsdl/OCamlSDL-0.5pre2.tar.gz > > > The Sdlvideo.flip should sync with vertical > retrace if > > sdl is initialized with SDL_DOUBLEBUF, > SDL_HWSURFACE > > and I also tried to add SDL_FULLSCREEN with the > same > > result. > i will modify the current video initialisation with > a list of video_flags... > > > Thank you, ocamlSDL-0.5pre2 worked directly. Just a small note, to make ocamlsdl work the first time I had to do a "ln -s libfreetype.so.6 libfreetype.so" in /usr/lib but that I think is the responsibilty of the libfreetype package of debian . Best Regards Peter Rönnquist __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr