Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Fredy on September 23, 2023, 06:02:35 pm

Title: Compilation Error on CodeBlocks
Post by: Fredy on September 23, 2023, 06:02:35 pm
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?

 
Title: Re: Compilation Error on CodeBlocks
Post by: Miguel Gimenez on September 23, 2023, 06:40:10 pm
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.
Title: Re: Compilation Error on CodeBlocks
Post by: 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
Title: Re: Compilation Error on CodeBlocks
Post by: ollydbg on September 25, 2023, 02:24:17 am
...fixed in revision 13360. Sorry about that, I forgot to select one file on the initial commit

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