Code::Blocks Forums

User forums => Help => Topic started by: Tugamaniac on January 04, 2014, 04:23:48 pm

Title: Compile Error
Post by: Tugamaniac on January 04, 2014, 04:23:48 pm
Hi everyone,

Im new here :) ive just downloaded codeblocks-13.12mingw-setup and installed it, then i went to compiler paths and auto detected it without problems

http://prntscr.com/2gg074

but when i try to build and run this error appears

http://prntscr.com/2gfzj2

I appreciate ur help :) ive searched for some info in forums and google but couldnt find any.

Have a good day :)
Title: Re: Compile Error
Post by: oBFusCATed on January 04, 2014, 04:49:27 pm
Probably your compiler is broken. Try to see if it works from the command line.

BTW: The build log supports copy-pasting, so next time please post the full log as text instead of posting images.
Title: Re: Compile Error
Post by: Tugamaniac on January 04, 2014, 05:37:14 pm
Hi again,
thx for your reply,

i tried with command line and it creates the main.exe file then i execute it but it closes immediately if i remember well with codeblocks we have to press any key to close the console but here it pops up then closes.

well i tried again with codeblocks and had the same error :-/
Title: Re: Compile Error
Post by: gd_on on January 04, 2014, 05:57:41 pm
This message suggests that the folder where you develop your project is write protected.
Did you put your project to a folder where you have write and read access, for example in "My documents" or something like that (and not within program files (x86)) ?

Title: Re: Compile Error
Post by: Tugamaniac on January 04, 2014, 06:07:52 pm
hi :)

i followed this tutorial

http://www.youtube.com/watch?v=w2XLvEcSrgo (http://www.youtube.com/watch?v=w2XLvEcSrgo)

then at compiler path i chosed \bin folder and its working now :)

thanks for the help :)