I'm using the GNU GCC Compiler, and I'm trying to profile my project. I build it with -g and -pg. After running the program, I use the Code Profiler plugin. After selecting the build with the profile info, I get an error from the Code Profiler. It says:
Unable to execute Gprof
Be sure it is in the OS global path
C::B Profiler could not complete the operation
I've tried googling this error message but I get absolutely no results. It's weird because I've profiled things in the past and it's worked just fine. I don't know why it's not working anymore. I'm using Windows Vista, and I tried running Code::Blocks as an administrator but it didn't fix anything. I don't know what I need to do. Should I reinstall MinGW? Oh, and I've installed MinGW in C:\MinGW directory. Any ideas?