Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, May 2008
Compiling QT 4.4.0 (Windows)


Message 1 in thread

When i tried to compile QT 4.4.0 for Windows i ran into some errors
regarding __RPC_out (undefined).
I  was able to resolve the Problem by adding

#include <rpcsal.h>

before

#include <medparam.h>  // //
\Qt\4.4.0\src\3rdparty\kdebase\runtime\phonon\ds9\effect.cpp

#include <mediaobject.h> //
\Qt\4.4.0\src\3rdparty\kdebase\runtime\phonon\ds9\backend.cpp

Has anyone else encountered this Problem ?

regards

Martin Schreiber

--
 [ signature omitted ] 

Message 2 in thread

Martin Schreiber wrote:
> When i tried to compile QT 4.4.0 for Windows i ran into some errors
> regarding __RPC_out (undefined).
> I  was able to resolve the Problem by adding
>
> #include <rpcsal.h>
>
> before
>
> #include <medparam.h>  // //
> \Qt\4.4.0\src\3rdparty\kdebase\runtime\phonon\ds9\effect.cpp
>
> #include <mediaobject.h> //
> \Qt\4.4.0\src\3rdparty\kdebase\runtime\phonon\ds9\backend.cpp
>
> Has anyone else encountered this Problem ?
>   
Check your INCLUDE environment variable: Make sure that first the 
DirectX SDK is listed, then a recent Windows/Platform SDK, only after 
that the include files from the PlatformSDK that comes with Visual 
Studio. E.g. my include path is:

C:\Program Files\Microsoft DirectX SDK (March 2008)\Include;C:\Program 
Files\Microsoft SDKs\Windows\v6.0\Include;C:\Program Files\Microsoft 
Visual Studio 8\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual 
Studio 8\VC\INCLUDE;C:\Program Files\Microsoft Visual Studio 
8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio 
8\SDK\v2.0\include;

You might have to adapt your LIB environment variable as well.

Regards

Kai Koehne

--
 [ signature omitted ] 

Message 3 in thread

>2008/5/7 Kai Koehne <kai.koehne@xxxxxxxxxxxxx>:
>
>  Check your INCLUDE environment variable: Make sure that first the DirectX
> SDK is listed, then a recent Windows/Platform SDK, only after that the
> include files from the PlatformSDK that comes with Visual Studio. E.g. my
> include path is:
>
>  C:\Program Files\Microsoft DirectX SDK (March 2008)\Include;C:\Program
> Files\Microsoft SDKs\Windows\v6.0\Include;C:\Program Files\Microsoft Visual
> Studio 8\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio
> 8\VC\INCLUDE;C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio
> 8\SDK\v2.0\include;
>
>  You might have to adapt your LIB environment variable as well.
>
>  Regards
>
>  Kai Koehne
>

hmm.. i think i did.

My INCLUDE path is set to :
C:\Program Files (x86)\Intel\VTune\Analyzer\include;C:\Program Files
(x86)\Intel\TBB\2.0\include;C:\Program
Files\Intel\MKL\10.0.2.019\include;C:\Program
Files\Intel\IPP\5.3.2.073\em64t\include;C:\Program Files
(x86)\Microsoft DirectX SDK (March 2008)\Include;C:\Program
Files\Microsoft SDKs\Windows\v6.1\Include

and my LIB path:
C:\Program Files (x86)\Intel\VTune\Analyzer\lib;C:\Program Files
(x86)\Intel\TBB\2.0\em64t\vc8\lib\;C:\Program
Files\Intel\MKL\10.0.2.019\em64t\lib;C:\Program
Files\Intel\IPP\5.3.2.073\em64t\lib;C:\Program
Files\Intel\IPP\5.3.2.073\em64t\stublib;C:\Program Files
(x86)\Microsoft DirectX SDK (March 2008)\Lib\x64;C:\Program
Files\Microsoft SDKs\Windows\v6.1\Lib\x64

I used the systemvariables since changing the settings in visual
studio had no effect on the x64 commandline. The paths are set in
Visual Studio but apparently are not exported to x64 commandline.

Im using Vista x64 and VS 2005.

btw. it seems to work after i added the two lines. (at least the files
with errors compiled, the build is still in progress)

--
 [ signature omitted ] 

Message 4 in thread

Sorry for the messy postings. i think i should fetch me a coffee...
Accidently i posted my message as a quotation, my answer to Kai Koehne was :

hmm.. i think i did.

My INCLUDE path is set to :
C:\Program Files (x86)\Intel\VTune\Analyzer\include;C:\Program Files
(x86)\Intel\TBB\2.0\include;C:\Program
Files\Intel\MKL\10.0.2.019\include;C:\Program
Files\Intel\IPP\5.3.2.073\em64t\include;C:\Program Files
(x86)\Microsoft DirectX SDK (March 2008)\Include;C:\Program
Files\Microsoft SDKs\Windows\v6.1\Include

and my LIB path:
C:\Program Files (x86)\Intel\VTune\Analyzer\lib;C:\Program Files
(x86)\Intel\TBB\2.0\em64t\vc8\lib\;C:\Program
Files\Intel\MKL\10.0.2.019\em64t\lib;C:\Program
Files\Intel\IPP\5.3.2.073\em64t\lib;C:\Program
Files\Intel\IPP\5.3.2.073\em64t\stublib;C:\Program Files
(x86)\Microsoft DirectX SDK (March 2008)\Lib\x64;C:\Program
Files\Microsoft SDKs\Windows\v6.1\Lib\x64

I used the systemvariables since changing the settings in visual
studio had no effect on the x64 commandline. The paths are set in
Visual Studio but apparently are not exported to x64 commandline.

Im using Vista x64 and VS 2005.

btw. it seems to work after i added the two lines. (at least the files
with errors compiled, the build is still in progress)

--
 [ signature omitted ] 

Message 5 in thread

Hello Martin,

Actually you don't need to install DirectX SDK if you have the Windows SDK.
Could you also try and put the paths to the Windows SDK first in your env
variables?
We never encountered this issue but if the problem's confirmed we'll add the
include you mention in the next patch release.

Best Regards,
Thierry


-----Original Message-----
From: Martin Schreiber [mailto:zirkelmagier@xxxxxxxxxxxxxx] 
Sent: mercredi 7 mai 2008 10:01
To: qt-interest@xxxxxxxxxxxxx
Subject: Re: Compiling QT 4.4.0 (Windows)

Sorry for the messy postings. i think i should fetch me a coffee...
Accidently i posted my message as a quotation, my answer to Kai Koehne was :

hmm.. i think i did.

My INCLUDE path is set to :
C:\Program Files (x86)\Intel\VTune\Analyzer\include;C:\Program Files
(x86)\Intel\TBB\2.0\include;C:\Program
Files\Intel\MKL\10.0.2.019\include;C:\Program
Files\Intel\IPP\5.3.2.073\em64t\include;C:\Program Files
(x86)\Microsoft DirectX SDK (March 2008)\Include;C:\Program
Files\Microsoft SDKs\Windows\v6.1\Include

and my LIB path:
C:\Program Files (x86)\Intel\VTune\Analyzer\lib;C:\Program Files
(x86)\Intel\TBB\2.0\em64t\vc8\lib\;C:\Program
Files\Intel\MKL\10.0.2.019\em64t\lib;C:\Program
Files\Intel\IPP\5.3.2.073\em64t\lib;C:\Program
Files\Intel\IPP\5.3.2.073\em64t\stublib;C:\Program Files
(x86)\Microsoft DirectX SDK (March 2008)\Lib\x64;C:\Program
Files\Microsoft SDKs\Windows\v6.1\Lib\x64

I used the systemvariables since changing the settings in visual
studio had no effect on the x64 commandline. The paths are set in
Visual Studio but apparently are not exported to x64 commandline.

Im using Vista x64 and VS 2005.

btw. it seems to work after i added the two lines. (at least the files
with errors compiled, the build is still in progress)

--
 [ signature omitted ]