News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

It seems that your project has not built yet. Do you want to built it now?

Started by marcot264, February 12, 2015, 01:29:04 AM

Previous topic - Next topic

marcot264

Before I have Installed MinGW CB worked fine, but now I can't build any project.
It appears evrytime I want to run/build a project this window, and if i click on "si" (yes), the window doesn't dissapear.


PLEASE, HELP ME...

Edit:
The Build Log

Checking for existence: C:\Users\Marco\Documents\lol\bin\Debug\lol.exe
Executing: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\Marco\Documents\lol\bin\Debug\lol.exe"  (in C:\Users\Marco\Documents\lol\.)
Process terminated with status -1073741510 (896 minute(s), 43 second(s))

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

marcot264

Checking for existence: C:\Users\Marco\Documents\lol\bin\Debug\lol.exe
Executing: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\Marco\Documents\lol\bin\Debug\lol.exe"  (in C:\Users\Marco\Documents\lol\.)
Process terminated with status -1073741510 (896 minute(s), 43 second(s))


marcot264

it gives me also this if i change the option of the window:


-------------- Build: Debug in lol (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe  -o bin\Debug\lol.exe obj\Debug\main.o   
Execution of 'mingw32-g++.exe  -o bin\Debug\lol.exe obj\Debug\main.o' in 'C:\Users\Marco\Documents\lol' failed.

-------------- Run: Debug in lol (compiler: GNU GCC Compiler)---------------

Checking for existence: C:\Users\Marco\Documents\lol\bin\Debug\lol.exe

stahta01

Check that the CB settings for the compiler toolchain are set correctly.

How many Mingw GCC have you installed and what directory did you install them into?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

marcot264



I got this settings. Although I did a C project, it runs g++, not gcc...

I installed mingw32-base.
Just that.

oBFusCATed

Where have you installed it?
Does mingw32-g++.exe runs correctly if you run it from the command line?
(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!]

marcot264

I did notice that i didn't have g++ in the MinGW folder (although it was a C Project, it uses g++, not gcc).
Now it runs.
But when i want to use the compiler by default, where do I have to look up?
Because before, when I didn't already have MinGW installer, it did run.

oBFusCATed

Probably you've used the installer of codeblocks that install the mingw compiler somewhere in program files/codeblocks/... and this is why it has worked.
(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!]