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

cmake error under ubuntu22 #21

Open
zhangfq-chemistry opened this issue Aug 30, 2024 · 3 comments
Open

cmake error under ubuntu22 #21

zhangfq-chemistry opened this issue Aug 30, 2024 · 3 comments

Comments

@zhangfq-chemistry
Copy link

[ 22%] Performing download step (download, verify and extract) for 'occ-populate'
-- Downloading...
dst='/home/zhangfq/Chem/crystalexplorer/build/_deps/occ-subbuild/occ-populate-prefix/src/occ-0.6.3-.tar.xz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/peterspackman/occ/releases/download/v0.6.3/occ-0.6.3-.tar.xz'
-- [download 0% complete]
CMake Error at occ-subbuild/occ-populate-prefix/src/occ-populate-stamp/download-occ-populate.cmake:170 (message):
Each download failed!

@peterspackman
Copy link
Owner

No documentation for this at the moment, recent change. But you'll need to set the CPACK_SYSTEM_NAME to something that has an occ release for now, I'll tidy this up later. e.g. -DCPACK_SYSTEM_NAME=linux-x86_64.

I'll leave the issue open until I update the documentation.

@zhangfq-chemistry
Copy link
Author

Thanks! There is a technique called RHI (render hardware interface) in QT, and you can use it in this useful project.

@peterspackman
Copy link
Owner

Never got around to commenting on this, but did you get it working in the end?

I'm aware of the RHI stuff, and it'd be great to have a hardware agnostic backend but unfortunately I've now got so much opengl specific code to work around some things that are missing/absent from the QT bindings that changing is a massive overhaul and just not a priority right now given all the other things I need to fix!

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