[vtkusers] vtk 5.1 building with mingw
Srinivasan, Rajagopalan (GE Healthcare)
Rajagopalan.Srinivasan at ge.com
Thu Oct 27 10:42:28 EDT 2005
awesome. the trick was to run from msys prompt. it has built now. thanks a whole bunch.
> -----Original Message-----
> From: David Cole [mailto:david.cole at kitware.com]
> Sent: Thursday, October 27, 2005 9:53 AM
> To: Srinivasan, Rajagopalan (GE Healthcare)
> Cc: vtkusers at vtk.org
> Subject: Re: [vtkusers] vtk 5.1 building with mingw
>
>
> The pre-built CMake binary for Windows will allow you to compile and
> test using mingw. The trick is to run cmake from an MSYS prompt (a
> "mingw environment") and specify -G"Unix Makefiles".
>
> So....
> If I'm in a VTK source directory, running this from an MSYS prompt
> should work to produce a binary tree in a subdir called "bin-mingw":
> mkdir bin-mingw
> cd bin-mingw
> cmake -G"Unix Makefiles" ..
>
> Alternatively, you can launch CMakeSetup from that environment and
> choose "Unix Makefiles" as your generator in there and point
> it to your
> desired source and binary directories. The trick is simply launching
> CMake or CMakeSetup from the correct environment.
>
> How are you trying to build CMake when you get the following errors?
> With "./bootstrap"?
>
> (Also, search the VTK archives for mingw and my name... I remember
> posting other messages with more details back in the March to
> May sort
> of time frame this year.)
>
> Hope this helps,
> David
>
>
> Srinivasan, Rajagopalan (GE Healthcare) wrote:
>
> >can someone give me some hints on how get a mingw build of
> vtk. i cannot get cmake built because of
> >
> >cmSystemTools.o(.text+0x2cdb):cmSystemTools.cxx: undefined
> reference to `cmWin32ProcessExecution::~cmWin32ProcessExecution()'
> >cmSystemTools.o(.text+0x2d08):cmSystemTools.cxx: undefined
> reference to `cmWin32ProcessExecution::~cmWin32ProcessExecution()'
> >ProcessUNIX.o(.text+0x1f2):ProcessUNIX.c: undefined
> reference to `cmsysEncodedWriteArrayProcessFwd9x'
> >collect2: ld returned 1 exit status
> >make: *** [cmake] Error 1
> >
> >of course, if i can have a prebuilt binary that might allow
> me to compile and test using mingw that will be wonderful as well.
> >
> >regards
> >srini
> >
> >
> >
> >DISCLAIMER:
> >This e-mail and any attachment is intended only for the
> exclusive and confidential use of the addressee(s). If you
> are not the intended recipient, any use, interference with,
> disclosure or copying of this material is unauthorised and
> prohibited. If you have received this message in error,
> please notify the sender by return e-mail immediately and
> delete the message from your computer without making any
> copies. Please see
> http://www.ge.com.au/help/email_privacy_policy.html for
> information about our privacy practices.
> >_______________________________________________
> >This is the private VTK discussion list.
> >Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
DISCLAIMER:
This e-mail and any attachment is intended only for the exclusive and confidential use of the addressee(s). If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you have received this message in error, please notify the sender by return e-mail immediately and delete the message from your computer without making any copies. Please see http://www.ge.com.au/help/email_privacy_policy.html for information about our privacy practices.
More information about the vtkusers
mailing list