IntelliSense not working for Raspberry Pi projects

Sysprogs forums Forums VisualGDB IntelliSense not working for Raspberry Pi projects

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22862
    migou
    Participant

    Hi,

    same to me (Raspberry Project). All include paths are set, files are there, but clang ignores all of them, build works. Adding missing headers by the ‘add-wizzard’ (screenshot) results in error …

    (the german text in the msgbox means: ‘Value may not be NULL. Name of parameter: path1’)

    Attachments:
    You must be logged in to view attached files.
    #22870
    support
    Keymaster

    Hi,

    No problem, we can help you. Please let us know whether it’s a cross toolchain-based project, or if it’s compiled on the Raspberry Pi directly.

    In the latter case, what source transfer mode are you using? (e.g. automatic uploading, direct SSH access or shared folders).

    #22873
    migou
    Participant

    thanx for real fast reply!

    i just found out that it works as MSBuild and CMake in case of unchecking ‘Use the advanced CMake Subsystem’ and not using ssh, so it may be a problem related to using direct ssh access.

    Does that help?

    #22874
    support
    Keymaster

    Hi,

    Yes, this narrows down the scope.

    Please try switching Clang IntelliSense to the “Projects” and “Remote VS” views and attach:

    • A screenshot from the “Remote FS” view (please resize the window so that it shows all fetched directories at the bottom of the console).
    • The entire text from Projects -> <project name> -> CXXFLAGS. If the text is missing, please share a screenshot of the “Projects” view instead.

    This should explain what is going on.

    #22875
    migou
    Participant

    Hi,

    the new build 5.4.10.2594 using ninja has the same effect. I attached the screenshots and logfile

    Attachments:
    You must be logged in to view attached files.
    #22883
    support
    Keymaster

    Hi,

    Sorry, this is showing the flags for the main source file, but not for the project itself. Please click at the project name and then copy the CXXFLAGS.

    Also the diagnostics console shows that the Clang server process has terminated. Was this caused by reopening the project, or does this message seem to occur randomly?

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.