User forums > Help

Compilation / Build Freezes

<< < (2/2)

guitarro17:

--- Quote from: bubo on March 24, 2009, 04:55:20 pm ---I had this problem too.
If you have Vista:

1. download all recomended OS updates (especialy 1st service pack)
2. download mingw3.4.5 patch for vista (or use newer mingw 4.2.1)
3. DON'T use parallel build (Compiler settings -> "Number of processes for parallel build":  set it to 1!)
4. if you use thirdparty libraries -> rebuild them all with new mingw

Optionaly:
Rarely it freezes when my notebook is in "battery saving" mode (follow 3rd point about parallel build)

I hope it will help
Regards

--- End quote ---

I don't use Vista, but I will try this!
Where can I find this "Numer of process for parallel build" ?? I can't find this on "Settings -> Compiler and debugger"...

Is it in another place?

guitarro17:
I found... this is seted to 1 :(

bubo:
It freezes when compiler can't create binary (".o") file wich is opened in another process.

Do in Windows:
check disk for errors + defragmentation (standard OS system tools)

Also check this:
Every file, dir, library, search path ... shouldn't have spaces!! Mingw can not handle this well.
Also mingw installation dir shouldn't have space (e.g "C:\Program Files\mingw" is wrong install dir).
Before build your project, look in windows's Task Manager if there isn't any hanging mingw process (cc1.exe cc1plus.exe collect2.exe). If yes end them, rebuild project!

bubo:
OH and I forget one important thing:

When mingw is installed on drive C:\ and project or library is located on another drive (e.g. D:\) mingw goes MAD!

Navigation

[0] Message Index

[*] Previous page

Go to full version