windows compilation

Yili Zhao ylzhao at vip.sina.com
Thu Sep 25 10:00:11 BST 2003


Hi,
  I downloaded hugin-20030924 and unzipped to my computer. 
Then I copy pt sourcecode to the /hugin/src/include directory
and renamed it to pano12 (In PanoToolsInterface.h, it needs that
directory with name pano12).
  I compiled it with msys, then got these messages:
  g++ -c  -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -I/d/wxWindows-2.4.1/lib/mswd -I/d/wxWindows-2.4.1/include  -I/d/wxWindows-2.4.1/contrib/include -I/d/wxWindows-2.4.1/src/regex -I/d/wxWindows-2.4.1/src/png -I/d/wxWindows-2.4.1/src/jpeg -I/d/wxWindows-2.4.1/src/zlib -I/d/wxWindows-2.4.1/src/tiff -I/d/wxWindows-2.4.1/contrib/include -Iinclude -Ipano12         -DSTRICT -DHAVE_W32API_H -D__WXMSW__ -D__WINDOWS__ -g -D__WXDEBUG__ -Wall    -o hugin/PanoToolsInterface.o hugin/PanoToolsInterface.cpp
In file included from include/vigra/iteratortraits.hxx:27,
                 from include/vigra/stdimage.hxx:28,
                 from include/hugin/ImageCache.h:30,
                 from hugin/PanoToolsInterface.cpp:45:
include/vigra/accessor.hxx:220: parse error before `>' token
include/vigra/accessor.hxx:230: semicolon missing after declaration of `
   vigra::StandardAccessor<VALUETYPE>'
include/vigra/accessor.hxx:214: expected 2 levels of template parms for `const 
   VALUETYPE& vigra::StandardAccessor<VALUETYPE>::operator()(const ITERATOR&) 
   const', got 1
include/vigra/accessor.hxx:230: parse error before `<' token
include/vigra/accessor.hxx:230: confused by earlier errors, bailing out
make: *** [hugin/PanoToolsInterface.o] Error 1
mv: cannot stat `hugin.exe': No such file or directory
-------------------------------------------------------------------------

Mike, what result you get? 


Yili





More information about the ptX mailing list