[Qt-interest] Qt 4.4.0 does not compile (nmake)

Malyushytsky, Alex alex at wai.com
Thu Feb 19 03:32:13 CET 2009


First, I would advice you against using 4.4.0 now. Get 4.4.3. It would not fix your build problem, but it will save time later.


If it does not compile, it might be mis-cofigured or you are trying to build it without proper environment set (or environment for not only VS compilers set).
It looks like your are trying to rebuild QT over previously built version (changing configuration?).
In this case I would suggest you to either build in the different folder or at least use don't forget to use
"nmake confclean" before re-running configure

I would suggest you to do the following:

1. Start Visual Studio 2005 Command Prompt. Go to QT folder. Run "nmake confclean",  if  QT was already built there.

2. If you have/had mingw or other compiler(s) which may use variables below installed, check that following variable have only appropriate VS/SDK files/folders listed:
PATH=
INCLUDE=
LIB=
LIBPATH=

3. Make sure there is only one QT version is listed in the PATH (ex: c:\Qt\4.4.3\bin).
4. Check which platform is build when you build QT, explicetely specify it, if necessary (-platform win32-msvc2005)
5. Run configure, build QT


Hope this helps,
  Alex Malyushytsky




________________________________________
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Alan Ezust
Sent: Wednesday, February 18, 2009 4:44 PM
To: Matthias Pospiech
Cc: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Qt 4.4.0 does not compile (nmake)

I have the same problem. I googled all over the place, and some people say they managed to solve the issue, but I have msvc2005 and everyone else i've seen who uses msvc2005 and is trying to build the win-commercial from source is also having problems. Why is it even looking for dshow.h if I am not using mingw? dshow.h seems to be a mingw-related file.

I am using the 32bit version of winxp, I have msvc2005, the nov2008 directX SDK, and I can't build qt4 with phonon support.

On Fri, Jul 11, 2008 at 12:29 AM, Matthias Pospiech <matthias.pospiech at gmx.de> wrote:
Rainer Wiesenfarth schrieb:

Von: Matthias Pospiech [mailto:matthias.pospiech at gmx.de]

Here the failure:
----
Code wird generiert...
       link /LIBPATH:"c:\Programme\Qt\msvc\4.4.0\lib" [...]
LINK : fatal error LNK1104: Datei "..\..\..\..\plugins\imageformats\qjpeg4.dll"
kann nicht geöffnet werden.
[...]


(for the non-German readers of the list: "File ... could not be opened")

Did you exclude the obvious reasons:
- disk full?
- access rights?
- qjpeg4.dll in use by a running application?


Ah, yes I had designer and assistend opened...

However now the compilation fails with phonon:

c:\programme\qt\msvc\4.4.0\src\3rdparty\kdebase\runtime\phonon\ds9\compointer.h(
21) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "dshow.h":
No such file or directory

what is wrong now?

Matthias


--
To unsubscribe - send a mail to qt-interest-request at trolltech.com with "unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/



---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."

"Please consider our environment before printing this email."




More information about the Qt-interest-old mailing list