Bo Peng wrote:
> Thank you. This option works.
> 
> Any idea how to get pid_t? I think it is in sys/types.h under linux,
> but msvc types.h may not have it.  This causes problems in
> src/support/forkedcall.h etc.
> 
> Bo
> 
> 
msvc lacks some symbols, you could have a look at
lyx-cmake/config.h.cmake (the config.h template), there
you see which symbols I've added to fix those errors.
here the relevant lines:

#ifdef _MSC_VER
#undef HAVE_OPEN  // use _open instead
#define pid_t int
#define PATH_MAX 512
#endif

#ifdef _WIN32
#undef HAVE_MKDIR // use _mkdir instead
#define NO_COMPRESSION 1
#define NO_ZLIB 1
#endif

#define BOOST_ALL_NO_LIB 1



Reply via email to