POV-Ray : Newsgroups : povray.general : compiling under Cygwin errors : Re: compiling under Cygwin errors Server Time
29 Jul 2024 12:25:41 EDT (-0400)
  Re: compiling under Cygwin errors  
From: Le Forgeron
Date: 3 Jul 2011 14:11:27
Message: <4e10b0cf@news.povray.org>
Le 03/07/2011 17:38, kursad nous fit lire :
> Le_Forgeron,
> 
> Thanks for your insight. It seems like I managed to stop that error with your
> help. But now I am hitting another one :(
> 
> 
> Here is the tail part
> 
> 
> unix/platformbase.cpp: In member function ‘long long unsigned int
> pov_base::vfeTimer::GetCPUTime() const’:
> unix/platformbase.cpp:197: error: ‘CLOCK_THREAD_CPUTIME_ID’ was not declared in
> this scope
> unix/platformbase.cpp:197: error: ‘CLOCK_PROCESS_CPUTIME_ID’ was not declared in
> this scope
> unix/platformbase.cpp: In member function ‘bool
> pov_base::vfeTimer::HasValidCPUTime() const’:
> unix/platformbase.cpp:234: error: ‘CLOCK_THREAD_CPUTIME_ID’ was not declared in
> this scope
> make[2]: *** [platformbase.o] Error 1
> make[2]: Leaving directory `/temp/povray-3.7.0.RC3/vfe'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/temp/povray-3.7.0.RC3'
> make: *** [all] Error 2
> 

You need to get ride of HAVE_CLOCK_GETTIME in ./config.h (#undef ...
instead of #define ), because the version provided by cygwin is far too
old, IMHO.

It will only impact the time-report, not really a big thing for your case.


Post a reply to this message

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