- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[I cannot reply to https://community.cypress.com/t5/PSoC-5-3-1-MCU/We-were-unable-to-find-the-symbol-There-are-several-... from the old forum so I will create it again]
Often when I right-click a function name and select Go To Definition, it doesn't work. I get this error:
We were unable to find the symbol 'FunctionName. There are several things that can hinder symbol lookup:
- Make sure your project compiles without errors.
- Make sure your "Generated Source" has been generated (Build -> Generate Application).
- Make sure your .c files #include their corresponding header files.
The project compiles without errors, the Generated Source has been generated, and the .c files include the .h files which declare the function.
I don't understand why this works for some functions and not others.
I have to use Ctrl+Shift+F and search for the function definition manually.
Has anyone had this problem and figured it out?
For example, if I create a New Project, with the UART_Full_Duplex example, and build it, and then in main.c try to right-click on UART_PutString and Go To Definition, it produces this error. Is it a missing .h file or something?
- Labels:
-
PSoC3 MCU