Author Topic: Compile Error  (Read 3432 times)

Offline Tugamaniac

  • Single posting newcomer
  • *
  • Posts: 3
Compile Error
« 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 :)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Compile Error
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Tugamaniac

  • Single posting newcomer
  • *
  • Posts: 3
Re: Compile Error
« Reply #2 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 :-/
« Last Edit: January 04, 2014, 06:00:35 pm by Tugamaniac »

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: Compile Error
« Reply #3 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)) ?

Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline Tugamaniac

  • Single posting newcomer
  • *
  • Posts: 3
Re: Compile Error
« Reply #4 on: January 04, 2014, 06:07:52 pm »
hi :)

i followed this tutorial

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

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

thanks for the help :)