-
Notifications
You must be signed in to change notification settings - Fork 125
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
Build error with clang: src/IECoreScene/SceneAlgo.cpp:65:11: error: only virtual member functions can be marked 'override' #1457
Comments
Looks like you're building against a different version of TBB? We build against 2020.3. |
We use onetbb 2022.0.0. @johnhaddon Did you try to build cortex with clang ? |
We build with Clang on Mac, yes. But I think we've discussed already that we've not made the jump to OneTBB yet, and don't plan to until the major Gaffer clients move to VFXPlatform 2025. In the meantime we'd be happy to accept patches that make Cortex dual compatible with OneTBB and 2020.3. |
What branch do I fork ? main or RB-10.5 ? |
I'd go with RB-10.5 - that's where most development is happening at the moment. |
Original error is:
Build with clang 18.1.6 from base. |
Both versions can't be installed on same hosts.
|
I'm not suggesting that they should be. I'm saying that we would welcome patches to build against OneTBB as long as they don't break building against TBB 2020.3. We will be making official builds against 2020.3 for a while longer, since Gaffer's major clients prefer to line things up with a consistent VFXPlatform, and the platform used by Maya/Nuke etc tend to drive things there. |
You misunderstood me. :-) |
Fundamentally I don't disagree. But there's some nuance - a very important task to who, and when? As I said, this isn't yet a high priority for the main clients of Cortex and/or Gaffer (by which I mean the companies who pay for their development). We'll get there, but it will be on their timeframe. The other avenue to getting things done is contributions from the community or from the core developers in their spare time. But the core developers work on a combination of Linux, Windows and Mac and have no FreeBSD experience. Dare I say it, I think FreeBSD support is probably a bit of a "scratch your own itch" thing. I'm not happy saying this, because I'd much rather we were using the latest VFXPlatform and TBB already. Then you could focus on the genuinely BSD-specific parts of any port and it would be a much more manageable task. I'll ask again internally to see what the timeframe for that might be. |
What kind of library is this? |
That's the Python module for the Imath library - see https://github.com/academySoftwareFoundation/imath. |
Version: Cortex 10.5.13.0-release
3rd-party modules: OS FreeBSD 14.2 amd64, different versions of clang: 18.1.6 from base, 19.1.7 from ports, 14.0.6 from ports, 13.0.1 from ports.
Description
Build error:
Steps to Reproduce
Debug Log
Part of build log with clang 14
The text was updated successfully, but these errors were encountered: