On Wed, May 23, 2007 at 06:04:59PM -0400, Richard Heck wrote: > > Enrico (and anyone else who is interested), > > Can you try one and let me know if it works properly on Windows? I > believe it should, even with the broken htlatex. The idea is to copy > whatever files we need to the temporary conversion directory. Then we > can do everything without paths.
I get the following errors when compiling: if g++ -DHAVE_CONFIG_H -I. -I../../src -I. -I../../boost -Wno-uninitialized -O2 -MT Converter.o -MD -MP -MF ".deps/Converter.Tpo" -c -o Converter.o ../../src/Converter.cpp; \ then mv -f ".deps/Converter.Tpo" ".deps/Converter.Po"; else rm -f ".deps/Converter.Tpo"; exit 1; fi ../../src/Converter.cpp: In member function `bool lyx::Converters::convert(const lyx::Buffer*, const lyx::support::FileName&, lyx::support::FileName&, const lyx::support::FileName&, bool&, const std::string&, const std::string&, lyx::ErrorList&, int)': ../../src/Converter.cpp:557: error: `auxname' undeclared (first use this function) ../../src/Converter.cpp:557: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../src/Converter.cpp:558: error: `bblname' undeclared (first use this function) ../../src/Converter.cpp:560: error: expected primary-expression before "catch" ../../src/Converter.cpp:560: error: expected `;' before "catch" ../../src/Converter.cpp:562: error: expected `catch' before "res" ../../src/Converter.cpp:562: error: expected `(' before "res" ../../src/Converter.cpp:562: error: `res' is not a type ../../src/Converter.cpp:562: error: invalid catch parameter ../../src/Converter.cpp:562: error: expected `)' before '=' token ../../src/Converter.cpp:562: error: expected `{' before '=' token ../../src/Converter.cpp:562: error: expected primary-expression before '=' token ../../src/Converter.cpp:591: error: invalid initialization of reference of type 'const std::string&' from expression of type 'lyx::support::FileName' ../../src/support/filetools.h:240: error: in passing argument 2 of `const lyx::support::FileName lyx::support::makeAbsPath(const std::string&, const std::string&)' ../../src/Converter.cpp:650: error: a function-definition is not allowed here before '{' token ../../src/Converter.cpp:650: error: expected `,' or `;' before '{' token ../../src/Converter.cpp:692: error: a function-definition is not allowed here before '{' token ../../src/Converter.cpp:692: error: expected `,' or `;' before '{' token ../../src/Converter.cpp:705: error: a function-definition is not allowed here before '{' token ../../src/Converter.cpp:705: error: expected `,' or `;' before '{' token ../../src/Converter.cpp:719: error: expected primary-expression before "namespace" ../../src/Converter.cpp:719: error: expected `;' before "namespace" ../../src/Converter.cpp:737: error: a function-definition is not allowed here before '{' token ../../src/Converter.cpp:737: error: expected `,' or `;' before '{' token ../../src/Converter.cpp:780: error: expected primary-expression before "void" ../../src/Converter.cpp:780: error: expected `;' before "void" ../../src/Converter.cpp:795: error: a function-definition is not allowed here before '{' token ../../src/Converter.cpp:795: error: expected `,' or `;' before '{' token ../../src/Converter.cpp:810: error: a function-definition is not allowed here before '{' token ../../src/Converter.cpp:810: error: expected `,' or `;' before '{' token ../../src/Converter.cpp:821: error: a function-definition is not allowed here before '{' token ../../src/Converter.cpp:821: error: expected `,' or `;' before '{' token ../../src/Converter.cpp:832: error: a function-definition is not allowed here before '{' token ../../src/Converter.cpp:832: error: expected `,' or `;' before '{' token ../../src/Converter.cpp:840: error: a function-definition is not allowed here before '{' token ../../src/Converter.cpp:840: error: expected `,' or `;' before '{' token ../../src/Converter.cpp: At global scope: ../../src/Converter.cpp:845: error: expected `}' at end of input make[3]: *** [Converter.o] Error 1 make[3]: Leaving directory `/usr/local/src/lyx/lyx-devel/build-cygwin/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/lyx/lyx-devel/build-cygwin/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/lyx/lyx-devel/build-cygwin/src' make: *** [all-recursive] Error 1 -- Enrico