I have compiled and produced executables using both gcc and g++ from the command line in Fedora. All codes work. So it is not a compiler problem. Having said that, here's the build log error:
g++ -L/usr/include -o bin/Release/Abar obj/Release/main.o -pg /usr/include
/usr/include: file not recognized : Is a directory
collect2: error: ld returned 1 exit status[/size][/size][/color]
[/size]
Could anyone say what I need to do?
Also I have the profiling option (-pg) unchecked in compiler settings yet I see -pg figuring in the log.