Saturday, September 03, 2005

PODS does not find every error

Sometimes, PODS cancels the compiling process with an error message like this shown in the problems tab of the graphical environment:

*** [Project] Error 1 Project 3. September 2005 21:38:22

There is very little information accompanying such an error-at least for people who didnt discover the console tab of Eclipse yet. Well, no problem. There is a lot of tabs at the bottom of eclipse under the editor-and one of them reads console. If not, add it using (Window-Show View->Console) Clicking it leads to more-less random text garbage. Now, rebuild the project from scratch(Project->Clean...). The compiling process now be shown in the Console tab-and you can usually find an error message like this one here:

src/VfsSelect.o(.text+0x1e0):VfsSelect.c: undefined reference to `VFSOpenFile'
collect2: ld returned 1 exit status
make: *** [BinaryClock] Error 1

And indeed, the error is now easy to find. It is a typo in the module VfsSelect.c-the call is VFSFileOpen and not VFSOpenFile. Fixing the call let the program work once again!
Altough PODS is a graphical development environment, it still pays out to look at the console sometimes... . Did you ever have such a problem? Do you use the console view?


Anonymous Marc said...

I have never seen a developer using an eclipse-based IDE, which has not used the console-view... Since you...
How did you debug before you found this view?
LOL, you made my day!

3:29 PM  
Blogger Tam Hanna said...

I always used the console view for seeing what the IDE does when ordering an incremental build(was that new file integrated??). However, since most (important) problems automatically appear in the problems tab, I usually have this one open. It is easier to have hyperlinked references to the problem(s), than having to look the locations up yourself!
And last but not least-this blog is not just targeted at experts. Having a laugh is healthy and helpful at times... .
Best regards
Tam Hanna

5:36 PM  
Blogger aiya said...

Office 2010
Microsoft Office 2010
Microsoft word
Office 2007
Microsoft Office
Microsoft Office 2007
Office 2007 key
Office 2007 download
Office 2007 Professional
Outlook 2010
Microsoft outlook
Microsoft outlook 2010
Windows 7

8:05 AM  
Blogger weddingdresses said...

power balance is said for optimal peak performance by your body it is important to keep an ionic balance and good flow of energy through pathways at your bodies optimum frequency. Apparently after years of research and development power balance neoprene has developed a method to safely and immediately restore and optimize the energy balance with in your body.
winter boots
nike running shoes

8:55 AM  

Post a Comment

<< Home