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

Building via the Dockerfile - CMake Version Error #19

Open
bhayat-quantinuum opened this issue Nov 26, 2024 · 0 comments
Open

Building via the Dockerfile - CMake Version Error #19

bhayat-quantinuum opened this issue Nov 26, 2024 · 0 comments

Comments

@bhayat-quantinuum
Copy link

bhayat-quantinuum commented Nov 26, 2024

When building via the Dockerfile, I receive the error below. My docker build command is:

docker build .

> ERROR [builder 27/31] RUN cmake -DSTATICCOMPILE=ON ..                  0.1s
------
 > [builder 27/31] RUN cmake -DSTATICCOMPILE=ON ..:
0.132 CMake Error at CMakeLists.txt:21 (cmake_minimum_required):
0.132   CMake 3.12 or higher is required.  You are running version 3.5.1
0.132 
0.132 
0.132 -- Configuring incomplete, errors occurred!
------

 1 warning found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:50
--------------------
  48 |     RUN mkdir build
  49 |     WORKDIR /home/solver/unigen/build
  50 | >>> RUN cmake -DSTATICCOMPILE=ON ..
  51 |     RUN make -j6 \
  52 |         && make install
--------------------
ERROR: failed to solve: process "/bin/sh -c cmake -DSTATICCOMPILE=ON .." did not complete successfully: exit code: 1

If I change the base image to ubuntu:20.04, I get past this issue, but then run into others:

0.764 CMake Error at CMakeLists.txt:94 (find_package):
0.764   Could not find a package configuration file provided by "sbva" with any of
0.764   the following names:
0.764 
0.764     sbvaConfig.cmake
0.764     sbva-config.cmake
2.062 -- Could NOT find arjun (missing: arjun_DIR)
2.062 CMake Error at CMakeLists.txt:458 (message):
2.062   Cannot find Arjun.  Please install it! Exiting.
@bhayat-quantinuum bhayat-quantinuum changed the title Building via the Dockerfile Building via the Dockerfile - CMake Version Error Nov 26, 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

1 participant