User forums > General (but related to Code::Blocks)
Compilation Error on CodeBlocks
(1/1)
Fredy:
--- Code: ---I am running Code::Blocks version 16.01 on windows 10. The compiler I use is GNU GCC Compiler. Version, I am not sure. When I try to compile a multiple-source file program, it just could not compile. I tried saving both source files on the same directory but it could not work. I have attached the build logs and build messages on this post. Any help?
--- End code ---
Miguel Gimenez:
You must add whatever file contains WinMain to the linker.
You have used code tags (the #) for the description, please use them (only) for attaching logs and messages instead of using images.
MortenMacFly:
...fixed in revision 13360. Sorry about that, I forgot to select one file on the initial commit
ollydbg:
--- Quote from: MortenMacFly on September 24, 2023, 07:26:41 pm ---...fixed in revision 13360. Sorry about that, I forgot to select one file on the initial commit
--- End quote ---
Hi, Morten, thanks. But you replied in the wrong thread.
It should be here: https://forums.codeblocks.org/index.php/topic,25527.msg173806.html#msg173806
Navigation
[0] Message Index
Go to full version