I'll give it a shot. Thanks David.<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 8:58 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Just a comment on the cygwin dashboard, it looks like the -lgdi32 line<br>
in vtkDetermineCompilerFlags.cmake should be moved:<br>
<br>
@@ -26,16 +26,16 @@<br>
   IF(WIN32)<br>
 # The platform is gcc on cygwin.<br>
     SET(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS} -mwin32")<br>
     SET(VTK_REQUIRED_C_FLAGS "${VTK_REQUIRED_C_FLAGS} -mwin32")<br>
+    LINK_LIBRARIES(-lgdi32)<br>
   ENDIF(WIN32)<br>
   IF(MINGW)<br>
     SET(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS} -mthreads")<br>
     SET(VTK_REQUIRED_C_FLAGS "${VTK_REQUIRED_C_FLAGS} -mthreads")<br>
     SET(VTK_REQUIRED_EXE_LINKER_FLAGS<br>
"${VTK_REQUIRED_EXE_LINKER_FLAGS} -mthreads")<br>
     SET(VTK_REQUIRED_SHARED_LINKER_FLAGS<br>
"${VTK_REQUIRED_SHARED_LINKER_FLAGS} -mthreads")<br>
     SET(VTK_REQUIRED_MODULE_LINKER_FLAGS<br>
"${VTK_REQUIRED_MODULE_LINKER_FLAGS} -mthreads")<br>
-    LINK_LIBRARIES(-lgdi32)<br>
   ENDIF(MINGW)<br>
   IF(CMAKE_SYSTEM MATCHES "SunOS.*")<br>
 # Disable warnings that occur in X11 headers.<br>
     IF(DART_ROOT AND BUILD_TESTING)<br>
<div><div></div><div class="h5"><br>
<br>
On Wed, Sep 22, 2010 at 9:32 AM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<br>
> I was also surprised I got those warnings. I'll keep digging.<br>
><br>
> Bill<br>
><br>
> On Wed, Sep 22, 2010 at 8:35 AM, Dave Partyka <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>> wrote:<br>
>> vtkUnicodeString is in vtkCommon which failed to compile thus none of the<br>
>> tests were built.<br>
>> As for the visibility warnings. Visibility is defined in Common\vtkABI.h<br>
>> though it "should" be defining the windows declspecs for Cygwin and not<br>
>> using __attribute__ visibility (Assuming we're talking about the same<br>
>> visibility). Feel free to dig deeper. Dash14 is extremely slow so I may not<br>
>> have any further information until tomorrow.<br>
>><br>
>> On Wed, Sep 22, 2010 at 8:24 AM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Dave,<br>
>>><br>
>>> I see today that the cygwin build is getting closer. But none of the<br>
>>> tests are running.<br>
>>><br>
>>> I am using cygwin version 1.7.7, gcc-4.3.4 and cmake 2.6-patch4.<br>
>>><br>
>>> I build with shared libs on.<br>
>>><br>
>>> I had to patch one file: Utilities/Cosmo/ParticleDistribute.cxx<br>
>>><br>
>>> All built fine except that I get thousands of warnings about<br>
>>> "visibility attribute not supported in this configuration".<br>
>>><br>
>>> All but 8 tests passed.<br>
>>><br>
>>> I think I'll build cmake 2.8 and see if it solves the visibility issue.<br>
>>><br>
>>> Bill<br>
>>><br>
>>> On Tue, Sep 21, 2010 at 9:38 AM, Dave Partyka <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>><br>
>>> wrote:<br>
>>> > It's there now. Are these any of the compile errors you guys were<br>
>>> > experiencing?<br>
>>> > <a href="http://www.cdash.org/CDash/viewBuildError.php?buildid=727533" target="_blank">http://www.cdash.org/CDash/viewBuildError.php?buildid=727533</a><br>
>>> > This cygwin is using gcc-3.4.4. I am pretty tempted to see if I can<br>
>>> > update<br>
>>> > it to at least 4.x.<br>
>>> ><br>
>>> > On Mon, Sep 20, 2010 at 5:40 PM, Dave Partyka <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> It should be all set now. We should get some feedback on the dashboard<br>
>>> >> tomorrow.<br>
>>> >><br>
>>> >> On Mon, Sep 20, 2010 at 5:04 PM, Dave Partyka<br>
>>> >> <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>><br>
>>> >> wrote:<br>
>>> >>><br>
>>> >>> Okay, I'll build it by hand on Dash14.<br>
>>> >>><br>
>>> >>> On Mon, Sep 20, 2010 at 5:02 PM, Bill Lorensen<br>
>>> >>> <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>> >>> wrote:<br>
>>> >>>><br>
>>> >>>> Dave,<br>
>>> >>>><br>
>>> >>>> I think it would be good to verify that vtk cygwin builds with cmake<br>
>>> >>>> 2.8.x. I know it builds with 2.6.<br>
>>> >>>><br>
>>> >>>> David Doria and I have been going around on this for a few weeks. He<br>
>>> >>>> has been working with a cygwin guy to resolve the issue, but their<br>
>>> >>>> solution looks complex to me. It would be good to have "the experts"<br>
>>> >>>> verify that VTK can indeed be built with cygwin and cmake 2.8.x.<br>
>>> >>>><br>
>>> >>>> Bill<br>
>>> >>>><br>
>>> >>>> On Mon, Sep 20, 2010 at 4:52 PM, Dave Partyka<br>
>>> >>>> <<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>><br>
>>> >>>> wrote:<br>
>>> >>>> > Hi Bill,<br>
>>> >>>> > Dash14 used to do this build. It stopped working because we need<br>
>>> >>>> > cmake<br>
>>> >>>> > 2.8.x<br>
>>> >>>> > to drive the dashboard because only 2.8.x knows how to update git<br>
>>> >>>> > repositories. I built a cygwin 2.8.2 release binary and have been<br>
>>> >>>> > working<br>
>>> >>>> > with Bill Hoffman on getting it submitted to the cygwin package<br>
>>> >>>> > managers.<br>
>>> >>>> > Once it's done, I can update dash14 packages with their package<br>
>>> >>>> > manager.<br>
>>> >>>> > If this is critical for you I can build cmake 2.8.2 by hand on that<br>
>>> >>>> > machine.<br>
>>> >>>> > Otherwise I will wait for the cygwin guys to make the package<br>
>>> >>>> > available<br>
>>> >>>> > through their package manager.<br>
>>> >>>> ><br>
>>> >>>> > On Mon, Sep 20, 2010 at 4:45 PM, Bill Lorensen<br>
>>> >>>> > <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
>>> >>>> > wrote:<br>
>>> >>>> >><br>
>>> >>>> >> Folks,<br>
>>> >>>> >><br>
>>> >>>> >> At one time, kitware had a cygwin build for VTK. Can someone<br>
>>> >>>> >> revive<br>
>>> >>>> >> that? We need to verify that VTK still builds with cygwin and<br>
>>> >>>> >> cmake<br>
>>> >>>> >> 2.8.2...<br>
>>> >>>> >><br>
>>> >>>> >> Bill<br>
>>> >>>> >> _______________________________________________<br>
>>> >>>> >> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>> >>>> >><br>
>>> >>>> >> Visit other Kitware open-source projects at<br>
>>> >>>> >> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>> >>>> >><br>
>>> >>>> >> Follow this link to subscribe/unsubscribe:<br>
>>> >>>> >> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>>> >>>> >><br>
>>> >>>> ><br>
>>> >>>> ><br>
>>> >>><br>
>>> >><br>
>>> ><br>
>>> ><br>
>><br>
>><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
><br>
</div></div></blockquote></div><br>