relic-toolkit / relic

Code
Other
452 stars 179 forks source link

Error generating lib file #293

Closed Salterwater23 closed 4 months ago

Salterwater23 commented 4 months ago

I am using cmake 3.29,vs2022 cmake ... / -G "NMake Makefiles" The following error occurs

D:\evn\relic-main\Build>cmake ../ -G "NMake Makefiles" CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it.

dfaranha commented 4 months ago

Hi

I don't understand the problem. The CMakeLists.txt at the root of the RELIC folder has such a project line.

Can you please double-check your paths?

dfaranha commented 4 months ago

From your other issue, I believe this has been solved.