[poppler] pdftohtml build problems

Reece Dunn msclrhd at hotmail.com
Thu Apr 13 15:54:17 PDT 2006


Hi all,

I am trying to get the new pdftohtml tool to compile using msvc-8.0 and I have run into a few issues:

(*) goo/GooVector.h has a few minor typeos that will cause unexpected behaviour!

-   T* copy(T* src1,T* scr2,T* dest){
+   T* copy(T* src1,T* src2,T* dest){
      T* tmp=src1;
      T* d=dest;
-      while(tmp!=scr2){
+      while(tmp!=src2){
         *d=*tmp;
          d++;tmp++;
        }
       return d;
    }

(*) With that fix, I am getting several unresolved external symbols in HtmlOutputDev.obj: xml, noMerge, etc. (HtmlOutputDev.cc lines 41-50). These are declared like:

   extern GBool noframes;

I assume the fix is to define them without the extern keyword somewhere, i.e. declare them using extern in the header, then define them without it in the cc file.

- Reece
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


More information about the poppler mailing list