This repository was archived by the owner on Dec 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Compilation Error: Duplicate action writing to desktop_resources_folder_cmd.bat #17
Copy link
Copy link
Open
Description
Description:
While compiling a project using the following command:
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --action_env PYTHON_BIN_PATH="C:\\Users\\hans9\\AppData\\Local\\Programs\\Python\\Python310\\python.exe" -s //magritte/examples/desktop:desktop_resources_folder --experimental_repo_remote_exec --copt -DBOOST_ERROR_CODE_HEADER_ONLY --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11
I encountered an error indicating a conflict with the file desktop_resources_folder_cmd.bat. The exact error message is:
ERROR: C:/users/hans9/onedrive/documents/hans/travail/inmersiv/projet_apprentissage/mediapipe/prise_en_main_c++/magritte/magritte/examples/desktop/BUILD:92:26: for magritte/examples/desktop/desktop_resources_folder_cmd.bat, previous action: action 'Writing script magritte/examples/desktop/desktop_resources_folder_cmd.bat', attempted action: action 'Writing script magritte/examples/desktop/desktop_resources_folder_cmd.bat'
Environment:
- OS: Windows 11
Additional Information:
- The build process seems to be attempting to write to
desktop_resources_folder_cmd.batmultiple times, which is causing the conflict. - I've verified that the logic generating the
.batfilename is unique to its context. - The error might be related to some rules or macros generating the same file, but I've been unable to identify the root cause.
I would appreciate any insights or potential fixes for this issue. Let me know if any additional information is required. Thanks in advance for your support.
Best regards,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels