[Paraview-developers] Compiling under cygwin

Robert Kerr rakerr at sandia.gov
Thu Sep 24 15:41:38 EDT 2009


Sounds good, thanks!

On Thu, 24 Sep 2009, Scott, W Alan wrote:

> Correct.  This is using the visual 2005 compiler.
>
> Alan
>
>> -----Original Message-----
>> From: Robert Kerr [mailto:rakerr at sandia.gov]
>> Sent: Thursday, September 24, 2009 1:37 PM
>> To: Scott, W Alan
>> Cc: paraview-developers at paraview.org
>> Subject: RE: [Paraview-developers] Compiling under cygwin
>>
>>
>> Thanks Alan,
>> From what I see, this is a way of building under cygwin, but
>> using the Visual Studio compilers, right?
>>
>> -bob
>>
>>
>> On Thu, 24 Sep 2009, Scott, W Alan wrote:
>>
>>> Yes.
>>> No.
>>> I think it can be done here: http://paraview.markmail.org/
>>>
>>> What I did was run the normal cmd window that Visual
>> provides.  This tells you what your PATH and other
>> environment vars should be.  I then make a .sh file, which
>> sets these variables up.  One heads up - be sure to pick up
>> your MS libraries before Cygwin - otherwise you try to link
>> with the cygwin linker rather than the visual linker.  In my
>> example, notice that PATH=...bla...:$PATH.  $PATH must be at the end.
>>>
>>> Here is what is in my .sh file.  I have no idea if most of
>> it could be deleted, but it does work.
>>>
>>> Also, don't forget to run cmake before running this script.
>>>
>>> Alan Scott
>>>
>>>
>>>
>>> #!/bin/sh
>>>
>>> EnvDir="C:\\Program Files\\Microsoft Visual Studio 8\\Common7\\IDE"
>>> export DevEnvDir
>>>
>>> FrameworkDir="C:\\WINDOWS\\Microsoft.NET\\Framework"
>>> export FrameworkDir
>>>
>>> FrameworkSDKDir="C:\\Program Files\\Microsoft Visual Studio
>> 8\\SDK\\v2.0"
>>> export FrameworkSDKDir
>>>
>>> FrameworkVersion="v2.0.50727"
>>> export FrameworkVersion
>>>
>>> INCLUDE="C:\Program Files\Microsoft Visual Studio
>> 8\VC\ATLMFC\INCLUDE;C:\Program Files\Microsoft Visual Studio
>> 8\VC\INCLUDE;C:\Program Files\Microsoft Visual Studio
>> 8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual
>> Studio 8\SDK\v2.0\include;C:\Program Files\Microsoft
>> SDKs\Windows\v6.1\include;"
>>>
>>> export INCLUDE
>>>
>>> LIB="C:\\Program Files\\Microsoft Visual Studio
>> 8\\VC\\PlatformSDK\\lib;C:\\Program Files\\Microsoft Visual
>> Studio 8\\SDK\\v2.0\\lib;C:\\Program Files\\Microsoft Visual
>> Studio 8\\VC\\PlatformSDK\\Lib;C:\\Program Files\\Microsoft
>> Visual Studio 8\\VC\\atlmfc\\lib;C:\\Program Files\\Microsoft
>> Visual Studio 8\\VC\\lib;C:\\Program Files\\Microsoft
>> SDKs\\Windows\\v6.1\\Lib;C:/WINDOWS/system32/;C:\\Python25\\libs;"
>>>
>>> export LIB
>>>
>>>
>> LIBPATH="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Prog
> ram Files\MicrosoftVisual Studio 8\VC\ATLMFC\LIB;C:\qt\4.5.1"
>>>
>>> export LIBPATH
>>>
>>> PATH="/cygdrive/c/Program Files/Microsoft Visual Studio
>> 8/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual
>> Studio 8/VC/BIN:/cygdrive/c/Program Files/Microsoft Visual
>> Studio 8/Common7/Tools:/cygdrive/c/Program Files/Microsoft
>> Visual Studio 8/Common7/Tools/bin:/cygdrive/c/Program
>> Files/Microsoft Visual Studio
>> 8/VC/PlatformSDK/bin:/cygdrive/c/Program Files/Microsoft
>> Visual Studio
>> 8/SDK/v2.0/bin:/cygdrive/c/WINDOWS/Microsoft.NET/Framework/v2.
>> 0.50727:/cygdrive/c/Program Files/Microsoft Visual Studio
>> 8/VC/VCPackages:/cygdrive/c/qt/4.5.1/bin:/cygdrive/c/Program
>> Files/CEI/bin:/cygdrive/c/Program
>> Files/CEI/ensight90/machines/win32/lib_abaqus:/cygdrive/c/prog
>> ram
>> files/imagemagick-6.3.6-q16:/cygdrive/c/Tcl/bin:/cygdrive/c/Pr
> ogram Files/CMake > 2.4/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygd
>> rive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
>> Files/QuickTime/QTSystem/:/cygdrive/c/Program Files/Windows
>> Imaging/:/cygdrive/c/Program Files/MySQL/MySQL Server 5.1/bin:/cygdri!
>>  ve/c/Program Files/Microsoft SQL
>> Server/90/Tools/binn/:Framework32/:/cygdrive/c/Program
>> Files/Microsoft SDKs/Windows/v6.1/bin:/cygdrive/c/Program
>> Files/TortoiseSVN/bin:/cygdrive/c/Program Files/Diskeeper
>> Corporation/Diskeeper/:/cygdrive/c/PROGRA~1/F-Secure/ssh:/cygd
> rive/c/Program Files/Diskeeper > Corporation/Diskeeper/:/cygdrive/c/Program Files/Common
>> Files/Adaptec Shared/System:/cygdrive/c/Program Files/NVIDIA
>> Corporation/Cg/bin:/cygdrive/c/PROGRA~1/F-Secure/ssh:/cygdrive
> /c/Python25:/cygdrive/c/Python25/Scripts:/cygdrive/c/Python25/DL> Ls:/cygdrive/c/Python25/Lib/site-packages/vtk_python:/cygdrive
> /c/Python25/Lib/site-packages/wx-2.6-msw-unicode-> enthought/wx:/cygdrive/c/Program
>> Files/CVSNT/:/cygdrive/c/Program Files/CMake 2.6/bin":$PATH
>>>
>>> export PATH
>>>
>>> VCINSTALLDIR="C:\\Program Files\\Microsoft Visual Studio 8\\VC"
>>>
>>> export VCINSTALLDIR
>>>
>>> nmake
>>> nmake HTMLDocumentation
>>>
>>>
>>>> -----Original Message-----
>>>> From: paraview-developers-bounces at paraview.org
>>>> [mailto:paraview-developers-bounces at paraview.org] On
>> Behalf Of Robert
>>>> Kerr
>>>> Sent: Thursday, September 24, 2009 12:41 PM
>>>> To: paraview-developers at paraview.org
>>>> Subject: [Paraview-developers] Compiling under cygwin
>>>>
>>>> Hi all,
>>>> I'm sure this has been asked before, but I haven't figured
>> out how to
>>>> search the archives of this list yet, so I apologize.
>>>>
>>>> Anyway, I'd like to compile ParaView/VTK under cygwin in Windows.
>>>> Has this been successfully done in the past?  Is there a
>> repository
>>>> of information for doing this?
>>>>
>>>> And, ancillary question, is there a way to search the archives of
>>>> this mailing list?
>>>>
>>>> thanks
>>>>
>>>> --
>>>> -bob
>>>>
>>>> 67 percent of men are stupid--I belong to the other 13 percent.
>>>>
>> **********************************************************************
>>>> *      Robert Kerr, Member of the Cubit Mesh Generation
>> Team         *
>>>> *       and the Titan Informatics Toolkit Development Team
>>           *
>>>> *      rakerr at sandia.gov          |    PO Box 5800,  MS
>> 1323         *
>>>> *      Phone: (505) 844-8606      |    Sandia National
>> Labs          *
>>>> *       Fax: (505) 284-2518       |  Albuquerque, NM
>> 87185-1323      *
>>>>
>> *********************************************************************
>>>> *
>>>>
>>>> _______________________________________________
>>>> Paraview-developers mailing list
>>>> Paraview-developers at paraview.org
>>>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>>
>>>>
>>
>> --
>> -bob
>>
>> I'm at a complete loss for...um... those things that are made
>> out of letters and assembled into sentences.
>> **********************************************************************
>> *      Robert Kerr, Member of the Cubit Mesh Generation Team         *
>> *       and the Titan Informatics Toolkit Development Team           *
>> *      rakerr at sandia.gov          |    PO Box 5800,  MS 1323         *
>> *      Phone: (505) 844-8606      |    Sandia National Labs          *
>> *       Fax: (505) 284-2518       |  Albuquerque, NM 87185-1323      *
>> **************************************************************
>> ********

-- 
-bob

I'm at a complete loss for...um... those things that are made out
of letters and assembled into sentences.
**********************************************************************
*      Robert Kerr, Member of the Cubit Mesh Generation Team         *
*       and the Titan Informatics Toolkit Development Team           *
*      rakerr at sandia.gov          |    PO Box 5800,  MS 1323         *
*      Phone: (505) 844-8606      |    Sandia National Labs          *
*       Fax: (505) 284-2518       |  Albuquerque, NM 87185-1323      *
**********************************************************************



More information about the Paraview-developers mailing list