Windows Build Failure (iconv.h)

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
arrmo
Posts: 28
Joined: Tue Jan 10, 2012 1:59 am

Windows Build Failure (iconv.h)

Post by arrmo »

Hi,

I am trying to build the CLI under Windows - trying both cygwin and mingw, but I end up with the following error ...

Code: Select all

  : libtool: compile:  /usr/bin/i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I/home/rmorris/HandBrake/build/contrib/include/freetype2 -I/home/rmorris/HandBrake/build/contrib/include -I/home/rmorris/HandBrake/build/contrib/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DFC_CACHEDIR=\"WINDOWSTEMPDIR_FONTCONFIG_CACHE\" -DFONTCONFIG_PATH=\"/home/rmorris/HandBrake/build/contrib/etc/fonts\" -c fcxml.c -o fcxml.o
  : In file included from /home/rmorris/HandBrake/build/contrib/include/libxml2/libxml/parser.h:807:0,
  :                  from fcxml.c:32:
  : /home/rmorris/HandBrake/build/contrib/include/libxml2/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory
  : compilation terminated.
  : Makefile:474: recipe for target `fcxml.lo' failed
  : make[4]: *** [fcxml.lo] Error 1
  : make[4]: Leaving directory `/home/rmorris/HandBrake/build/contrib/fontconfig/fontconfig-2.8.0/src'
  : Makefile:358: recipe for target `all' failed
  : make[3]: *** [all] Error 2
  : make[3]: Leaving directory `/home/rmorris/HandBrake/build/contrib/fontconfig/fontconfig-2.8.0/src'
  : Makefile:451: recipe for target `all-recursive' failed
  : make[2]: *** [all-recursive] Error 1
  : make[2]: Leaving directory `/home/rmorris/HandBrake/build/contrib/fontconfig/fontconfig-2.8.0'
  : Makefile:334: recipe for target `all' failed
  : make[1]: *** [all] Error 2
  : make[1]: Leaving directory `/home/rmorris/HandBrake/build/contrib/fontconfig/fontconfig-2.8.0'
  : ../contrib/fontconfig/module.rules:2: recipe for target `contrib/fontconfig/.stamp.build' failed
  : make: *** [contrib/fontconfig/.stamp.build] Error 2
It seems that for some reason iconv.h is not being found - but it is inside /usr/include (confirmed that it is). Any reason why this directory is not being checked (or perhaps how do add this to the header / include path)?

Thanks!
Last edited by Anonymous on Tue Jan 24, 2012 12:25 am, edited 1 time in total.
Reason: Logs should be enclosed in [code] blocks
TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: Windows Build Failure (iconv.h)

Post by TedJ »

Moving to Windows. The Development forum is for developer discussion and patch submission only.

If you're having trouble compiling you may wish to visit our IRC channel.
Post Reply