Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 May 2021 20:14:12 +0200
From:      =?UTF-8?Q?Lo=c3=afc_Bartoletti?= <lbartoletti@tuxfamily.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: gdal
Message-ID:  <b97e88c9-5211-e4e2-cba4-ad4cab544434@tuxfamily.org>
In-Reply-To: <20210502135545.3a487b8b@dismail.de>
References:  <20210502135545.3a487b8b@dismail.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

What's your options? How do you build it?

Thanks.

Loïc

Le 02/05/2021 à 19:55, LuMiWa via freebsd-ports a écrit :
> Hi!
>
> I have a problem to build graphics/gdal on FreeBSD-13.0-RELEASE:
> m::seekp' declared here: type mismatch at 1st parameter ('uint64_t'
> (aka 'unsigned long') vs 'GInt64' (aka 'long long')) virtual void
>   seekp (uint64_t pos) = 0; ^
> exrdataset.cpp:495:1: error: unknown type name 'Int64'; did you mean
> 'GInt64'? Int64 GDALEXRIOStream::tellg ()
> ^~~~~
> GInt64
> /usr/ports/graphics/gdal/work/gdal-3.2.2/port/cpl_port.h:267:26: note:
> 'GInt64' declared here typedef GIntBig          GInt64;
>                           ^
> exrdataset.cpp:497:24: error: unknown type name 'Int64'; did you mean
> 'GInt64'? return static_cast<Int64>(VSIFTellL(m_fp));
>                         ^~~~~
>                         GInt64
> /usr/ports/graphics/gdal/work/gdal-3.2.2/port/cpl_port.h:267:26: note:
> 'GInt64' declared here typedef GIntBig          GInt64;
>                           ^
> exrdataset.cpp:500:30: error: unknown type name 'Int64'; did you mean
> 'GInt64'? void GDALEXRIOStream::seekg (Int64 pos)
>                               ^~~~~
>                               GInt64
> /usr/ports/graphics/gdal/work/gdal-3.2.2/port/cpl_port.h:267:26: note:
> 'GInt64' declared here typedef GIntBig          GInt64;
>                           ^
> exrdataset.cpp:566:36: error: allocating an object of abstract class
> type 'GDALEXRIOStream' poDS->m_pIStream.reset(new GDALEXRIOStream(fp,
> osFilename)); ^
> exrdataset.cpp:992:25: error: variable type 'GDALEXRIOStream' is an
> abstract class GDALEXRIOStream ostream(fp, pszFilename);
>                          ^
> exrdataset.cpp:1984:32: error: allocating an object of abstract class
> type 'GDALEXRIOStream' poDS->m_pOStream.reset(new GDALEXRIOStream(fp,
> pszFilename)); ^
> 3 warnings and 14 errors generated.
> gmake[4]: *** [../../GDALmake.opt:646: ../o/exrdataset.o] Error 1
> gmake[4]: Leaving directory
> '/usr/ports/graphics/gdal/work/gdal-3.2.2/frmts/exr' gmake[3]: ***
> [GNUmakefile:15: exr-install-obj] Error 2 gmake[3]: Leaving directory
> '/usr/ports/graphics/gdal/work/gdal-3.2.2/frmts' gmake[2]: ***
> [GNUmakefile:114: frmts-target] Error 2 gmake[2]: Leaving directory
> '/usr/ports/graphics/gdal/work/gdal-3.2.2' *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/graphics/gdal
> *** Error code 1
>
> Thank you.
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b97e88c9-5211-e4e2-cba4-ad4cab544434>