<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 16/09/2015 20:47, David Gobbi a
      écrit :<br>
    </div>
    <blockquote
cite="mid:CANwS1=Ebp6aEwGNJkui4S8U+BVLDzW79kmr_UoqbWVTZsXdecw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Wed, Sep 16, 2015 at 12:39 PM, pof
            <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:jd379252@gmail.com" target="_blank">jd379252@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Le
                16/09/2015 17:37, Ben Boeckel a écrit :<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  On Tue, Sep 15, 2015 at 23:22:23 +0200, pof wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    I am trying to build vtk6.3.0 dlls (using CMake to
                    generate the MSVC<br>
                    project files).<br>
                    - For win64, everything compile and links fine.<br>
                    - For win32, there is a repetitive compilation error
                    complaining about<br>
                    VTK_SIZEOF_CHAR.<br>
                    <br>
                    Apparently, the mistake is in the vtkConfigure.h
                    file, in which the line<br>
                          #define VTK_SIZEOF_CHAR<br>
                    is uncomplete.<br>
                    Modifying as<br>
                          #define VTK_SIZEOF_CHAR = 1<br>
                    solves the problem, i.e. it compiles and links<br>
                  </blockquote>
                  Hmm, that doesn't look like the right fix (it should
                  be just '1',<br>
                  without the '='). We do have VS2010 builds, but they
                  are all 32bit. Our<br>
                  32bit builders are VS2012. I guess one should be
                  bumped down to VS2010<br>
                  to test it out.<br>
                  <br>
                  But this looks like a very weird case anyways. I don't
                  know why char<br>
                  would fail, but the rest would succeed. Any thoughts
                  from those more<br>
                  familiar with this part of VTK's configure?<br>
                  <br>
                  --Ben<br>
                </blockquote>
              </span>
            </blockquote>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">My
              mistake Ben, of course, the correct fix is (as you
              mentioned):<br>
                   #define VTK_SIZEOF_CHAR = 1<br>
            </blockquote>
            <div><br>
            </div>
            <div>Doesn't look fixed to me ;)</div>
            <div><br>
            </div>
            <div>My primary Windows builds are VS2010 32-bit, and I've
              never seen this</div>
            <div>problem.  Is it possible that there are header files on
              your system other</div>
            <div>than those in VS2010 that might be confusing the
              build?  E.g. do you have</div>
            <div>mingw-gcc or cygwin installed on your system?</div>
            <div><br>
            </div>
            <div> - David</div>
          </div>
        </div>
      </div>
    </blockquote>
    again yes<br>
         #define VTK_SIZEOF_CHAR   1<br>
    <div><br>
      No David, I have neither mingw-gcc nor cygwin installed.<br>
      <br>
      I have just run again CMake from scratch to produce win32 project,
      and this time everything is fine in <span>vtkConfigure.h.<br>
        I don't know why yesterday CMake ended with this mistake in
        vtkConfigure.h<br>
        Sorry for reporting what seems to be a wrong issue.<br>
        <br>
        Pof<br>
      </span></div>
    <br>
  </body>
</html>