Opened 7 years ago
Closed 7 years ago
Last modified 6 years ago
#13086 closed Bug Report - General (fixed)
v29-fixes errors out during compilation
Reported by: | Owned by: | Peter Bennett | |
---|---|---|---|
Priority: | minor | Milestone: | 29.1 |
Component: | MythTV - General | Version: | v29-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
When i am cross-compiling v29-fixes for a raspberry pi (on a x86_64 debian machine), the build errors out during compilation with the following error:
mythdownloadmanager.cpp: In member function 'bool MythDownloadManager::downloadNowLinkLocal(MythDownloadInfo?*, bool)': mythdownloadmanager.cpp:1009:9: error: 'QTcpSocket' was not declared in this scope QTcpSocket socket;
I am not sure if this is just specific to how i am building it, but I added a #include <QTcpSocket> to the top of mythtv/libs/libmythbase/mythdownloadmanager.cpp and that seems to have resolved the issue. I would do a pull request, but i am not sure how to do that.
Change History (5)
comment:1 Changed 7 years ago by
Owner: | set to Peter Bennett |
---|---|
Status: | new → accepted |
comment:2 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:4 Changed 7 years ago by
Milestone: | needs_triage → 29.1 |
---|
comment:5 Changed 6 years ago by
Owner: | changed from Peter Bennett to Peter Bennett |
---|
I am not sure why that is happening specifically to you and nobody else. Probably there is some conditionally included header file that has QTcpSocket but is not being included in your case. Anyway I will add it to the source.