Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#5994 closed defect (fixed)

MythMusci does not compile on windows

Reported by: Jonathan Martens <jonathan@…> Owned by: Nigel
Priority: minor Milestone: unknown
Component: Ports - Windows Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Nigel)

Since my patch (in #5980) that removes usleep from compat.h some plugins fail compilation in windows, MythMusic is one of them.

It can be fixed with attached patch. Although compilations halts on another issue as well:

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[1]: *** [cddecoder-windows.o] Error 1
make[1]: Leaving directory `/u/mythtv/mythplugins/mythmusic/mythmusic'
make: *** [sub-mythmusic-make_default] Error 2

Attachments (1)

MythTV-iconview.cpp.patch (406 bytes) - added by Jonathan Martens <jonathan@…> 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by Jonathan Martens <jonathan@…>

Attachment: MythTV-iconview.cpp.patch added

comment:1 Changed 11 years ago by danielk

Owner: changed from danielk to Nigel
Status: newassigned

comment:2 Changed 10 years ago by Nigel

Component: windowsPorts - Windows
Description: modified (diff)

comment:3 Changed 10 years ago by Nigel

Resolution: fixed
Status: assignedclosed

iconview.cpp is part of mythgallery, not mythmusic. It was patched in [21995]

comment:4 in reply to:  3 Changed 10 years ago by Jonathan Martens <jonathan@…>

Replying to nigel:

iconview.cpp is part of mythgallery, not mythmusic. It was patched in [21995]

Oops I think I attached the wrong patch then, I think we can keep this closed indeed as we already have #5987 to track MythMusic.

Note: See TracTickets for help on using tickets.