You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detect the error below, delete the .terra/cxx_parser directory and rerun terra if the "does not match the source" error occurs.
CMake Error: The source "/xxx/terra_shared_configs/node_modules/@agoraio-extensions/cxx-parser/cxx/cppast_backend/CMakeLists.txt" does not match the source "/xxx/tool/terra/node_modules/@agoraio-extensions/cxx-parser/cxx/cppast_backend/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
The text was updated successfully, but these errors were encountered:
littleGnAl
changed the title
Delete the .terra/cxx_parser directory and rerun terra if match source error occur
Delete the .terra/cxx_parser directory and rerun terra if the "does not match the source" error occurs
Sep 23, 2024
+ LLVM_CONFIG_BINARY=
+ [[ ! -z '' ]]
+ echo 'Use the llvm from the system'
Use the llvm from the system
++ which llvm-config
+ LLVM_CONFIG_BINARY=/usr/local/opt/llvm@15/bin/llvm-config
+ cmake -DLLVM_CONFIG_BINARY=/usr/local/opt/llvm@15/bin/llvm-config -DLLVM_DOWNLOAD_URL= -DRUNTIME_OUTPUT_DIRECTORY=/my/path/.terra/overridenode_cxx_parser /my/path/node_modules/@agoraio-extensions/cxx-parser/cxx/cppast_backend
CMake Error: The source "/my/path/node_modules/@agoraio-extensions/cxx-parser/cxx/cppast_backend/CMakeLists.txt" does not match the source "/Users/fenglang/codes/aw/terra_shared_configs/node_modules/@agoraio-extensions/cxx-parser/cxx/cppast_backend/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
Error: Command failed: bash /my/path/node_modules/@agoraio-extensions/cxx-parser/cxx/cppast_backend/build.sh "/my/path/.terra/overridenode_cxx_parser" "--visit-headers=xxx,CustomIAudioDeviceManager.h --include-header-dirs=/my/path/node_modules/@agoraio-extensions/terra_shared_configs/headers/rtc_4.3.2/include --defines-macros="" --output-dir=/my/path/.terra/overridenode_cxx_parser/dump_json_a703d82a375166d79908f8726176e85d.json --pre-process-dir=/my/path/.terra/overridenode_cxx_parser/preProcess@a703d82a375166d79908f8726176e85d --dump-json"
Detect the error below, delete the
.terra/cxx_parser
directory and rerun terra if the "does not match the source" error occurs.The text was updated successfully, but these errors were encountered: