Tool Code::Blocks
Project Type: C + + Console program
Build Log
--------------Build: Debug in Cplus (compiler: GNU GCC Compiler)---------------
Mingw32-g++.exe-wall-fexceptions-g-iinclude-c D:\workspace\CPlus\include\b.h-o INCLUDE\B.H.GCH
Mingw32-g++.exe-o Bin\debug\cplus.exe include\b.h.gch OBJ\DEBUG\MAIN.O obj\debug\src\b.o
Include\b.h.gch:file not recognized:file format not recognized
Collect2.exe:error:ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
1 error (s), 0 warning (s) (0 minutes, 1 seconds)
Building information
= = = Build: Debug in Cplus (compiler: GNU GCC Compiler) = = =
Error:ld returned 1 exit status|
= = = Build Failed: 1 error (s), 0 warning (s) (0 minutes, 1 sec) = = =
Cause: Header files in C + + do not need to be compiled and linked
Solution: Remove the compiled and linked files from the options in the head file, and then recompile
Error:ld returned 1 exit status