You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(cd IO && make )
make[1] : on entre dans le répertoire « /src/openfx-io-natron-2.3.14/IO »
CXX Linux-64-debug/ReadOIIO.o
In file included from /usr/include/libraw/libraw.h:35,
from ../OIIO/ReadOIIO.cpp:44:
/usr/include/libraw/libraw_datastream.h:121:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<std::streambuf> f; /* will close() automatically through dtor */
^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
from /usr/include/c++/8/locale:43,
from /usr/include/c++/8/iomanip:43,
from /usr/include/OpenEXR/ImathMatrix.h:55,
from /usr/include/OpenImageIO/simd.h:56,
from /usr/include/OpenImageIO/fmath.h:67,
from /usr/include/OpenImageIO/hash.h:51,
from /usr/include/OpenImageIO/strutil.h:49,
from /usr/include/OpenImageIO/ustring.h:137,
from /usr/include/OpenImageIO/paramlist.h:45,
from /usr/include/OpenImageIO/imageio.h:60,
from ../OIIO/OIIOGlobal.h:27,
from ../OIIO/ReadOIIO.cpp:40:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from /usr/include/libraw/libraw.h:35,
from ../OIIO/ReadOIIO.cpp:44:
/usr/include/libraw/libraw_datastream.h:122:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<std::streambuf> saved_f; /* when *f is a subfile, *saved_f is the master file */
^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
from /usr/include/c++/8/locale:43,
from /usr/include/c++/8/iomanip:43,
from /usr/include/OpenEXR/ImathMatrix.h:55,
from /usr/include/OpenImageIO/simd.h:56,
from /usr/include/OpenImageIO/fmath.h:67,
from /usr/include/OpenImageIO/hash.h:51,
from /usr/include/OpenImageIO/strutil.h:49,
from /usr/include/OpenImageIO/ustring.h:137,
from /usr/include/OpenImageIO/paramlist.h:45,
from /usr/include/OpenImageIO/imageio.h:60,
from ../OIIO/OIIOGlobal.h:27,
from ../OIIO/ReadOIIO.cpp:40:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
../OIIO/ReadOIIO.cpp: In member function ‘void {anonymous}::ReadOIIOPlugin::openFile(const string&, bool, OpenImageIO_v2_0::ImageInput**, std::vector<OpenImageIO_v2_0::ImageSpec>*)’:
../OIIO/ReadOIIO.cpp:1970:46: error: cannot convert ‘OpenImageIO_v2_0::ImageInput::unique_ptr’ {aka ‘std::unique_ptr<OpenImageIO_v2_0::ImageInput>’} to ‘OpenImageIO_v2_0::ImageInput*’ in assignment
*img = ImageInput::open(filename, &config);
^
../OIIO/ReadOIIO.cpp: In member function ‘std::__cxx11::string {anonymous}::ReadOIIOPlugin::metadata(const string&)’:
../OIIO/ReadOIIO.cpp:2781:56: error: no matching function for call to ‘std::unique_ptr<OpenImageIO_v2_0::ImageInput>::reset(OpenImageIO_v2_0::ImageInput::unique_ptr)’
img.reset( ImageInput::open(filename, &config) );
^
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
from /usr/include/c++/8/locale:43,
from /usr/include/c++/8/iomanip:43,
from /usr/include/OpenEXR/ImathMatrix.h:55,
from /usr/include/OpenImageIO/simd.h:56,
from /usr/include/OpenImageIO/fmath.h:67,
from /usr/include/OpenImageIO/hash.h:51,
from /usr/include/OpenImageIO/strutil.h:49,
from /usr/include/OpenImageIO/ustring.h:137,
from /usr/include/OpenImageIO/paramlist.h:45,
from /usr/include/OpenImageIO/imageio.h:60,
from ../OIIO/OIIOGlobal.h:27,
from ../OIIO/ReadOIIO.cpp:40:
/usr/include/c++/8/bits/unique_ptr.h:377:7: note: candidate: ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = OpenImageIO_v2_0::ImageInput; _Dp = std::default_delete<OpenImageIO_v2_0::ImageInput>; std::unique_ptr<_Tp, _Dp>::pointer = OpenImageIO_v2_0::ImageInput*]’
reset(pointer __p = pointer()) noexcept
^~~~~
/usr/include/c++/8/bits/unique_ptr.h:377:7: note: no known conversion for argument 1 from ‘OpenImageIO_v2_0::ImageInput::unique_ptr’ {aka ‘std::unique_ptr<OpenImageIO_v2_0::ImageInput>’} to ‘std::unique_ptr<OpenImageIO_v2_0::ImageInput>::pointer’ {aka ‘OpenImageIO_v2_0::ImageInput*’}
make[1]: *** [../openfx/Support/Plugins/Makefile.master:83: Linux-64-debug/ReadOIIO.o] Error 1
The text was updated successfully, but these errors were encountered:
5 years later I'm getting a similar error: ./OpenShadingLanguage/src/liboslexec/shadingsys.cpp:1204:45: error: cannot convert 'std::shared_ptr<OpenImageIO_v2_6_4::TextureSystem>' to 'OpenImageIO_v2_6_4::TextureSystem*' in assignment
Hi,
Debian unstable amd64, gcc 8.2.0
The text was updated successfully, but these errors were encountered: