[mythtv-commits] Ticket #5987: MythMusic fails to build on windows

MythTV mythtv at cvs.mythtv.org
Wed Sep 16 04:56:59 UTC 2009


#5987: MythMusic fails to build on windows
----------------------------------------------------+-----------------------
 Reporter:  Jonathan Martens <jonathan at snetram.nl>  |        Owner:  nigel   
     Type:  defect                                  |       Status:  assigned
 Priority:  minor                                   |    Milestone:  unknown 
Component:  windows                                 |      Version:  unknown 
 Severity:  medium                                  |   Resolution:          
  Mlocked:  0                                       |  
----------------------------------------------------+-----------------------
Description changed by nigel:

Old description:

> It seems that MythMusic fails to build on Windows for (at least) two
> reasons, one is Goom failing to build as M_PI seems undeclared (patch
> will be attached).
>
> The second is that it complains (after making Goom compile OK) that QHttp
> does not exist:
>

> g++ -c -march=k8 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls
> -Wno-non
> -virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -g -frtti
> -fexceptions -
> mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DUSING_MINGW
> -D_GNU_SOURCE -DPR
> EFIX="U:/mythtv/build/" -DMMX -Di386 -DUSING_DIRECTX
> -D_FILE_OFFSET_BITS=64 -DQT
> _THREAD_SUPPORT -DQT_DLL -DQT_PLUGIN -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT
> -DQT_SQL_
> LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB
> -I'../../../../MSys/
> 1.0/qt-win-opensource-src-4.4.3/include/QtCore' -I'../../../../MSys/1.0
> /qt-win-o
> pensource-src-4.4.3/include/QtCore' -I'../../../../MSys/1.0/qt-win-
> opensource-sr
> c-4.4.3/include/QtGui' -I'../../../../MSys/1.0/qt-win-opensource-
> src-4.4.3/inclu
> de/QtGui' -I'../../../../MSys/1.0/qt-win-opensource-
> src-4.4.3/include/QtOpenGL'
> -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtOpenGL'
> -I'../../.
> ./../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtXml'
> -I'../../../../MSys/1.0
> /qt-win-opensource-src-4.4.3/include/QtXml' -I'../../../../MSys/1.0/qt-
> win-opens
> ource-src-4.4.3/include/QtSql' -I'../../../../MSys/1.0/qt-win-opensource-
> src-4.4
> .3/include/QtSql' -I'../../../../MSys/1.0/qt-win-opensource-
> src-4.4.3/include/Qt
> 3Support' -I'../../../../MSys/1.0/qt-win-opensource-
> src-4.4.3/include/Qt3Support
> ' -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include'
> -I'../../../build
> /include' -I'../../../build/include' -I'../../../build/include/mythtv'
> -I'/usr/i
> nclude/taglib' -I'/usr/include/cdda' -I'u:/MSys/1.0/qt-win-opensource-
> src-4.4.3/
> include/ActiveQt' -I'.' -I'.' -I'../../../../MSys/1.0/qt-win-opensource-
> src-4.4.
> 3/mkspecs/win32-g++' -o cddecoder-windows.o cddecoder-windows.cpp
> In file included from cddecoder-windows.cpp:19:
> ../../../build/include/mythtv/httpcomms.h:9:17: QHttp: No such file or
> directory
>
> In file included from cddecoder-windows.cpp:19:
> ../../../build/include/mythtv/httpcomms.h:19: error: `QHttpRequestHeader'
> has no
> t been declared
> ../../../build/include/mythtv/httpcomms.h:19: error: ISO C++ forbids
> declaration
>  of `header' with no type
> ../../../build/include/mythtv/httpcomms.h:68: error: `QHttpRequestHeader'
> has no
> t been declared
> ../../../build/include/mythtv/httpcomms.h:75: error: ISO C++ forbids
> declaration
>  of `pAddlHdr' with no type
> ../../../build/include/mythtv/httpcomms.h:78: error: `QHttpRequestHeader'
> has no
> t been declared
> ../../../build/include/mythtv/httpcomms.h:78: error: ISO C++ forbids
> declaration
>  of `header' with no type
> ../../../build/include/mythtv/httpcomms.h:102: error:
> `QHttpRequestHeader' has n
> ot been declared
> ../../../build/include/mythtv/httpcomms.h:102: error: ISO C++ forbids
> declaratio
> n of `request' with no type
> ../../../build/include/mythtv/httpcomms.h:109: error: expected `,' or
> `...' befo
> re '&' token
> ../../../build/include/mythtv/httpcomms.h:109: error: ISO C++ forbids
> declaratio
> n of `QHttpResponseHeader' with no type
> ../../../build/include/mythtv/httpcomms.h:117: error: ISO C++ forbids
> declaratio
> n of `QHttp' with no type
> ../../../build/include/mythtv/httpcomms.h:117: error: expected `;' before
> '*' to
> ken
> ../../../build/include/mythtv/httpcomms.h:129: error:
> `QHttpRequestHeader' does
> not name a type
> make: *** [cddecoder-windows.o] Error 1

