I just tried compiling latest CVS again. Here is what happens: g++ -DHAVE_CONFIG_H -I. -I../../../lyx/src/support -I../../src -I../../../lyx/src/support/.. -I../../../lyx/boost -I/usr/local/include -W -Wall -I/usr/X11R6/include -O2 -fno-exceptions -mms-bitfields -MT fs_extras.lo -MD -MP -MF .deps/fs_extras.Tpo -c ../../../lyx/src/support/fs_extras.C -o fs_extras.o
../../../lyx/src/support/fs_extras.C: In function `bool boost::filesystem::is_readable(const boost::filesystem::path&)': ../../../lyx/src/support/fs_extras.C:36: error: `DWORD' undeclared (first use this function) ../../../lyx/src/support/fs_extras.C:36: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../../lyx/src/support/fs_extras.C:36: error: parse error before `const' ../../../lyx/src/support/fs_extras.C:37: error: `attr' undeclared (first use this function) ../../../lyx/src/support/fs_extras.C:37: error: `INVALID_FILE_ATTRIBUTES' undeclared (first use this function) ../../../lyx/src/support/fs_extras.C:38: error: `FILE_ATTRIBUTE_DIRECTORY' undeclared (first use this function) ../../../lyx/src/support/fs_extras.C:31: warning: unused parameter `const boost::filesystem::path&ph' ../../../lyx/src/support/fs_extras.C: In function `bool boost::filesystem::is_writable(const boost::filesystem::path&)': ../../../lyx/src/support/fs_extras.C:49: error: parse error before `const' ../../../lyx/src/support/fs_extras.C:51: error: `FILE_ATTRIBUTE_READONLY' undeclared (first use this function) ../../../lyx/src/support/fs_extras.C:44: warning: unused parameter `const boost::filesystem::path&ph' ../../../lyx/src/support/fs_extras.C: In function `bool boost::filesystem::is_readonly(const boost::filesystem::path&)': ../../../lyx/src/support/fs_extras.C:67: error: parse error before `const' ../../../lyx/src/support/fs_extras.C:62: warning: unused parameter `const boost::filesystem::path&ph' ../../../lyx/src/support/fs_extras.C: In function `void boost::filesystem::copy_file(const boost::filesystem::path&, const boost::filesystem::path&, bool)': ../../../lyx/src/support/fs_extras.C:140: error: `::CopyFile' undeclared (first use here) make[5]: *** [fs_extras.lo] Error 1 make[5]: Leaving directory `/home/Kayvan/src/lyx/build/src/support' ---Kayvan