Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small heif-enc bug #1399

Closed
pcdion opened this issue Nov 20, 2024 · 2 comments
Closed

small heif-enc bug #1399

pcdion opened this issue Nov 20, 2024 · 2 comments

Comments

@pcdion
Copy link
Contributor

pcdion commented Nov 20, 2024

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

@bradh
Copy link
Contributor

bradh commented Nov 20, 2024

@pcdion You know you can do PR, right?

@pcdion
Copy link
Contributor Author

pcdion commented Nov 21, 2024

#1400

@pcdion pcdion closed this as completed Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants