POV-Ray : Newsgroups : povray.unix : Unix version on Windows : Re: Unix version on Windows Server Time
13 Aug 2026 03:02:38 EDT (-0400)
  Re: Unix version on Windows  
From: LanuHum
Date: 26 Aug 2017 17:35:01
Message: <web.59a1e8b7139b5faf48ff28e70@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:

>
> Another thought. Have you tried a simple "hello world" compile and link
> in the cygwin environment? I expect this too will fail and it would be
> simpler to use that as the test vehicle to figure things out - asking
> about that fail in cygwin support fora you can find.
>
> Bill P.

Thanks!
Yes, problem.
But, solved, defeated successfully! :)

Povray configured successfully.
Makefiles
---------
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating source/Makefile
config.status: creating vfe/Makefile
config.status: creating platform/Makefile
config.status: creating unix/Makefile
config.status: creating config.h
config.status: executing depfiles commands

===============================================================================
POV-Ray 3.7.2-alpha has been configured.

Built-in features:
  I/O restrictions:          enabled
  X Window display:          disabled
  Supported image formats:   gif tga iff ppm pgm hdr png jpeg tiff openexr
  Unsupported image formats: -

Compilation settings:
  Build architecture:  x86_64-unknown-cygwin
  Built/Optimized for: x86_64-unknown-cygwin (using -march=native)
  Compiler vendor:     gnu
  Compiler version:    g++ 5.4.0
  Compiler flags:      -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native

Type 'make check' to build the program and run a test render.
Type 'make install' to install POV-Ray on your system.

The POV-Ray components will be installed in the following directories:
  Program (executable):       /usr/local/bin
  System configuration files: /usr/local/etc/povray/3.7
  User configuration files:   /home/Ugine/.povray/3.7
  Standard include files:     /usr/local/share/povray-3.7/include
  Standard INI files:         /usr/local/share/povray-3.7/ini
  Standard demo scene files:  /usr/local/share/povray-3.7/scenes
  Documentation (text, HTML): /usr/local/share/doc/povray-3.7
  Unix man page:              /usr/local/share/man
============================================================================

1. Error
syspovconfig.h line number 328

#elif defined(__CYGWIN__)
    // Cygwin detected.
    // Not officially supported yet; comment-out the following line to try with
default POSIX settings.
    #error "Cygwin detected, but not explicitly supported yet; proceed at your
own risk."
    #include "syspovconfig_posix.h"

I wrote so:
#elif defined(__CYGWIN__)
    // GNU/Linux detected.
    #include "syspovconfig_gnu.h"

But:

$ LC_ALL=C make -j4
make  all-recursive
make[1]: Entering directory '/cygdrive/c/build/povray-master'
Making all in source
make[2]: Entering directory '/cygdrive/c/build/povray-master/source'
depbase=`echo base/image/image.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I.. -I../platform/unix
-I../platform/x86 -I../unix -I../vfe -I../vfe/unix -I/usr/include/OpenEXR
-pthread -I/usr/include  -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native
-MT base/image/image.o -MD -MP -MF $depbase.Tpo -c -o base/image/image.o
base/image/image.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo base/image/openexr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I.. -I../platform/unix
-I../platform/x86 -I../unix -I../vfe -I../vfe/unix -I/usr/include/OpenEXR
-pthread -I/usr/include  -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native
-MT base/image/openexr.o -MD -MP -MF $depbase.Tpo -c -o base/image/openexr.o
base/image/openexr.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo base/image/png.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I.. -I../platform/unix
-I../platform/x86 -I../unix -I../vfe -I../vfe/unix -I/usr/include/OpenEXR
-pthread -I/usr/include  -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native
-MT base/image/png.o -MD -MP -MF $depbase.Tpo -c -o base/image/png.o
base/image/png.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo base/image/ppm.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I.. -I../platform/unix
-I../platform/x86 -I../unix -I../vfe -I../vfe/unix -I/usr/include/OpenEXR
-pthread -I/usr/include  -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native
-MT base/image/ppm.o -MD -MP -MF $depbase.Tpo -c -o base/image/ppm.o
base/image/ppm.cpp &&\
mv -f $depbase.Tpo $depbase.Po
base/image/image.cpp: In constructor
'pov_base::FileBackedPixelContainer::FileBackedPixelContainer(pov_base::FileBackedPixelContainer::size_type,
pov_base::FileBackedPixelContainer::size_type,
pov_base::FileBackedPixelContainer::size_type)':
base/image/image.cpp:3079:46: error: 'lseek64' was not declared in this scope
             if (lseek64(m_File, pos, SEEK_SET) != pos)
                                              ^
base/image/image.cpp: In member function 'void
pov_base::FileBackedPixelContainer::ReadPixel(pov_base::FileBackedPixelContainer::size_type,
pov_base::FileBackedPixelContainer::size_type,
pov_base::FileBackedPixelContainer::pixel_type&)':
base/image/image.cpp:3250:50: error: 'lseek64' was not declared in this scope
                 if (lseek64(m_File, pos, SEEK_SET) != pos)
                                                  ^
base/image/image.cpp: In member function 'void
pov_base::FileBackedPixelContainer::WriteCurrentBlock()':
base/image/image.cpp:3274:50: error: 'lseek64' was not declared in this scope
                 if (lseek64(m_File, pos, SEEK_SET) != pos)
                                                  ^
make[2]: *** [Makefile:1168: base/image/image.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/cygdrive/c/build/povray-master/source'
make[1]: *** [Makefile:655: all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/c/build/povray-master'
make: *** [Makefile:447: all] Error 2


Post a reply to this message

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