[vtkusers] vtknetcdf problem Mac Os X G5

ahmed saad ahmedalysaad2004 at yahoo.com
Thu Mar 1 02:15:34 EST 2007


Hi David,
    Thanks a lot. it works now. I looked into the CMakeCache.txt and change the value of HAVE_STRERROR to 1
Best regards,
Ahmed Saad

 
----- Original Message ----
From: "Thompson, David C" <dcthomp at sandia.gov>
To: ahmed saad <ahmedalysaad2004 at yahoo.com>; vtkusers at vtk.org
Sent: Tuesday, February 27, 2007 6:05:21 PM
Subject: RE: [vtkusers] vtknetcdf problem Mac Os X G5

RE: [vtkusers] vtknetcdf problem Mac Os X G5


 
 




Hmmm, it appears that the CMake variable NO_STRERROR is

defined on your system. That is strange because MacOS X

should provide strerror(). Can you

1. Look in your CMakeCache.txt and find the value of

   HAVE_STRERROR?

2. Look in /usr/include/string.h for a line like this:

   char  *strerror(int);

You should see HAVE_STRERROR set to 1 and see a line

like the above in /usr/include/string.h. If you don't,

then there is a problem with CMake or your compiler

setup that is preventing the test for strerror from being

built.



    David



-----Original Message-----

From: vtkusers-bounces+dcthomp=sandia.gov at vtk.org on behalf of ahmed saad

Sent: Tue 2/27/2007 5:38 PM

To: vtkusers at vtk.org

Subject: [vtkusers] vtknetcdf problem Mac Os X G5



Hi,

   I tried to build the vtk from CVS on Mac Os X 10.4

I've got the following errors

your help is really apperciated

Ahmed



  Building C object

Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/error.o

/Users/aasaad/Desktop/NeededSoftware/Utilities/vtknetcdf/error.c:

In function 'strerror':

/Users/aasaad/Desktop/NeededSoftware/Utilities/vtknetcdf/error.c:23:

error:  conflicting type qualifiers for 'sys_nerr'

/usr/include/stdio.h:273: error: previous declaration

of 'sys_nerr' was here

/Users/aasaad/Desktop/NeededSoftware/Utilities/vtknetcdf/error.c:24:

error: conflicting types for 'sys_errlist'

/usr/include/stdio.h:274: error: previous declaration

of 'sys_errlist' was here

make[2]: ***

[Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/error.o]

Error 1

make[1]: ***

[Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all]

Error 2

make: *** [all] Error 2









____________________________________________________________________________________

It's here! Your new message! 

Get new email alerts with the free Yahoo! Toolbar.

http://tools.search.yahoo.com/toolbar/features/mail/

_______________________________________________

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















 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070228/f7a448ca/attachment.htm>


More information about the vtkusers mailing list