POV-Ray : Newsgroups : povray.unix : Problems compiling 3.7 on FreeBSD : Re: Problems compiling 3.7 on FreeBSD Server Time
4 May 2024 11:37:20 EDT (-0400)
  Re: Problems compiling 3.7 on FreeBSD  
From: jhu
Date: 31 Aug 2011 23:50:00
Message: <web.4e5f00185237611c590073930@news.povray.org>
I was comparing the compiler messages between my Debian and FreeBSD machines.
For some reason, in FreeBSD, -I/usr/local/include isn't being passed along. So
now I've tried  CFLAGS="-I/usr/local/include" CXXFLAGS="-I/usr/local/include"
../configure

It starts compiling, but now produces an error after a while:

g++ -DHAVE_CONFIG_H -I. -I../..  -I../..  -I../../source  -I../../source
-I../../unix  -I../../vfe  -I../../vfe/unix   -pipe -Wno-multichar
-Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math -march=native
-I/usr/local/include -D_THREAD_SAFE -pthread -MT image.o -MD -MP -MF
..deps/image.Tpo -c -o image.o `test -f 'image/image.cpp' || echo
'./'`image/image.cpp
image/image.cpp: In constructor
'pov_base::FileBackedPixelContainer::FileBackedPixelContainer(long int, long
int, long int)':
image/image.cpp:2889: error: 'lseek64' was not declared in this scope
image/image.cpp: In member function 'void
pov_base::FileBackedPixelContainer::ReadPixel(long int, long int,
pov_base::FileBackedPixelContainer::pixel_type&)':
image/image.cpp:3060: error: 'lseek64' was not declared in this scope
image/image.cpp: In member function 'void
pov_base::FileBackedPixelContainer::WriteCurrentBlock()':
image/image.cpp:3083: error: 'lseek64' was not declared in this scope


Post a reply to this message

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