Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [START][2025-03-11 18:30:32] LSP logging initiated
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'I[18:30:32.099] clangd version 19.1.7
- I[18:30:32.099] Features: linux
- I[18:30:32.099] PID: 5956
- I[18:30:32.099] Working directory: <project_root>
- I[18:30:32.099] argv[0]: /usr/bin/clangd
- I[18:30:32.099] argv[1]: --query-driver=/usr/bin/clang*
- I[18:30:32.099] argv[2]: --log=verbose
- V[18:30:32.099] User config file is /home/davide/.config/clangd/config.yaml
- I[18:30:32.099] Starting LSP over stdin/stdout
- V[18:30:32.099] <<< {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8","utf-16","utf-32"]},"offsetEncoding":["utf-8","utf-16"],"textDocument":{"callHierarchy":{"dynamicRegistration":false},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"dynamicRegistration":true,"isPreferredSupport":true,"resolveSupport":{"properties":["edit"]}},"codeLens":{"dynamicRegistration":false,"resolveSupport":{"properties":["command"]}},"completion":{"completionItem":{"commitCharactersSupport":false,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":false,"resolveSupport":{"properties":["additionalTextEdits","command"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"completionList":{"itemDefaults":["editRange","insertTextFormat","insertTextMode","data"]},"contextSupport":false,"dynamicRegistration":false,"editsNearCursor":true},"declaration":{"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"diagnostic":{"dynamicRegistration":false},"documentHighlight":{"dynamicRegistration":false},"documentSymbol":{"dynamicRegistration":false,"hierarchicalDocumentSymbolSupport":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"foldingRange":{"dynamicRegistration":false,"foldingRange":{"collapsedText":true},"lineFoldingOnly":true},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"linkSupport":true},"inlayHint":{"dynamicRegistration":true,"resolveSupport":{"properties":["textEdits","tooltip","location","command"]}},"publishDiagnostics":{"dataSupport":true,"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true,"rangesSupport":true},"references":{"dynamicRegistration":false},"rename":{"dynamicRegistration":true,"prepareSupport":true},"semanticTokens":{"augmentsSyntaxTokens":true,"dynamicRegistration":false,"formats":["relative"],"multilineTokenSupport":false,"overlappingTokenSupport":true,"requests":{"full":{"delta":true},"range":false},"serverCancelSupport":false,"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"]},"signatureHelp":{"dynamicRegistration":false,"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":false,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"linkSupport":true}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":false,"relativePatternSupport":true},"inlayHint":{"refreshSupport":true},"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":false,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"workspaceEdit":{"resourceOperations":["rename","create","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"Neovim","version":"0.11.0-dev+g1e4c708033"},"initializationOptions":{},"processId":5922,"rootPath":"<project_root>","rootUri":"file://<project_root>","trace":"off","workDoneToken":"1","workspaceFolders":[{"name":"<project_root>","uri":"file://<project_root>"}]}}
- I[18:30:32.099] <-- initialize(1)
- I[18:30:32.100] --> reply:initialize(1) 1 ms
- V[18:30:32.100] >>> {"id":1,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"resolveProvider":false,"triggerCharacters":[".","<",">",":","\\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\
- ","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyRename","clangd.applyTweak"]},"foldingRangeProvider":true,"hoverProvider":true,"implementationProvider":true,"inactiveRegionsProvider":true,"inlayHintProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","definition","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","usedAsMutablePointer","constructorOrDestructor","userDefined","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","modifier","operator","bracket","label","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"standardTypeHierarchyProvider":true,"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"offsetEncoding":"utf-8","serverInfo":{"name":"clangd","version":"clangd version 19.1.7 linux x86_64-pc-linux-gnu"}}}
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.223] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}
- I[18:30:32.223] <-- initialized
- V[18:30:32.224] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"void SetTransform(A01 *A) {\
- /**************\
- Using A->SetMatrix(i, M, focus) where:\
- i -> index of the matrix to set (0 .. 14)\
- M -> transform matrix to use\
- focus -> true if you want to add the focus to that piece (only one please)\
- \
- solve the puzzle. Piece 0 is alread in place, and the correct transform to\
- put in place piece 1, is the identity matrix. Find the correct transformations\
- to place the other 13 pieces (i = 2..14). The suggestion is to work on the\
- pieces one at a time, setting the focus to the one you are working on. The\
- piece with the focus, will be displayed in red. Moreover, its origin, and the\
- orientation and size of its axis will be shown. This is necessary because not\
- all the pieces have their center in the origin, but remember that the\
- transformations, assumes that the center is in the origin. Some pieces\
- (especially the ones with a high index) will require a combination of\
- transformations, since the transform is not centered with the origin or the\
- main axes. Follow the instructions in the comments to solve the puzzle.\
- \
- WARNING!\
- Since it is a C program, you can use for loops and functions if you think\
- they can be helpful in your solution. However, please include all your code in\
- this file, since it will be put in an automatic correction process for the\
- final evaluation. Please also be cautious when using standard libraries and\
- symbols, since they might not be available in all the development environments\
- (especially, they might not be available in the final evaluation environment,\
- preventing your code from compiling). This WARNING will be valid far ALL THE\
- ASSIGNMENTs, but it will not be repeated in the following texts, so please\
- remember these advices carefully!\
- \
- ***************/\
- \
- glm::mat4 M;\
- \
- // 1. This is the only one in place, and that should not be modified\
- M = glm::mat4(1.0f);\
- A->SetMatrix(0, M, false);\
- \
- // 2. This is an example on how to highlight a piece and move it.\
- // to put it in place, just replace the following line with an identity\
- // matrix, that is: A->SetMatrix(0, M, false);\
- M = glm::rotate(\
- glm::translate(glm::mat4(1.0f), glm::vec3(-0.3f, 0.0f, -1.6f)),\
- glm::radians(15.0f), glm::vec3(0.0f, 1.0f, 0.0f));\
- // M = glm::mat4(1.0f);\\t\\t\\t// to put this piece in places,\
- // uncomment this line and delete the two above\
- A->SetMatrix(1, M, true);\
- \
- // FROM THIS POINT ON, you have to find the correct transform to solve the\
- // puzzle.\
- \
- // 3. Translate 3 units along the y-axis and -2 along the z-axis.\
- M = glm::mat4(1.0f);\
- A->SetMatrix(2, M, false);\
- \
- // 4. Rotate 30 degrees around the x-axis.\
- M = glm::mat4(1.0f);\
- A->SetMatrix(3, M, false);\
- \
- // 5. Mirror over the xz-plane.\
- M = glm::mat4(1.0f);\
- A->SetMatrix(4, M, false);\
- \
- // 6. Perform a shear along the y-axis, with hx = 0.4 (and hz = 0).\
- M = glm::mat4(1.0f);\
- A->SetMatrix(5, M, false);\
- \
- // 7. Scale by 1.5 along the z-axis and 0.75 along the y-axis.\
- M = glm::mat4(1.0f);\
- A->SetMatrix(6, M, false);\
- \
- // 8. Perform a proportional scaling of a factor of 2.5.\
- M = glm::mat4(1.0f);\
- A->SetMatrix(7, M, false);\
- \
- // 9. Scale 3x proportionally, centered at (-1,0,2).\
- M = glm::mat4(1.0f);\
- A->SetMatrix(8, M, false);\
- \
- // 10. Scale 1.5x along an axis oriented 45 degrees between the y and z-axis\
- // and passing through point (0,2,-1).\
- M = glm::mat4(1.0f);\
- A->SetMatrix(9, M, false);\
- \
- // 11. Compose a rotation of 45 degrees around an axis aligned with the vector\
- // (-2,1,0), then a translation (2,0,-3).\
- M = glm::mat4(1.0f);\
- A->SetMatrix(10, M, false);\
- \
- // 12. Rotate -45 degrees around the z-axis, centered at (3,-1,0).\
- M = glm::mat4(1.0f);\
- A->SetMatrix(11, M, false);\
- \
- // 13. Perform a 90-degree rotation about an arbitrary axis passing through\
- // (0,0,-2), aligned using a 30-degree rotation around the z-axis and a\
- // 20-degree rotation around the y-axis.\
- M = glm::mat4(1.0f);\
- A->SetMatrix(12, M, false);\
- \
- // 14. Compose a non-proportional scaling that doubles the object along the\
- // y-axis, centered in (1,2,-1), with a translation (-2,0,3).\
- M = glm::mat4(1.0f);\
- A->SetMatrix(13, M, false);\
- \
- // 15. Rotate 120 degrees around a custom axis passing through (2,-1,3) and\
- // aligned with the vector (1,2,1).\
- M = glm::mat4(1.0f);\
- A->SetMatrix(14, M, false);\
- }\
- ","uri":"file://<project_root>/src/transforms.hpp","version":0}}}
- I[18:30:32.224] <-- textDocument/didOpen
- V[18:30:32.224] System include extraction: driver clang expanded to /sbin/clang
- V[18:30:32.224] System include extraction: not allowed driver /sbin/clang
- V[18:30:32.225] config note at <project_root>/.clangd:1:0: Parsing config fragment
- V[18:30:32.225] config note at <project_root>/.clangd:1:0: Parsed 1 fragments from file
- V[18:30:32.225] Config fragment: compiling <project_root>/.clangd:1 -> 0x000076FDA8003360 (trusted=false)
- I[18:30:32.225] --> textDocument/publishDiagnostics
- V[18:30:32.225] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file://<project_root>/.clangd"}}
- I[18:30:32.226] Loaded compilation database from <project_root>/build/compile_commands.json
- V[18:30:32.226] Broadcasting compilation database from <project_root>/build
- I[18:30:32.226] --> window/workDoneProgress/create(0)
- V[18:30:32.226] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
- I[18:30:32.226] Enqueueing 1 commands for indexing
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.228] <<< {"id":2,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
- I[18:30:32.228] <-- textDocument/semanticTokens/full(2)
- V[18:30:32.228] <<< {"id":0,"jsonrpc":"2.0","result":null}
- I[18:30:32.228] <-- reply(0)
- I[18:30:32.228] --> $/progress
- V[18:30:32.228] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}
- I[18:30:32.228] --> $/progress
- V[18:30:32.229] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.247] System include extraction: target extracted: "x86_64-pc-linux-gnu"
- V[18:30:32.247] System include extraction: adding /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1
- V[18:30:32.247] System include extraction: adding /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu
- V[18:30:32.247] System include extraction: adding /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward
- V[18:30:32.247] System include extraction: adding /usr/lib/clang/19/include
- V[18:30:32.247] System include extraction: adding /usr/local/include
- V[18:30:32.247] System include extraction: adding /usr/include
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.265] System includes extractor: builtin headers /usr/lib/clang/19/include excluded
- I[18:30:32.265] System includes extractor: successfully executed /usr/bin/clang++
- \tgot includes: "/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1, /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu, /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward, /usr/local/include, /usr/include"
- \tgot target: "x86_64-pc-linux-gnu"
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "I[18:30:32.265] ASTWorker building file <project_root>/src/transforms.hpp version 0 with command inferred from <project_root>/src/main.cpp
- [<project_root>/build]
- /usr/bin/clang++ --driver-mode=g++ -I<project_root>/include -g -c -std=gnu++17 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward -isystem /usr/local/include -isystem /usr/include --target=x86_64-pc-linux-gnu -resource-dir=/usr/lib/clang/19 -- <project_root>/src/transforms.hpp
- "
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.267] Driver produced command: cc1 -cc1 -triple x86_64-pc-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name transforms.hpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -fdebug-compilation-dir=<project_root>/build -fcoverage-compilation-dir=<project_root>/build -resource-dir /usr/lib/clang/19 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward -isystem /usr/local/include -isystem /usr/include -I <project_root>/include -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1 -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward -internal-isystem /usr/lib/clang/19/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=gnu++17 -fdeprecated-macro -ferror-limit 19 -stack-protector 2 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++-header <project_root>/src/transforms.hpp
- "
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.267] Building first preamble for <project_root>/src/transforms.hpp version 0
- "
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'I[18:30:32.272] Built preamble of size 239400 for file <project_root>/src/transforms.hpp version 0 in 0.01 seconds
- I[18:30:32.273] --> workspace/semanticTokens/refresh(1)
- V[18:30:32.273] >>> {"id":1,"jsonrpc":"2.0","method":"workspace/semanticTokens/refresh","params":null}
- V[18:30:32.273] indexed preamble AST for <project_root>/src/transforms.hpp version 0:
- symbol slab: 0 symbols, 120 bytes
- ref slab: 0 symbols, 0 refs, 128 bytes
- relations slab: 0 relations, 24 bytes
- I[18:30:32.275] Indexing c++17 standard library in the context of <project_root>/src/transforms.hpp
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.276] <<< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":2}}
- I[18:30:32.276] <-- $/cancelRequest
- V[18:30:32.276] <<< {"id":3,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
- I[18:30:32.276] <-- textDocument/semanticTokens/full(3)
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.276] <<< {"id":1,"jsonrpc":"2.0","result":null}
- I[18:30:32.276] <-- reply(1)
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.279] Trying to fix unresolved name "A01" in scopes: []
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "rotate" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "translate" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "vec3" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "radians" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "vec3" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.282] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.282] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.282] Trying to fix unresolved name "mat4" in scopes: [glm::]
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.283] indexed file AST for <project_root>/src/transforms.hpp version 0:
- symbol slab: 1 symbols, 4448 bytes
- ref slab: 1 symbols, 1 refs, 4248 bytes
- relations slab: 0 relations, 24 bytes
- V[18:30:32.283] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
- "
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "I[18:30:32.283] --> textDocument/publishDiagnostics
- "
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.284] >>> {\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"diagnostics\":[{\"code\":\"unknown_typename\",\"message\":\"Unknown type name 'A01'\",\"range\":{\"end\":{\"character\":21,\"line\":0},\"start\":{\"character\":18,\"line\":0}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":5,\"line\":32},\"start\":{\"character\":2,\"line\":32}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":35},\"start\":{\"character\":6,\"line\":35}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":41},\"start\":{\"character\":6,\"line\":41}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":42},\"start\":{\"character\":6,\"line\":42}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":24,\"line\":42},\"start\":{\"character\":21,\"line\":42}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":41,\"line\":42},\"start\":{\"character\":38,\"line\":42}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":43},\"start\":{\"character\":6,\"line\":43}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":30,\"line\":43},\"start\":{\"character\":27,\"line\":43}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":52},\"start\":{\"character\":6,\"line\":52}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":56},\"start\":{\"character\":6,\"line\":56}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":60},\"start\":{\"character\":6,\"line\":60}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":64},\"start\":{\"character\":6,\"line\":64}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":68},\"start\":{\"character\":6,\"line\":68}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":72},\"start\":{\"character\":6,\"line\":72}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":76},\"start\":{\"character\":6,\"line\":76}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":81},\"start\":{\"character\":6,\"line\":81}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":86},\"start\":{\"character\":6,\"line\":86}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":90},\"start\":{\"character\":6,\"line\":90}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"fatal_too_many_errors\",\"message\":\"Too many errors emitted, stopping now\",\"range\":{\"end\":{\"character\":0,\"line\":0},\"start\":{\"character\":0,\"line\":0}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"}],\"uri\":\"file://<project_root>/src/transforms.hpp\",\"version\":0}}
- I[18:30:32.284] --> reply:textDocument/semanticTokens/full(2) 55 ms, error: Task was cancelled.
- V[18:30:32.284] >>> {\"error\":{\"code\":-32800,\"message\":\"Request cancelled\"},\"id\":2,\"jsonrpc\":\"2.0\"}
- V[18:30:32.284] ASTWorker running SemanticHighlights on version 0 of <project_root>/src/transforms.hpp
- I[18:30:32.284] --> reply:textDocument/semanticTokens/full(3) 7 ms
- V[18:30:32.284] >>> {\"id\":3,\"jsonrpc\":\"2.0\",\"result\":{\"data\":[0,5,12,3,131075,0,18,1,2,16387,32,12,1,1,16387,4,2,1,2,16384,0,3,9,14,33024,10,2,1,2,16384,0,3,9,14,33024,7,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,6,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024],\"resultId\":\"1\"}}
- "
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.411] BackgroundIndex: building version 1 after loading index from disk
- "
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.517] <<< {"id":4,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":6,"line":59},"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
- I[18:30:32.517] <-- textDocument/documentHighlight(4)
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.517] ASTWorker running Highlights on version 0 of <project_root>/src/transforms.hpp
- "
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'I[18:30:32.517] --> reply:textDocument/documentHighlight(4) 0 ms
- V[18:30:32.517] >>> {"id":4,"jsonrpc":"2.0","result":[]}
- '
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.618] BackgroundIndex: serving version 1 (59075489 bytes)
- "
- [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'I[18:30:32.627] --> $/progress
- V[18:30:32.627] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
- I[18:30:32.628] --> $/progress
- V[18:30:32.628] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
- '
- [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.532] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:104:49:too many arguments provided to function-like macro invocation
- V[18:30:33.532] Ignored diagnostic. /usr/lib/clang/19/include/stdatomic.h:90:9:macro 'atomic_is_lock_free' defined here
- V[18:30:33.532] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:104:5:redefinition of 'atomic_is_lock_free' as different kind of symbol
- V[18:30:33.532] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/atomic:1296:5:previous definition is here
- "
- [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.532] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:107:7:expected expression
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:111:6:expected ';' after top level declarator
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:142:5:expected parameter declarator
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:142:5:expected ')'
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:142:5:to match this '('
- "
- [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:157:41:too many arguments provided to function-like macro invocation
- V[18:30:33.533] Ignored diagnostic. /usr/lib/clang/19/include/stdatomic.h:144:9:macro 'atomic_load' defined here
- "
- [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:157:5:redefinition of 'atomic_load' as different kind of symbol
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/atomic:1399:5:previous definition is here
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:158:7:expected expression
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:158:69:expected ';' after top level declarator
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:183:5:expected parameter declarator
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:183:5:expected ')'
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:183:5:to match this '('
- "
- [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:200:47:too many arguments provided to function-like macro invocation
- V[18:30:33.533] Ignored diagnostic. /usr/lib/clang/19/include/stdatomic.h:141:9:macro 'atomic_store' defined here
- V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:200:5:variable has incomplete type 'void'
- "
- [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.548] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:201:34:use of undeclared identifier '__p'
- V[18:30:33.548] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:201:49:use of undeclared identifier '__r'
- V[18:30:33.549] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:201:79:expected ';' after top level declarator
- "
- [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.549] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:225:5:expected parameter declarator
- V[18:30:33.549] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:225:5:expected ')'
- V[18:30:33.549] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:225:5:to match this '('
- "
- [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.549] Ignored diagnostic. too many errors emitted, stopping now
- "
- [ERROR][2025-03-11 18:30:34] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "I[18:30:34.076] Indexed c++17 standard library (incomplete due to errors): 14356 symbols, 1909 filtered
- "
- [ERROR][2025-03-11 18:30:34] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:34.118] Build dynamic index for header symbols with estimated memory usage of 8546248 bytes
- "
- [ERROR][2025-03-11 18:30:36] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:36.450] <<< {"id":5,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":0,"line":31},"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
- I[18:30:36.450] <-- textDocument/documentHighlight(5)
- '
- [ERROR][2025-03-11 18:30:36] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:36.451] ASTWorker running Highlights on version 0 of <project_root>/src/transforms.hpp
- I[18:30:36.451] --> reply:textDocument/documentHighlight(5) 0 ms
- V[18:30:36.451] >>> {"id":5,"jsonrpc":"2.0","result":[]}
- '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement