I'm trying to MEX (compile) the implementation linked as "Metric WFG implementation" on http://www.wfg.csse.uwa.edu.au/hypervolume/
When doing so with the Microsoft Visual C++ 2010 compiler, I received errors about sys/time.h and stdbool.h.
I created my own stdbool.h with the following:
#pragma once
#define false 0
#define true 1
#define bool int
and checked sys/time.h to time.h.
However I'm now stuck with the following issue:
wfg.c(37) : fatal error C1083: Cannot open include file: 'sys/resource.h': No such file or directory
I tried removing sys/ however it gives the same error.
Anyone know the solution?
Thank you
sys/resource.h is a posix header file, of course the VC2010 can't find it. Maybe you should install cygwin to do this work if you stick to windows.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.