Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Unresolved symbol from included header(Included header is resolved, but symbol defined in that header is not resloved)
Unresolved symbol from included header [message #1852021] Mon, 25 April 2022 22:01
Eclipse UserFriend
I am using Eclipse V4.21.0. I have a CMake project that includes a header (#include "driver/spi_master.h"). If I clean the project then build it, it crunches away for a while, then tells me "Build complete (0 errors, 0 warnings)."

However, in the Project Explorer I can see a red x next to a file and in the editor there is an error marker. Hovering the mouse over the marker tells me that the "Symbol SPI_TRANS_USE_RXDATA could not be resolved." SPI_TRANS_USE_RXDATA is defined in spi_master.h (#define SPI_TRANS_USE_RXDATA (1<<2)). spi_master.h is definitely resolved, if I change the path I get a "?" and structures and functions defined in the header are not flagged as unresolved. When I try to download the project I get a dialog box saying there are errors.

Any thoughts?
Previous Topic:Sources are not shown during remote target debugging
Next Topic:Installation 2022-03 with remote development for raspberry
Goto Forum:
  


Current Time: Wed Jul 16 19:36:44 EDT 2025

Powered by FUDForum. Page generated in 0.03071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top