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

Unable to build mayo 0.8.0 on Ubuntu 24.10 #306

Closed
jhonny-oliveira opened this issue Nov 20, 2024 · 2 comments
Closed

Unable to build mayo 0.8.0 on Ubuntu 24.10 #306

jhonny-oliveira opened this issue Nov 20, 2024 · 2 comments
Labels
build error Compilation and linking errors

Comments

@jhonny-oliveira
Copy link

Hi!

I'm unable to build mayo 0.8.0 on Ubuntu 24.10. This is the error:

src/base/caf_utils.h:47:10: fatal error: TDF_LabelMapHasher.hxx: No such file or directory
   47 | #include <TDF_LabelMapHasher.hxx>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

"TDF_LabelMapHasher.hxx" is present as part of libocct-ocaf-dev (7.6.3) on older Ubuntu versions (<= 24.04), but not on the most recent version: libocct-ocaf-dev (7.8.1).

Can you please advise on the best workaround/patch?

Thank you!
Jhonny Oliveira @ https://xtradeb.net

Ref.:
https://packages.ubuntu.com/noble/amd64/libocct-ocaf-dev/filelist
https://packages.ubuntu.com/oracular/amd64/libocct-ocaf-dev/filelist
https://launchpad.net/~xtradeb/+archive/ubuntu/apps/+packages?field.name_filter=mayo

@HuguesDelorme HuguesDelorme added the build error Compilation and linking errors label Nov 20, 2024
@HuguesDelorme
Copy link
Member

Hello Jhonny,

Mayo v0.8.0 source code is compatible with OpenCascade v7.3 up to v7.7
Upcoming version v0.9.0 source code was made compatible with latest OpenCascade v7.8
You can use the relevant changes from this commit to locally patch Mayo v0.8.0 source code:
d1b3545

@jhonny-oliveira
Copy link
Author

I also had to apply commit c4fdeb2 to get it working.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build error Compilation and linking errors
Projects
None yet
Development

No branches or pull requests

2 participants