Raspberry, Header files not found

Sysprogs forums Forums VisualGDB Raspberry, Header files not found

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7389
    Nadav
    Participant

    Environment

    • C++
    • Raspberry Pi2
    • Visual Studio 2015 + VisualGDB 5.0

    Use-case

    • Project is using OpenMAX
    • OpenMAX header files are only found on the ~remote~ Raspberry Pi2 device

    Problem at hand

    1. Trying to go to the definition of any of the OpenMAX APIs ( clicking F12 on Visual Studio ) FAIL with “The selected location does not refer to a C/C++ entity”
    2. Trying to open the header files directly ( by right-clicking the #include command at the C++ Source File ) silently FAILs.

    How can I get ‘Go to Definition’ and ‘IntelliSence’ work for the OpenMAX Header files ( that reside only on the remote RPi2 device ), shouldn’t VisualGDB copy those locally ?

     

    Nadav @ http://nadavrub.wordpress.com

    • This topic was modified 9 years ago by Nadav.
    #7391
    support
    Keymaster

    Hi,

    If you are compiling the code on Raspberry Pi, please open VisualGDB Project Properties, go to the IntelliSense Settings page and reload all include directories. If you are using a cross-compiler, simply resynchronize the sysroot from the Build Settings page of VisualGDB Project Properties.

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