> Dear LyX Developers, > > I've been trying to build the most recent SVN version of LyX using mingw > and cmake on Windows (via Qt Creator). However, I've run into a snag > and cannot get os_win32.cpp to compile. After configuring (which > proceeds without errors), the compiler tells me: > > '_snprint' was not defined in this scope (os_win32.cpp, lines 581, 605) > > After looking at the source, I assume that this is a reference to a > Windows function of some sort and that I must not have a dependency. I > cannot seem to figure out what I'm missing, however. > > I've never run into these issues on Linux and Mac. Any ideas on what I > could try? > > Cheers, > > Rob
I assume it's because of the underline: Index: src/support/os_win32.cpp =================================================================== --- src/support/os_win32.cpp (revision 34611) +++ src/support/os_win32.cpp (working copy) @@ -49,6 +49,10 @@ # endif #endif +#if defined(__MINGW32__) +#define _snprint snprint +#endif + #if !defined(ASSOCF_INIT_IGNOREUNKNOWN) && !defined(__MINGW32__) #define ASSOCF_INIT_IGNOREUNKNOWN 0 #endif Does this help? Peter -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
