Opened 11 years ago
Closed 11 years ago
#7769 closed defect (invalid)
Compiling libmythfreemheg under Visual Studio 2008
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | 0.22 |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
I am compiling a standalone libmythfreemheg in VS 2008 for a project of mine.
I got it to compile OK but there were a few snags: strncmp - Variables.cpp @ line 241 there is a strncmp. I used #ifdef WIN32 to change it to _strncmp just like it is at BaseClasses?.cpp @ line 348.
<inttypes.h> - Bitmap.cpp @ line 34 inttypes.h is included, which unfortunately VS still doesn't have! I used http://code.google.com/p/msinttypes/ to fix this.
strcmpcase - This is used a lot, and the VS CRT does not have it. I stuck #define strcmpcase _stricmp in config.h
Note: See
TracTickets for help on using
tickets.
Thanks for your report, however, the likelyhood of any of the rest of Myth compiling under VS is vanishingly small.
Since this is unlikely to result in any changes to Myth, I'm closing this as invalid.