

Now it is not complaining about database, seems it is sending the data to codacy, but I cannot see anything on codacy. SET(GCC_COVERAGE_LINK_FLAGS "-coverage -lgcov") SET(GCC_COVERAGE_COMPILE_FLAGS "-g -O0 -coverage -fprofile-arcs -ftest-coverage") Set(CMAKE_CXX_CLANG_TIDY "" CACHE STRING "" FORCE)Īdd_definitions(-DDUCKVIL_PLATFORM_WINDOWS)Īdd_definitions(-DDUCKVIL_PLATFORM_LINUX) Message(WARNING "Could not find clang-tidy!") Main CMakeLists.txt: cmake_minimum_required(VERSION 3.17)įind_program(CLANG_TIDY_COMMAND NAMES clang-tidy) I am sure that compile_commands.json is in build directory where I am trying to run clang-tidy. Json-compilation-database: Error while opening JSON database: No such file or directory to correct inaccurate and/or missing information by researching the Integrated Data Retrieval. No compilation database found in /home/travis/build/mVento3/Duckvil or any parent directoryįixed-compilation-database: Error while opening fixed database: No such file or directory Input Correction will correct errors via the CTW database. H "Content-type: application/json" -d \īut it is complaining that compilation data cannot be found: Error while trying to load a compilation database:Ĭould not auto-detect compilation database for file "/home/travis/build/mVento3/Duckvil/build" Once you have the design right then use the fixed location database, so all updates will be saved in that file and it will not get destroyed. You should only be doing the copying during the project development phase while the structure of your tables may be changing. codacy-clang-tidy-1.1.1 | \Ĭurl -XPOST -L -H "project-token: $CODACY_PROJECT_TOKEN" \ You need to copy your database to a fixed location and access it from there. I am doing it like this: clang-tidy $PWD -header-filter=.*,-checks=-*,clang-analyzer-*,-clang-analyzer-cplusplus* |. In order to fix this, you have to restore a pre.
Checkmark 1099 database cannot be found error update#
I am trying to run clang-tidy for my project for send data to Codacy. This error occurs because when a user upgrades to the Sage 50 Payroll, they are not able to update their data. I am struggling with running clang-tidy for my project.
