Thank you Paul for your help.
I've changed the directory name from "G:\Embedded wizart\..." to "G:\Embedded_wizart\..." , changed the paths inside devenv.cmd and re builded the profile,after which that error got fixed.
Now I am getting this new error message:
... source/main.c failed.
the system cannot find the file specified.
Thank you.