- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Labels:
-
PSoC 3
-
PSoC 3 Device Programming
- Tags:
- definition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, this happens sometimes due to PSoC Creator file linking not working properly. A clean and build will help solve this issue
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have already tried clean and build and it doesn't help.
It even happens when the function and the call to that function are in the same .c file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please use "Find all active references" option to locate the files in case the find declaration doesn't work.
Regards,
Dheeraj