Le 08/03/2011 10:36, Nathalie Furmento a écrit :
> On 08/03/2011 10:31, Nathalie Furmento wrote:
>> Dear hwloc-team,
>> 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
unistd.h seems to only be needed because hwloc_pid_t may be pid_t. But
windows doesn't use pid_t, so we can probably move unistd.h under
> I just tried to comment out the include <unistd.h>, it gives another
> .../hwloc-win32-build-1.1.1/include\hwloc.h (25): fatal error C1083:
> Cannot open include file: 'stdint.h': No such file or directory
stdint.h is needed at least for uint64_t in memory attributes. I don't
know what to do here.