[tex-live] compilation error when compiling TeX Live on Windows 64 bits

Martin Gieseking martin.gieseking at uos.de
Sat Jul 9 08:50:33 CEST 2016

Am 08.07.2016 um 19:17 schrieb Vincent Torri:
>   CXX      dvisvgm-src/src/BgColorSpecialHandler.o
> In file included from
> C:/msys64/mingw64/x86_64-w64-mingw32/include/pthread.h:66:0,
> [...]
> ../../../texk/dvisvgm/dvisvgm-src/src/process.h:36:15: error: field
> '_cmd' has incomplete type 'std::__cxx11::string {aka
> std::__cxx11::basic_string<char>}'
>    std::string _cmd;

Hi Vincent,

I guess the reason for this error is that the TeX Live build script adds
texk/dvisvgm/dvisvgm-src/src to the include path. As a result, the
#include statement in pthread.h picks up dvisvgm's Process.h rather than
As a quick workaround, it should be enough to rename dvisvgm's Process.h
and to adapt the #includes in FileFinder.cpp, MetafontWrapper.cpp, and
Process.cpp accordingly.


More information about the tex-live mailing list