abseil / abseil/abseil-cpp

[Bug]: CMake MSBUILD : error MSB1009: Project file does not exist

Abierto
#1,556 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C++
Estrellas
18.1k
Forks
3.2k
Merge medio
20 h 36 min
PR fusionados (30 d)
1

Descripción

### Describe the issue

Using the document to install project https://abseil.io/docs/cpp/quickstart-cmake

```
git clone https://github.com/abseil/abseil-cpp.git
cd abseil-cpp
$ mkdir build && cd build
$ cmake -DABSL_BUILD_TESTING=ON -DABSL_USE_GOOGLETEST_HEAD=ON -DCMAKE_CXX_STANDARD=14 ..
$ cmake --build . --target all
```

error
```
error MSB1009: Project file does not exist
```

Because I use visual studio 2022 command prompt, cmake use the generator `Visual Studio 17 2022`.
I replace `cmake --build . --target all` with `cmake --build . --target ALL_BUILD`.

refer to https://stackoverflow.com/questions/71437697/cmake-msbuild-error-msb1009-project-file-does-not-exist

### Steps to reproduce the problem

setp1 install visual studio 2022

step2
https://abseil.io/docs/cpp/quickstart-cmake

### What version of Abseil are you using?

lastest

### What operating system and version are you using?

window11

### What compiler and version are you using?

cl
visual studio 2022

### What build system are you using?

cmake --version
3.26

### Additional context

_No response_

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.