On 08/03/2011 10:58, Samuel Thibault wrote:
> Nathalie Furmento, le Tue 08 Mar 2011 10:38:14 +0100, a écrit :
>> On 08/03/2011 10:31, Nathalie Furmento wrote:
>>> I need to compile some CUDA applications on windows, these
>>> applications include (indirectly) hwloc.h.
>>> The nvcc compiler which uses windows visual studio complains it does
>>> not find the file unistd.h
>>> .../hwloc-win32-build-1.1.1/include\hwloc/config.h (104): fatal error
>>> C1083: Cannot open include file: 'unistd.h': No such file or directory
>> I just tried to comment out the include<unistd.h>, it gives another error:
>> .../hwloc-win32-build-1.1.1/include\hwloc.h (25): fatal error C1083:
>> Cannot open include file: 'stdint.h': No such file or directory
> Could you try the attached patch?
I tried the patch, it is solving the problem.