[CMake] CPack : seg fault

2008-03-06 Thread Mathieu Malaterre
Hi, I am getting a seg fault somewhere in CPack (CVS HEAD and cmake 2.4.7) on cygwin, but even with a debug build of CMake I cannot get a nice backtrace (*). Has anyone any suggestion on how to deubg this thing ? Thanks -Mathieu Run CPack packaging tool...

Re: [CMake] CPack : seg fault

2008-03-06 Thread Bill Hoffman
Mathieu Malaterre wrote: Hi, I am getting a seg fault somewhere in CPack (CVS HEAD and cmake 2.4.7) on cygwin, but even with a debug build of CMake I cannot get a nice backtrace (*). Has anyone any suggestion on how to deubg this thing ? Thanks -Mathieu Run CPack packaging tool...

Re: [CMake] CPack : seg fault

2008-03-06 Thread Mathieu Malaterre
On Thu, Mar 6, 2008 at 5:34 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Mathieu Malaterre wrote: Hi, I am getting a seg fault somewhere in CPack (CVS HEAD and cmake 2.4.7) on cygwin, but even with a debug build of CMake I cannot get a nice backtrace (*). Has anyone any suggestion

Re: [CMake] CPack : seg fault

2008-03-06 Thread Mathieu Malaterre
Hi david, Thanks for taking the time to reproduce the issue. I fixed the CHECK_INCLUDE_FILE in cmake you should be all set when taking rev 2669. Thanks again -Mathieu On Thu, Mar 6, 2008 at 7:47 PM, David Cole [EMAIL PROTECTED] wrote: I tried to repro this just now, but I get a build error at

Re: [CMake] generating GNU makefiles for MSVC

2008-03-06 Thread Randal Walser
Thanks to all for the feedback. Seems there are several viable alternatives. I looked into cmake for the first time only yesterday, to see if it would play well with GNU make and cl. Apparently it does, so it's up to me now to get my head around it. Certainly looks like great stuff. I

Re: [CMake] CPack : seg fault

2008-03-06 Thread David Cole
Yes it does repro: (with cygwin CMake 2.4.7) $ make package [ 0%] Built target gdcmmd5 [ 3%] Built target gdcmzlib [ 90%] Built target gdcmIODTests [100%] Built target gdcmMSFFTests Run CPack packaging tool... CPack: Create package using CygwinBinary Signal 11 make: *** [package] Error 139

Re: [CMake] New, improved FindMPI.cmake

2008-03-06 Thread Alexander Neundorf
On Thursday 06 March 2008, Doug Gregor wrote: The FindMPI module that ships with CMake is rather rudimentary. It identifies some variants of MPICH and MPICH2, but leaves users of other MPI implementations (Open MPI, LAM-MPI, MS-MPI, etc.) to their own devices. It also doesn't account for other

Re: [CMake] New, improved FindMPI.cmake

2008-03-06 Thread Bill Hoffman
Alexander Neundorf wrote: There are two known issues: 1) Microsoft's MPI (MS-MPI) has different directories for 32-bit vs. 64-bit libraries. How do we know whether we're building in 64-bit mode to select among the two? 2) FindMPI.cmake has changed a little on the CMake trunk, but I haven't

Re: [CMake] generating GNU makefiles for MSVC

2008-03-06 Thread Werner Smekal
Hi, Set the CC and CXX environment variables to cl, and install a GNU make for windows, best one is IMO the one you get here: http://unxutils.sourceforge.net/ Nice tip, thanks. I've used msys a bit, but hadn't had occasion to try out unxutils. I'll take a closer look at first chance.