New description:

 It seems that MythMusic fails to build on Windows for (at least) two
 reasons, one is Goom failing to build as M_PI seems undeclared (patch will
 be attached).

 The second is that it complains (after making Goom compile OK) that QHttp
 does not exist:
 {{{
 g++ -c -march=k8 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls
 -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -g -frtti
 -fexceptions -
 mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DUSING_MINGW
 -D_GNU_SOURCE -DPREFIX="U:/mythtv/build/" -DMMX -Di386 -DUSING_DIRECTX
 -D_FILE_OFFSET_BITS=64 -DQT_THREAD_SUPPORT -DQT_DLL -DQT_PLUGIN
 -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_
 LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtCore'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtCore'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtGui'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtGui'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtOpenGL'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtOpenGL'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtXml'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtXml'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtSql'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/QtSql'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/Qt3Support'
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include/Qt3Support '
 -I'../../../../MSys/1.0/qt-win-opensource-src-4.4.3/include'
 -I'../../../build/include' -I'../../../build/include'
 -I'../../../build/include/mythtv' -I'/usr/include/taglib'
 -I'/usr/include/cdda' -I'u:/MSys/1.0/qt-win-opensource-src-4.4.3/
 include/ActiveQt' -I'.' -I'.' -I'../../../../MSys/1.0/qt-win-opensource-
 src-4.4.3/mkspecs/win32-g++' -o cddecoder-windows.o cddecoder-windows.cpp
 In file included from cddecoder-windows.cpp:19:
 ../../../build/include/mythtv/httpcomms.h:9:17: QHttp: No such file or
 directory

 In file included from cddecoder-windows.cpp:19:
 ../../../build/include/mythtv/httpcomms.h:19: error: `QHttpRequestHeader'
 has not been declared
 ../../../build/include/mythtv/httpcomms.h:19: error: ISO C++ forbids
 declaration of `header' with no type
 ../../../build/include/mythtv/httpcomms.h:68: error: `QHttpRequestHeader'
 has not been declared
 ../../../build/include/mythtv/httpcomms.h:75: error: ISO C++ forbids
 declaration of `pAddlHdr' with no type
 ../../../build/include/mythtv/httpcomms.h:78: error: `QHttpRequestHeader'
 has not been declared
 ../../../build/include/mythtv/httpcomms.h:78: error: ISO C++ forbids
 declaration of `header' with no type
 ../../../build/include/mythtv/httpcomms.h:102: error: `QHttpRequestHeader'
 has not been declared
 ../../../build/include/mythtv/httpcomms.h:102: error: ISO C++ forbids
 declaration of `request' with no type
 ../../../build/include/mythtv/httpcomms.h:109: error: expected `,' or
 `...' before '&' token
 ../../../build/include/mythtv/httpcomms.h:109: error: ISO C++ forbids
 declaration of `QHttpResponseHeader' with no type
 ../../../build/include/mythtv/httpcomms.h:117: error: ISO C++ forbids
 declaration of `QHttp' with no type
 ../../../build/include/mythtv/httpcomms.h:117: error: expected `;' before
 '*' token
 ../../../build/include/mythtv/httpcomms.h:129: error: `QHttpRequestHeader'
 does not name a type
 make: *** [cddecoder-windows.o] Error 1
 }}}

--

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5987#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list