-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes and build script to cross compile mythtv for Windows (#382)
* Fixes and build script to cross compile mythtv using mingw * Remove unused mythpainter header The Windows build now supports opengl. The native directx video is no longer working as the painter has refactored and the ffmpeg apis have changed. * Update mythtv/libs/libmythbase/mythcommandlineparser.cpp Co-authored-by: Mark Spieth <mspieth@users.noreply.github.com> * Remove unused stdlib header * Add install prefix for mythplugins Adding an install prefix to the windows build script for the mythplugins. * define O_NONBLOCK O_NONBLOCK is undefined for the mingw Windows build. * Add TODO for Windows build * Update SetPathname for Windows SetPathname is working under Windows and does not need the conditional code. * Custom usleep no longer required for Windows The Windows build can compile without a custom usleep function. * c++ defines not required on Windows build The cplusplus defines are not required for the Windows build. * Remove inline readdir_r for Windows The inline readdir_r is causing compile errors and is no longer required when using mingw. * Add missing std::cerr for windows build * Remove whitespace * Update Wait for Windows build The wait function now uses chrono instead of an integer. * Fix MUI_PUBLIC define for Windows buid Define MUI_API. This fixes the MUI_PUBLIC define in mythuiexp.h * Fix threading model for Windows build The threads can be disabled using disable-w32threads * Add MUI_API define for windows build Add MUI_API define for the mythplugins in the windows build. * Fix whitespace * Add missing std to endl function * MUI_API define no longer required The MUI_API define is no longer required for the windows build. MythDialog has been updated and no longer uses this marking. Co-authored-by: Mark Spieth <mspieth@users.noreply.github.com>
- Loading branch information
Showing
31 changed files
with
670 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
#ifdef _WIN32 | ||
#include <sys/stat.h> | ||
#endif | ||
|
||
#include "mythmiscutil.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.