pegasus@pegasus:~$ clang --version
clang version 19.0.0git (https://github.com/llvm/llvm-project.git 815644b4dd882ade2e5649d4f97c3dd6f7aea200)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/pegasus/Documents/llvm-project/build/bin
pegasus@pegasus:~$ g++ --version
g++ (Ubuntu 13.2.0-4ubuntu3) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
pegasus@pegasus:~$ gcc --version
gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Makefile. Он вызывает команду cmake. Я запускаю его из репозитория bpftime.
Я пытаюсь собрать https://github.com/eunomia-bpf/bpftime/ Когда я использую #include , появляется следующая ошибка: [code]fatal error: include/chrono: No such file or directory 14 | #include [/code] Версии компилятора: [code]pegasus@pegasus:~$ clang --version clang version 19.0.0git (https://github.com/llvm/llvm-project.git 815644b4dd882ade2e5649d4f97c3dd6f7aea200) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/pegasus/Documents/llvm-project/build/bin pegasus@pegasus:~$ g++ --version g++ (Ubuntu 13.2.0-4ubuntu3) 13.2.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
pegasus@pegasus:~$ gcc --version gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0 Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [/code] Makefile. Он вызывает команду cmake. Я запускаю его из репозитория bpftime. [code].PHONY: install coverage test docs help build clean unit-test-daemon unit-test unit-test-runtime .DEFAULT_GOAL := help
for line in sys.stdin: match = re.match(r'^([a-zA-Z\d_-]+):.*?## (.*)$$', line) if match: target, help = match.groups() print("%-20s %s" % (target, help)) endef export PRINT_HELP_PYSCRIPT
unit-test-runtime: make -C runtime/test/bpf && cp runtime/test/bpf/*.bpf.o build/runtime/test/ ./build/runtime/unit-test/bpftime_runtime_tests cd build/runtime/test && make && ctest -VV
unit-test: unit-test-daemon unit-test-runtime ## run catch2 unit tests
build: ## build the package with test and all components cmake -Bbuild -DBPFTIME_ENABLE_UNIT_TESTING=1 -DBUILD_BPFTIME_DAEMON=1 -DCMAKE_BUILD_TYPE:STRING=Debug cmake --build build --config Debug -j$(JOBS)
build-iouring: ## build the package with iouring extension cmake -Bbuild -DBPFTIME_ENABLE_IOURING_EXT=1 -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo cmake --build build --config RelWithDebInfo -j$(JOBS)
release: ## build the release version cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ -DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_INFO cmake --build build --config RelWithDebInfo --target install -j$(JOBS)
release-with-llvm-jit: ## build the package, with llvm-jit cmake -Bbuild -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ -DBPFTIME_LLVM_JIT=1 cmake --build build --config RelWithDebInfo --target install -j$(JOBS)
build-vm: ## build only the core library make -C vm build
Я анализирую журналы SVN, и они содержат дату/время в этом формате 2023-09-23T23:08:30.383815Z.
Мне нужно преобразовать это в объект времени (предполагается, что std::chrono::steady_lock — хороший формат). Однако весь код, который я смог найти для...
Я анализирую журналы SVN, и они содержат дату/время в этом формате 2023-09-23T23:08:30.383815Z.
Мне нужно преобразовать это в объект времени (предполагается, что std::chrono::steady_lock — хороший формат). Однако весь код, который я смог найти для...
В моем коде нет ошибок, и я настроил Mingw в переменных среды, но показывает эту ошибку. Я создал этот файл в Dev C++ , и в нем все работает хорошо. Ошибка:
g++.exe: error: Calculator: No such file or directory
g++.exe: error: .cpp: No such file or...