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

Include error when trying to compile #2

Open
Elecon-rou opened this issue May 2, 2024 · 3 comments
Open

Include error when trying to compile #2

Elecon-rou opened this issue May 2, 2024 · 3 comments

Comments

@Elecon-rou
Copy link

I've got include errors when trying to compile benchmarks

[7/7] RUN mkdir -p build &&      cmake -S . -B build &&      cmake --build build:                                                                      
0.672 -- The CUDA compiler identification is NVIDIA 12.0.140                                                                                              
0.711 -- The CXX compiler identification is GNU 11.4.0                                                                                                    
0.716 -- Detecting CUDA compiler ABI info                                                                                                                 
1.137 -- Detecting CUDA compiler ABI info - done                                                                                                          
1.149 -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - skipped
1.149 -- Detecting CUDA compile features
1.150 -- Detecting CUDA compile features - done
1.151 -- Detecting CXX compiler ABI info
1.214 -- Detecting CXX compiler ABI info - done
1.220 -- Check for working CXX compiler: /usr/bin/c++ - skipped
1.220 -- Detecting CXX compile features
1.220 -- Detecting CXX compile features - done
1.224 -- Configuring done
1.226 -- Generating done
1.226 -- Build files have been written to: /icicle/build
1.292 [ 33%] Building CUDA object CMakeFiles/benchmark.dir/benchmark.cu.o
1.365 /icicle/benchmark.cu:6:10: fatal error: curves/bls12_381/curve_config.cuh: No such file or directory
1.365     6 | #include "curves/bls12_381/curve_config.cuh"
1.365       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.365 compilation terminated.
1.366 gmake[2]: *** [CMakeFiles/benchmark.dir/build.make:76: CMakeFiles/benchmark.dir/benchmark.cu.o] Error 1
1.366 gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/benchmark.dir/all] Error 2
1.366 gmake: *** [Makefile:91: all] Error 2
@Elecon-rou
Copy link
Author

Tried to correct them here (just to give a clue what's wrong)
p2p-org@b4bcec8

@omershlo
Copy link
Member

omershlo commented May 2, 2024

@svpolonsky any idea?

@svpolonsky
Copy link
Collaborator

(1) CMake expects Icicle at location /icicle. If your location is different, please point directive include_directories("/icicle") in a relevant CMakeLists.txt to your location.
(2) Please note that the current Icicle V2 support is in the branch icicle-v2

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

3 participants