From owner-freebsd-multimedia Sat Sep 4 14:45:47 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail2.netcologne.de (mail2.netcologne.de [194.8.194.103]) by hub.freebsd.org (Postfix) with ESMTP id 72DDF1524E for ; Sat, 4 Sep 1999 14:45:39 -0700 (PDT) (envelope-from van.woerkom@netcologne.de) Received: from oranje.my.domain (dial5-79.netcologne.de [194.8.195.79]) by mail2.netcologne.de (8.9.3/8.9.3) with ESMTP id XAA19454; Sat, 4 Sep 1999 23:45:13 +0200 (MET DST) Received: (from marc@localhost) by oranje.my.domain (8.9.3/8.9.3) id XAA12273; Sat, 4 Sep 1999 23:43:08 +0200 (CEST) (envelope-from van.woerkom@netcologne.de) Date: Sat, 4 Sep 1999 23:43:08 +0200 (CEST) Message-Id: <199909042143.XAA12273@oranje.my.domain> X-Authentication-Warning: oranje.my.domain: marc set sender to van.woerkom@netcologne.de using -f From: Marc van Woerkom To: dfr@nlsystems.com, multimedia@freebsd.org Cc: van.woerkom@netcologne.de In-reply-to: (message from Doug Rabson on Sat, 4 Sep 1999 15:21:53 +0100 (BST)) Subject: Re: New 3D software available Reply-To: van.woerkom@netcologne.de References: Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Doug! So, I tried to build QDraw 0.5 under -CURRENT. This is my recipe to get it compiled. Should I roll a port? -- QDraw 0.5 ------------------------------------------------------------------ 1. copy paths.mk-dist to paths.mk 2. put in your path, remove the A from "Aunix" further down uncomment aalib --- paths.mk-dist Tue Aug 31 18:17:03 1999 +++ paths.mk Sat Sep 4 23:11:56 1999 @@ -25,7 +25,7 @@ # Set Q_ROOT to the directory containing the Q source tree # #Q_ROOT = d:/src/Q -Q_ROOT = /usr/local/src/Q +Q_ROOT = /home/marc/projects/3d/qdraw/QDraw-0.5 # Set OBJDIR to a directory relative to Q_ROOT where object files will # be built. @@ -43,7 +43,7 @@ # platforms are win32 and unix. # #platform = win32 -platform = Aunix +platform = unix # Set build to the name of the build. Supported builds are 'debug' for # optimised code with debugging information, 'release' for optimised @@ -73,5 +73,5 @@ # On FreeBSD or Linux, set aalib to anything to enable building the # Ascii Art renderer. # -#aalib=t +aalib=t 3. create these directories gmake objtree 4. create these symbolic links cd lib/debug ln -s ../../obj/debug/maths/sdk/libqmaths.so libqmaths.so ln -s ../../obj/debug/drivers/qsys/libqsys.so libqsys.so ln -s ../../obj/debug/image/sdk/libqimage.so libqimage.so ln -s ../../obj/debug/drivers/manager/libdevices.so libdevices.so ln -s ../../obj/debug/drivers/memory/unix/libQMemoryUnix.so libQMemoryUnix.so ln -s ../../obj/debug/drivers/os/x11/libQOSX11.so libQOSX11.so ln -s ../../obj/debug/drivers/display/ogl/libQDisplayOpenGL.so libQDisplayOpenGL.so 5. If you use aalib-1.2, like I do, patch this headerfile: --- /usr/local/include/aalib.h.orig Sat Sep 4 23:00:16 1999 +++ /usr/local/include/aalib.h Sat Sep 4 23:01:13 1999 @@ -183,7 +183,7 @@ typedef struct aa_linkedlist aa_linkedlist; typedef struct aa_linkedlist aa_reclist; typedef struct aa_renderparams aa_renderparams; -typedef struct aa_hardwareparams aa_hardware_params; +typedef struct aa_hardware_params aa_hardware_params; typedef struct aa_driver aa_driver; typedef struct aa_font aa_font; typedef struct aa_format aa_format; 6. compile gmake gmake install You should find several executables in bin/debug and the links in lib/debug should have been replaced by copies of the libs themselves 7. have fun cd bin/debug ./teapot I tried this under X11 (with riva-glx 3d acceleration) and got a nice animated teapot, rendered by Mesa. Doing this in a text session is enjoyable too, as it gets rendered in ASCII by aalib! (very retro :) ------------------------------------------------------------------------------- Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message