This is caused when PACKAGE_NAME_B is defined, as it expects automake to
have replaced the symbolic @UINT8_T@ with the actual type. However, on
Windows, you don't have Automake, so this doesn't work.

If you visit the Wiki page, you can see the instructions for how to do this
- http://wiki.panotools.org/Hugin_SDK_%28MSVC_2008%29 - including the
necessary patch files -
http://wiki.panotools.org/Hugin_SDK_%28MSVC_2008%29#Diff_Files - which I
linked to previously, directly, at
http://sourceforge.net/tracker/?func=detail&aid=2789320&group_id=77506&atid=
550443 

You specifically want the lcms patch. This undefines the symbolic
PACKAGE_NAME_B, which then forces it to go down the codepath appropriate for
Windows, which is contained on lines 220-223.

> -----Original Message-----
> From: Rotareneg [mailto:rotare...@gmail.com]
> Sent: Sunday, November 15, 2009 6:22 PM
> To: hugin and other free panoramic software
> Subject: [hugin-ptx] Can't build Enblend under Windows
> 
> I cannot figure out how to get Enblend to compile using VC2008
> Express. This is the show-stopping error that's killing me right now:
> 
> ------ Build started: Project: enfuse, Configuration: Release Win32
> ------
> Compiling...
> enfuse.cc
> d:\huginbuild\lcms-1.18\include\icc34.h(154) : error C2018: unknown
> character '0x40'
> d:\huginbuild\lcms-1.18\include\icc34.h(154) : error C2018: unknown
> character '0x40'
> d:\huginbuild\lcms-1.18\include\icc34.h(154) : error C2146: syntax
> error : missing ';' before identifier 'icUInt8Number'
> d:\huginbuild\lcms-1.18\include\icc34.h(154) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
> d:\huginbuild\lcms-1.18\include\icc34.h(154) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
> d:\huginbuild\lcms-1.18\include\icc34.h(155) : error C2018: unknown
> character '0x40'
> d:\huginbuild\lcms-1.18\include\icc34.h(155) : error C2018: unknown
> character '0x40'
> d:\huginbuild\lcms-1.18\include\icc34.h(155) : error C2146: syntax
> error : missing ';' before identifier 'icUInt16Number'
> d:\huginbuild\lcms-1.18\include\icc34.h(155) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
> d:\huginbuild\lcms-1.18\include\icc34.h(155) : error C4430: missing
> type specifier - int assumed. Note: C++ does not support default-int
> d:\huginbuild\lcms-1.18\include\icc34.h(156) : error C2018: unknown
> character '0x40'
> d:\huginbuild\lcms-1.18\include\icc34.h(156) : error C2018: unknown
> character '0x40'
> 
> This continues on and on with the same pattern. Any ideas?
> 
> --
> You received this message because you are subscribed to the Google
> Groups "hugin and other free panoramic software" group.
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> To post to this group, send email to hugin-ptx@googlegroups.com
> To unsubscribe from this group, send email to hugin-
> ptx+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/hugin-ptx

-- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to