Date: Sat, 4 Sep 1999 23:43:08 +0200 (CEST) From: Marc van Woerkom <van.woerkom@netcologne.de> To: dfr@nlsystems.com, multimedia@freebsd.org Cc: van.woerkom@netcologne.de Subject: Re: New 3D software available Message-ID: <199909042143.XAA12273@oranje.my.domain> In-Reply-To: <Pine.BSF.4.10.9909041520280.2081-100000@salmon.nlsystems.com> (message from Doug Rabson on Sat, 4 Sep 1999 15:21:53 %2B0100 (BST)) References: <Pine.BSF.4.10.9909041520280.2081-100000@salmon.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909042143.XAA12273>