Results 1 to 2 of 2

Thread: Compilation of phonon fails

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    157
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Compilation of phonon fails

    I get this error when compiling
    Generating Code...
    link /LIBPATH:"c:\Qt\msvc\2005\4.6.1\lib" /LIBPATH:"c:\Qt\msvc\2005\4.6.
    1\lib" /NOLOGO /DEBUG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\debug_shared\phonon_
    ds9d.intermediate.manifest" /VERSION:4.61 /OUT:..\..\..\..\plugins\phonon_backen
    d\phonon_ds9d4.dll @C:\Users\Matthias\AppData\Local\Temp\nm479A.tmp
    Creating library ..\..\..\..\plugins\phonon_backend\phonon_ds9d4.li b and obje
    ct ..\..\..\..\plugins\phonon_backend\phonon_ds9d4.ex p
    strmiids.lib(strmiids.obj) : fatal error LNK1103: debugging information corrupt;
    recompile module
    I have used the following script:
    call "%PROGRAMFILES%\Microsoft DirectX SDK (March 2009)\Utilities\bin\dx_setenv.cmd"
    call "%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /x86 /RELEASE /win7
    call "%PROGRAMFILES%\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86

    pause

    @set QTDIR=C:\Qt\msvc\2005\4.6.1
    @cd %QTDIR%
    nmake confclean
    configure -platform win32-msvc2005 -no-qt3support -phonon
    cd %QTDIR%\src\phonon
    nmake
    cd %QTDIR%\src\plugins\phonon
    nmake

    dir %QTDIR%\bin\phonon4.dll
    dir %QTDIR%\bin\phonond4.dll
    dir %QTDIR%\plugins\phonon_backend\phonon_ds94.dll
    dir %QTDIR%\plugins\phonon_backend\phonon_ds9d4.dll
    with fixed path in 'SetEnv.Cmd', and applied the necessary bug fixes to the SDK, since one gets this error:
    C:\Program Files\Microsoft SDKs\Windows\v7.0\Include\medparam.h(180) : error C20
    61: syntax error : identifier '__RPC__out'
    because the header file '#include "rpcsal.h"' is missing in the files medparam.h and mediaobj.h of the SDK.

    What is still going wrong?

  2. #2
    Join Date
    Feb 2008
    Posts
    157
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compilation of phonon fails

    From what I found on the web it looks as if SDK 7 is only compatible with MSVC 2008 (SP1), so it can not work together with MSVC 2005!
    This SDK is compatible with Visual Studio® 2008, including Visual Studio Express Editions, which are available free of charge.

Similar Threads

  1. phonon-compilation error
    By qwakaw in forum Qt Programming
    Replies: 3
    Last Post: 3rd February 2012, 07:52
  2. Windows SDK setup fails (required for phonon)
    By pospiech in forum Installation and Deployment
    Replies: 14
    Last Post: 28th January 2010, 14:37
  3. Phonon compilation VERY VERY URGENT!!!
    By Cantora in forum Installation and Deployment
    Replies: 3
    Last Post: 18th June 2009, 10:59
  4. Compilation of phonon.dll only
    By pospiech in forum Installation and Deployment
    Replies: 3
    Last Post: 30th July 2008, 16:27
  5. Replies: 5
    Last Post: 29th August 2007, 10:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.