[Insight-users] Bio-Formats in ITK

Curtis Rueden ctrueden at wisc.edu
Wed May 13 10:30:41 EDT 2009


Hi Dan,

Windows often proves to be the problematic platform.....
> What is the problem specifically?
>

My Jace generated proxy headers produce many errors during compilation;
e.g.:

Compiling...
itkBioFormatsImageIOFactory.cxx
C:\svn\java\components\native\bf-cpp\proxies\include\jace/proxy/java/awt/Transparency.h(75)
: error C2059: syntax error : 'constant'
C:\svn\java\components\native\bf-cpp\proxies\include\jace/proxy/java/awt/Transparency.h(75)
: error C2238: unexpected token(s) preceding ';'
C:\svn\java\components\native\bf-cpp\proxies\include\jace/proxy/loci/formats/TiffTools.h(862)
: warning C4003: not enough actual parameters for macro 'RGB'
C:\svn\java\components\native\bf-cpp\proxies\include\jace/proxy/loci/formats/TiffTools.h(862)
: error C2059: syntax error : '('
C:\svn\java\components\native\bf-cpp\proxies\include\jace/proxy/loci/formats/TiffTools.h(862)
: error C2059: syntax error : '('
C:\svn\java\components\native\bf-cpp\proxies\include\jace/proxy/loci/formats/TiffTools.h(862)
: error C2059: syntax error : ')'
C:\svn\java\components\native\bf-cpp\proxies\include\jace/proxy/loci/formats/TiffTools.h(862)
: error C2143: syntax error : missing ')' before '|'
...

It's strange because these are the same headers used in the C++ bindings
layer, and that code compiles without any problem. (For what it's worth, I
am using Visual C++ 2008 Express.)

It could be a misconfiguration of my Bio-Formats ITK project, fixed with
tweaks to the CMake file. Or it could be a bug in Jace requiring further
investigation. I haven't had time to find out.

I hope we can start leveraging your work into BioImageXD as soon as we can.
> We are coming up to a major release, so it might not make it into that
> (especially if its not really working on windoze)
>
> but in  the medium - long term we are very keen to use bio-Formats in
> BioImageXD
>



More information about the Insight-users mailing list