Let us start a new thread. Right now, I have told scons to build lyx, but it fails at the very first command:
cl /ID:\zlib\include /Iboost /Isrc /c src\Bidi.C /Fodebug\common \Bidi.obj Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86 Copyright (C) Microsoft Corporation 1984-2002. All rights reserved. Bidi.C C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstddef(17) : err or C2143: syntax error : missing '{' before ':' C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\cstddef(17) : err or C2059: syntax error : ':' If I rename the file to .cpp, I get D:\lyx-msvc>cl /DEF:_STD_USING /ID:\zlib\include /Iboost /Isrc /c src\Bidi.cpp / Fodebug\common Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86 Copyright (C) Microsoft Corporation 1984-2002. All rights reserved. Bidi.cpp C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\ostream(574) : wa rning C4530: C++ exception handler used, but unwind semantics are not enabled. S pecify /EHsc C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\istream(828) : wa rning C4530: C++ exception handler used, but unwind semantics are not enabled. S pecify /EHsc C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\istream(1064) : w arning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc boost\boost\type_traits\is_function.hpp(21) : fatal error C1083: Cannot open inc lude file: 'boost/type_traits/detail/is_function_ptr_tester.hpp': No such file o r directory Anyway, the .C suffix problem is again in the way. Does anyone know how to let cl know the source file is a C++ file? Bo