POV-Ray : Newsgroups : povray.unix : [beta] source distribution of POV-Ray 3.6 for UNIX : Re: [beta] source distribution of POV-Ray 3.6 for UNIX Server Time
3 Jul 2024 04:40:02 EDT (-0400)
  Re: [beta] source distribution of POV-Ray 3.6 for UNIX  
From: Mike Andrews
Date: 2 Jul 2004 13:50:00
Message: <web.40e59f4de60bfa2159735c0c0@news.povray.org>
Thierry Boudet <oul### [at] chezcom> wrote:
> Mike Andrews wrote:
> >
C:/WINNT40/Profiles/SLSAND~1.RDG/LOCALS~1/Temp/cc0Eaaaa.o(.text+0x201):mkg3states.c:
> > undefined reference to `getopt'
>
>     [...]
>
> > For some reason it doesn't seem to be finding <getopt.h> although this
> > should be in the include chain: "port.h" -> <unistd.h> -> <getopt.h>
> >
>     You don't have "getopt" in you libraries.
>     It was not a problem with the include.
>     May be adding -lgetop will help...

Hi Thierry,

I should have noticed that it was at the link stage rather than at compile!
It's obviously been much too long since I did any serious compilation ...

I got PoV to compile first time with Cygwin so I not too bothered at the
moment :-) but I'll try to have another look at Mingw compiling over the
weekend.

Mike.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.