Missing Arduino_h7_video.h missing

Just now a program fails to compile, that compiled only two hours ago. This happened right after I installed 2.031 up date is there a replacement library.
I have been writing this program for several months and now it won't compile.
I am using a Giga R1 wifi and Giga display. My program worked before the update, now nothing. The area failure is in Arduino_GigaDisplay_GFX.h at line 5,
#include "Arduino_H7_video.h".
Please advise.
Kurt50

Hi @kurt50. I'm going to ask you to post the full verbose output from a compilation.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Check the box next to "Show verbose output during: ☐ compilation" in the "Preferences" dialog.
  3. Click the "OK" button.
  4. Select Sketch > Verify/Compile from the Arduino IDE menus.
  5. Wait for the compilation to fail.
  6. You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
  7. Open a forum reply here by clicking the "Reply" button.
  8. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block icon on toolbar
  9. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the compilation output into the code block.
  10. Move the cursor outside of the code block markup before you add any additional text to your reply.
  11. Click the "Reply" button to post the output.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the "Reply" button.
  5. Click the "Upload" icon (Upload icon) on the post composer toolbar:
    Upload icon on toolbar
    The "Open" dialog will open.
  6. Select the .txt file you saved from the "Open" dialog.
  7. Click the "Open" button.
    The dialog will close.
  8. Click the "Reply" button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.

Similar problem here - I had a trivial example running on a giga display, now "Arduino_H7_video.h" is missing.


FQBN: arduino:mbed_giga:giga
Using board 'giga' from platform in folder: C:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1
Using core 'arduino' from platform in folder: C:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1

Detecting libraries used...
C:\Users\Patty\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -g3 -nostdlib @C:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/defines.txt @C:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/cxxflags.txt -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 -IC:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino -IC:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 -IC:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated -IC:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino/api/deprecated-avr-comp -iprefixC:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\cores\arduino @C:\Users\Patty\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.1.1\variants\GIGA/../GIGA/includes.txt C:\Users\Patty\AppData\Local\Temp\arduino\sketches\4DE351FBA073E365881201D43E8625F9\sketch\Demo-touch_detector.ino.cpp -o nul
C:\Users\Patty\Documents\OneDrive - Emory University\Customers & Projects\Outside departments\Environmental Science\Debjani Sihi lab\Soil sample O2\Arduino code\Giga Display startup\Demo-touch_detector\Demo-touch_detector.ino:1:10: fatal error: Arduino_GigaDisplay_GFX.h: No such file or directory
 #include "Arduino_GigaDisplay_GFX.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Alternatives for Arduino_GigaDisplay_GFX.h: []
ResolveLibrary(Arduino_GigaDisplay_GFX.h)
  -> candidates: []
exit status 1

Compilation error: Arduino_GigaDisplay_GFX.h: No such file or directory

Hi @laramsey. It looks like you don't have the "Arduino_GigaDisplay_GFX" library installed.

I'll provide instructions you can follow to install it:

  1. Select Sketch > Include Library > Manage Libraries... from the Arduino IDE menus to open the "Library Manager" view in the left side panel.
  2. Type Arduino_GigaDisplay_GFX in the "Filter your search..." field.
  3. Scroll down through the list of libraries until you see the "Arduino_GigaDisplay_GFX" entry.
  4. You will see an "INSTALL" button at the bottom of the entry. Click the button.
    An "Install library dependencies" dialog will open.
  5. Click the "INSTALL ALL" button in the "Install library dependencies" dialog.
    The dialog will close.
  6. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    ⓘ Successfully installed library ...

Now try compiling the sketch again. Hopefully this time it will compile without any errors.

1 Like

So, I did have Arduino_GigaDisplay_GFX installed, but again I changed the default sketch directory and the IDE couldn't find stuff after that. Kind of embarrassing that I've had to learn that lesson 2x. Removed all the lib's related to the giga board + display, re-installed, and that seems to have fixed it. I'm starting to accept that I can't separate my projects in different directories - it breaks too much stuff when you do that. Thanks so much for following up!

You are welcome. I'm glad it is working now.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.