Skip to content

Fix non-default feature build: Feature gate unpack_ffmpeg with download_ffmpeg#56

Merged
nathanbabcock merged 2 commits into
nathanbabcock:mainfrom
rerun-io:fix-no-download-non-linux-compilation
Nov 4, 2024
Merged

Fix non-default feature build: Feature gate unpack_ffmpeg with download_ffmpeg#56
nathanbabcock merged 2 commits into
nathanbabcock:mainfrom
rerun-io:fix-no-download-non-linux-compilation

Conversation

@Wumpf
Copy link
Copy Markdown
Contributor

@Wumpf Wumpf commented Nov 4, 2024

Currently compilation fails when building for non-linux without the download_ffmpeg feature.

This happens because the zip library is (correctly) feature gated to download_ffmpeg. This in turn is used by unpack_ffmpeg which wasn't behind the feature flag!

@Wumpf Wumpf changed the title Feature gate unpack_ffmpeg with download_ffmpeg Fix non-default feature build: Feature gate unpack_ffmpeg with download_ffmpeg Nov 4, 2024
@Wumpf
Copy link
Copy Markdown
Contributor Author

Wumpf commented Nov 4, 2024

Don't know where else to write that: Awesome project! So much nicer than interfacing with the ffmpeg libraries directly Using it in the Rerun visualization tool now :)

Copy link
Copy Markdown
Owner

@nathanbabcock nathanbabcock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thank you for fixing this.

I'm going to merge this and then create a small follow-up to also add the cargo check step for Mac M1, and perhaps also share some of those common steps across jobs.

Thank you for the kind words, and I'm excited to check out Rerun more deeply. If you run across any pain points or ideas for improvements in the future I would love to hear them!

@nathanbabcock nathanbabcock merged commit 2f63f3a into nathanbabcock:main Nov 4, 2024
@Wumpf Wumpf deleted the fix-no-download-non-linux-compilation branch November 4, 2024 22:33
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

Successfully merging this pull request may close these issues.

2 participants