"Hughes, Gareth" wrote:
>
> Okay, you may have to bear with me a little, I'm without a Linux box at the
> moment :)
>
> The src-glu/ directory now contains my tessellation code, basically
> contained in tess*.[ch] (I've kept a copy of the old tess.[ch] for now).
> I've attempted to adjust the makefiles to reflect this, but if I've messed
> up I'd appreciate any help.
>
> Before uploading the code from my NT box at work, it ran fine under Linux
> but now seems to have problems running the demos under NT. I'll try and
> track down the cause of this, but I'd also really appreciate someone doing
> a
> quick build/test of the tessellation demo in book/tess.c (the star will not
> work until I fix the winding rule code, which is not in CVS yet. I'll be
> working on this over the next few days for the beta 3 release).
In a few .h files I had to change your //-style comments to /* */ style.
When I run book/tess it prematurely exits. Here's the stack trace:
Breakpoint 2, exit (status=0) at exit.c:40
exit.c:40: No such file or directory.
(gdb) where
#0 exit (status=0) at exit.c:40
#1 0x400655a3 in fist_recovery_process (tobj=0x8073d28) at
tess_fist.c:179
#2 0x400668a9 in tessellate_contours (tobj=0x8073d28) at
tess_fist.c:798
#3 0x4006556a in fist_tessellation (tobj=0x8073d28) at tess_fist.c:160
#4 0x40063e5b in gluTessEndPolygon (tobj=0x8073d28) at tess.c:366
#5 0x80492d7 in init () at tess.c:170
#6 0x8049536 in main (argc=1, argv=0xbffffba4) at tess.c:226
#7 0x405ffcb3 in __libc_start_main (main=0x80494f4 <main>, argc=1,
argv=0xbffffba4, init=0x8048b8c <_init>, fini=0x804959c <_fini>,
rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffb9c)
at ../sysdeps/generic/libc-start.c:78
(gdb)
-Brian
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev