[mythtv-commits] Ticket #7769: Compiling libmythfreemheg under Visual Studio 2008

MythTV mythtv at cvs.mythtv.org
Sat Dec 19 00:23:11 UTC 2009

#7769: Compiling libmythfreemheg under Visual Studio 2008
 Reporter:  leith@…                      |       Owner:  ijr    
     Type:  defect                       |      Status:  new    
 Priority:  minor                        |   Milestone:  unknown
Component:  MythTV - General             |     Version:  0.22   
 Severity:  low                          |     Mlocked:  0      
 I am compiling a standalone libmythfreemheg in VS 2008 for a project of

 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

Ticket URL: <http://svn.mythtv.org/trac/ticket/7769>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list