Hi Michal, On Wed, 28 Mar 2012 19:02:41 +0200, Michal Suchanek <michal.sucha...@ruk.cuni.cz> wrote: > I tried to build tigervnc on Debian. > > I get the following error. It mentions a file from /usr/include which is > totally bogus, system files should not be included by crosscompiler:
Could you show me the exact steps you followed to build tigervnc? I just rebuilt it (along with turbo-jpeg) to try to reproduce the bug, and everything went fine until wm_hooks which is built long after the part where your build failed. Here's the cmake command I used: CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ RC=i686-w64-mingw32-windres \ cmake -G "Unix Makefiles" -DCMAKE_SYSTEM_NAME=Windows \ -DCMAKE_AR=/usr/bin/i686-w64-mingw32-ar \ -DCMAKE_RANLIB=/usr/bin/i686-w64-mingw32-ranlib \ -DJPEG_INCLUDE_DIR=../../libjpeg-turbo-1.2.0/ \ -DJPEG_LIBRARY=../../libjpeg-turbo-1.2.0/build/libjpeg.a .. (from within a build directory in the tigervnc source). Regards, Stephen
signature.asc
Description: PGP signature