User forums > Help
mingw suddenly takeing hours to compile 100kb of C++ code?
ouch:
Yeah, It happened when I decided to try to compile the svn version of codeblocks. Everything works fine except the version number always reads 0.
Anyway, for some reason it's now takeing mingw hours to compile my app when it took a minuate or two before the svn.
The problem is not the SVN itself as I can load up the release version and the same thing happens now.
I've checked my compiler settings and they havn't changed either.
The mingw app cc1plus.exe, also consumes vast amounts of memory. I started compilation 30 mins ago and it's at a little over 200MB and rising. But yet, If I let it run overnight I wake up to an exe that is just 3mb in size thankfully.
I tried clicking "reset compiler settings to default" but it didn't seem to do anything.
I can also compile wxsqlite3 fairly fast with the comand line so I think codeblocks is suddenly screwing up mingw compiles some how...
any ideas?
stahta01:
Is svn.exe in your path?
If Code::Blocks can not run svn.exe then the svn used is normally 0.
Tim S
thomas:
If a build suddenly takes hours instead of minutes without any code changes, you probably use precompiled headers and have them messed up somehow (for example by changing a compiler setting).
Deleting all precompiled headers should fix it.
ouch:
I was unable to find a file called svn.exe. where can I get it?
I did try to delete the precompiled headers and start over but the results are the same.
it still takes 59 minuates and 12 seconds to compile my 100kb project... 80% of the code at this point is deals with wxwidgets GUI creation. So it's not like I'm asking it to calculate the meaning of life...
thomas:
--- Quote from: ouch on April 16, 2008, 06:47:59 pm ---I was unable to find a file called svn.exe. where can I get it?
--- End quote ---
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
It is not related to your long compile times, however.
Navigation
[0] Message Index
[#] Next page
Go to full version