I'm building the cmake_1_8_ branch (which I think is now 1.8.7) on windows 7, 64bit using VS2010 and although I get a few build errors (6), they are only the parallel tests which try to #include "unistd.h" and other non portable tests which have never worked. Everything else builds fine.
I'm not sure how this helps you, but the '4' looks odd. Since it thinks it's a slurce file, did you take a look at the relevant cmakelists file and see if something strange has accidently found it's way in there?
John,
I'm guessing you have enabled parallel option, I haven't done this yet on a VS2010 machine. Until we get our public CDash server on line, could you send me a snippet of the error output (or suggestion for correcting) offlist. I'll try to get a fix through before the 1.8.7 release.
Allen
···
Dominik
I'm building the cmake_1_8_ branch (which I think is now 1.8.7) on windows 7, 64bit using VS2010 and although I get a few build errors (6), they are only the parallel tests which try to #include "unistd.h" and other non portable tests which have never worked. Everything else builds fine.
I'm not sure how this helps you, but the '4' looks odd. Since it thinks it's a slurce file, did you take a look at the relevant cmakelists file and see if something strange has accidently found it's way in there?
I apologize, the error was with me. Very malicious, so beware of the same!
I define CL variable and amount it to /MP4 to enable parallel
compilation. I have always put it under the "user variables" part
(upper pane), this time I put it in the "system variables" part (lower
pane). Who would have known this makes a difference?
All fine now, magical 4 explained, many thanks and apologies,
Dominik
···
On Tue, Mar 1, 2011 at 8:30 AM, Biddiscombe, John A. <biddisco@cscs.ch> wrote:
Dominik
I'm building the cmake_1_8_ branch (which I think is now 1.8.7) on windows 7, 64bit using VS2010 and although I get a few build errors (6), they are only the parallel tests which try to #include "unistd.h" and other non portable tests which have never worked. Everything else builds fine.
I'm not sure how this helps you, but the '4' looks odd. Since it thinks it's a slurce file, did you take a look at the relevant cmakelists file and see if something strange has accidently found it's way in there?
Error 2 error C1083: Cannot open include file: 'unistd.h': No such file or directory C:\Code\pv-meshless\Utilities\hdf5-1.8\testpar\t_posix_compliant.c 43
Error 3 error C2065: 'PATH_MAX' : undeclared identifier C:\Code\pv-meshless\Utilities\hdf5-1.8\testpar\t_cache.c 52
Error 4 error C2057: expected constant expression C:\Code\pv-meshless\Utilities\hdf5-1.8\testpar\t_cache.c 52
Error 5 error C2466: cannot allocate an array of constant size 0 C:\Code\pv-meshless\Utilities\hdf5-1.8\testpar\t_cache.c 52
Error 6 error C2087: 'filenames' : missing subscript C:\Code\pv-meshless\Utilities\hdf5-1.8\testpar\t_cache.c 52
Error 11 error C2079: 'tz' uses undefined struct 'timezone' C:\Code\pv-meshless\Utilities\hdf5-1.8\testpar\t_cache.c 4361
···
From: Allen D Byrne [mailto:byrn@hdfgroup.org]
Sent: 01 March 2011 15:53
To: hdf-forum@hdfgroup.org
Cc: Biddiscombe, John A.
Subject: Re: [Hdf-forum] Building 1.8.6 fails on Visual Studio 2010 64bit
John,
I'm guessing you have enabled parallel option, I haven't done this yet on a VS2010 machine. Until we get our public CDash server on line, could you send me a snippet of the error output (or suggestion for correcting) offlist. I'll try to get a fix through before the 1.8.7 release.
Allen
Dominik
I'm building the cmake_1_8_ branch (which I think is now 1.8.7) on windows 7, 64bit using VS2010 and although I get a few build errors (6), they are only the parallel tests which try to #include "unistd.h" and other non portable tests which have never worked. Everything else builds fine.
I'm not sure how this helps you, but the '4' looks odd. Since it thinks it's a slurce file, did you take a look at the relevant cmakelists file and see if something strange has accidently found it's way in there?