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
in examples/heif_enc.cc ln 779, there's this line : std::string input_filename = tile_generator.filename(0, 0);
yields a build error with C++20: error: conversion from 'std::filesystem::__cxx11::path' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested1
Issue resolved using the filesystem string() method: std::string input_filename = tile_generator.filename(0, 0).string();
in examples/heif_enc.cc ln 779, there's this line :
std::string input_filename = tile_generator.filename(0, 0);
yields a build error with C++20:
error: conversion from 'std::filesystem::__cxx11::path' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested1
Issue resolved using the filesystem string() method:
std::string input_filename = tile_generator.filename(0, 0).string();
@farindk
The text was updated successfully, but these errors were encountered: