Hi again, Seem nobody knows how to link with moz-headless, so I'm going through the process of tracking down any unresolved symbols manually - searching for symbols in the libs with "nm", or grepping through the source files.
Now I've run into "ToNewUnicode", which seems to be defined in-ine in one of the headers. I'm not sure why the linker is looking for it if it's in-line, but obviously it doesn't end up being in any of the libraries. Any hints on how to resolve this one? Cheers, Ami. On Thu, Jun 10, 2010 at 10:19 AM, Ami Ganguli <ami.gang...@gmail.com> wrote: > Hi all, > > I'm new the Mozilla embedding and have been following the steps > described in the comments to > https://bugzilla.mozilla.org/show_bug.cgi?id=446591 to create a > moz-headless build. > > The build seems to have worked, and I'd like to get the screenshot > sample application working > (http://chrislord.net/files/moz-headless-screenshot.c). Alas, I have > no idea what I need to link against. Obviously there's > libmozheadless, glib, and cairo, but there seem to be more > requirements, as the link fails with _many_ missing symbols. > > Does anybody have a sample build script (Makefile, CMakeLists.txt, or > whatever) for moz-headless-screenshot.c, or some hints on how I should > proceed trying to figure this out? > > Thanks for any assistance. > > Cheers, > Ami. > _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding