ninja: error: manifest 'build.ninja' still dirty after 100 tries
(base) kylewong@KyleWongs-MacBook-Pro fuchsia % fx set core.x64 --release
WARNING: Please opt in or out of fx metrics collection.
You will receive this warning until an option is selected.
To check what data we collect, run `fx metrics`
To opt in or out, run `fx metrics <enable|disable>
Generating compile_commands took 463ms
Done. Made 28104 targets from 2274 files in 12455ms
(base) kylewong@KyleWongs-MacBook-Pro fuchsia %
(base) kylewong@KyleWongs-MacBook-Pro fuchsia % fx build
WARNING: Please opt in or out of fx metrics collection.
You will receive this warning until an option is selected.
To check what data we collect, run `fx metrics`
To opt in or out, run `fx metrics <enable|disable>
ninja: Entering directory `/Users/kylewong/Codes/fuchsia/out/default.zircon'
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
[1/1] Regenerating ninja files
ninja: error: manifest 'build.ninja' still dirty after 100 tries
View previous topic :: View next topic | |||||||||||||
Author | Message | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
leifdotwav n00b Joined: 21 Oct 2021 |
|
||||||||||||
Back to top |
|
||||||||||||
sam_ Developer Joined: 14 Aug 2020 |
|
||||||||||||
Back to top |
|
||||||||||||
leifdotwav n00b Joined: 21 Oct 2021 |
|
||||||||||||
Back to top |
|
||||||||||||
sam_ Developer Joined: 14 Aug 2020 |
|
||||||||||||
Back to top |
|
||||||||||||
Hu Moderator Joined: 06 Mar 2007 |
|
||||||||||||
Back to top |
|
||||||||||||
|
You cannot post new topics in this forum |
Мой CMakeLists.txt выглядит следующим образом (я не думаю, что содержимое CMakeLists.txt важно, поскольку код хорошо компилируется с CLion в Linux, но включение деталей не должно причинить никакого вреда):
cmake_minimum_required(VERSION 3.12)
project(ambulance)
set(CMAKE_CXX_STANDARD 14)
if (UNIX)
set(CMAKE_CXX_FLAGS " -pthread ")
include_directories(ambulance builder control include include/unix io main model view)
add_executable(ambulance
control/Ambulance.cpp
control/Ambulance.h
main/main.cpp
view/AmbulanceUI.cpp
view/AmbulanceUI.h
model/Doctor.cpp
model/Doctor.h
model/Patient.cpp
model/Patient.h
control/PatientAdmin.cpp
control/PatientAdmin.h
model/Person.cpp
model/Person.h
control/DoctorAdmin.cpp
control/DoctorAdmin.h
model/Treatment.cpp
model/Treatment.h
io/PeopleIO.h
io/AmbulancePersistence.cpp
io/AmbulancePersistence.h
io/AmbulancePeopleIOElement.cpp
io/AmbulancePeopleIOElement.h
builder/PatientBuilder.cpp
builder/PatientBuilder.h
builder/DoctorBuilder.cpp
builder/DoctorBuilder.h
builder/PersonBuilder.cpp
builder/PersonBuilder.h
include/json_macro.h
include/system_macro.h
control/ScheduleAdmin.cpp
control/ScheduleAdmin.h
model/ScheduleElement.cpp
model/ScheduleElement.h
model/DailySchedule.cpp
model/DailySchedule.h
include/unix/Logger.h
include/unix/Logger.cpp
include/json.hpp
logger/Logger.h
logger/Logger.cpp)
else ()
include_directories(ambulance builder control include include/win io main model view)
add_executable(ambulance
include/json.hpp
control/Ambulance.cpp
control/Ambulance.h
main/main.cpp
view/AmbulanceUI.cpp
view/AmbulanceUI.h
model/Doctor.cpp
model/Doctor.h
model/Patient.cpp
model/Patient.h
control/PatientAdmin.cpp
control/PatientAdmin.h
model/Person.cpp
model/Person.h
control/DoctorAdmin.cpp
control/DoctorAdmin.h
model/Treatment.cpp
model/Treatment.h
io/PeopleIO.h
io/AmbulancePersistence.cpp
io/AmbulancePersistence.h
io/AmbulancePeopleIOElement.cpp
io/AmbulancePeopleIOElement.h
builder/PatientBuilder.cpp
builder/PatientBuilder.h
builder/DoctorBuilder.cpp
builder/DoctorBuilder.h
builder/PersonBuilder.cpp
builder/PersonBuilder.h
include/json_macro.h
include/system_macro.h
include/win/Logger.h
include/win/Logger.cpp
control/ScheduleAdmin.cpp
control/ScheduleAdmin.h
model/ScheduleElement.cpp
model/ScheduleElement.h
model/DailySchedule.cpp
model/DailySchedule.h
logger/Logger.cpp
logger/Logger.h)
endif (UNIX)
А вот содержимое CMakeSettings.txt
{
"configurations": [
{
"name": "x64-Release",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"inheritEnvironments": [
"msvc_x64_x64"
],
"buildRoot": "${env.USERPROFILE}CMakeBuilds${workspaceHash}build${name}",
"installRoot": "${env.USERPROFILE}CMakeBuilds${workspaceHash}install${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": ""
}
]
}
Я сделал код в основном на Linux и компилировал на виртуальной машине с Windows 10 с Visual Studio Enterprise. Вчера сборка все еще была успешной, но с сегодняшнего дня каждый раз, когда я пытаюсь ее скомпилировать, у меня возникает бесконечный цикл, который говорит:
[0/1] «…cmake.exe» «…/x64-Release»
— Configuring done
— Generating done
— Build files have been written to: …
Наконец, в описании ошибки говорится:
manifest ‘build.ninja’ still dirty after 100 tries
Что может быть решением этого? Должен ли я переустановить визуальную студию (что невероятно неудобно, поскольку моя виртуальная машина невероятно медленная).
Спасибо