Try commenting out the "windows.h" include and adding the following:
If I remember correctly, the function included in windows.h and used in the image processing code is "sprintf", which is also available in "stdio.h". (It makes sense that windows.h isn't available since you're deploying the code on VxWorks, not Windows)