954,148 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Hung when compiling

Hello! I'm compiling a project in VC++ 2005 express, and for some reason it is hanging. It gets to a certain point and just doesn't seem to do anything. This is the readout when it is happening:

c:\Qt\4.3.3\bin\uic.exe RoboSearch.ui -o ui_RoboSearch.h
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"c:\Qt\4.3.3\include\QtCore" -I"c:\Qt\4.3.3\include\QtCore" -I"c:\Qt\4.3.3\include\QtGui" -I"c:\Qt\4.3.3\include\QtGui" -I"c:\Qt\4.3.3\include\QtXml" -I"c:\Qt\4.3.3\include\QtXml" -I"c:\Qt\4.3.3\include" -I"." -I"c:\Qt\4.3.3\include\ActiveQt" -I"release" -I"." -I"c:\Qt\4.3.3\mkspecs\default" -o release\compare.o compare.cpp


I am using this with Qt 4, but have had no trouble compiling everything so far.

Has anyone seen this before? There are no errors saying that anything has gone wrong, it doesn't complete.... it just stalls....

Yes, I've tried to clean and rebuild

abrou
Newbie Poster
20 posts since Feb 2008
Reputation Points: 10
Solved Threads: 1
 

How long did you wait after the hung? Does it hang your machine?
What is the .NET framework you are using? It takes longer if you have installed new version of framework sometimes as long as five minutes, subsequent builds will be faster.

dubeyprateek
Junior Poster
176 posts since Mar 2006
Reputation Points: 39
Solved Threads: 24
 

It hangs my machine. I just left it for 10 minutes, and it compiled (well, kind of, there was an error), but I'm not sure why the sudden change in compilation speed. I don't think anything was recently installed, but this is computer is used by many people, so I will need to find that out. You are right, it is a bit faster the second time.

Also, I don't know what a .NET framework is.... Would it be useful for me to know?

Thank you very much for your time!

abrou
Newbie Poster
20 posts since Feb 2008
Reputation Points: 10
Solved Threads: 1
 

You may not need to lear about .Net framework as such for your project. It is a underline layer which helps managed code to run your system(It is not the only thing it does).

Sometime Windows update can install new framework for you.

dubeyprateek
Junior Poster
176 posts since Mar 2006
Reputation Points: 39
Solved Threads: 24
 

Thank you very much for your help!

Apparently it was just patience needed....

abrou
Newbie Poster
20 posts since Feb 2008
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You