sarsop icon indicating copy to clipboard operation
sarsop copied to clipboard

make error on windows 10

Open bosonphoton opened this issue 2 years ago • 0 comments

I am trying to run the "make" on a windows 10 PC but keep running into this error. I have cygwin installed, pleas help!

$ make
g++ -g -w -O3 -I./MathLib -I./Algorithms -I./Algorithms/HSVI -I./Algorithms/SARSOP -I./Models/MOMDP/ -I./Models/MOMDP/CoLoc/ -I./OfflineSolver/ -I./Bounds/ -I./Core/ -I./Parser/Cassandra/ -I./Parser/Cassandra/include -I./Parser/ -I./Parser/POMDPX/ -I./Utils/ -I./Simulator/ -I./Evaluator/ -I./Controller/  -msse2  -mfpmath=sse      -c -o PolicyGraph/PolicyGraph.o PolicyGraph/PolicyGraph.cpp
In file included from ./Parser/POMDPX/FactoredPomdp.h:19,
                 from ./Parser/ParserSelector.h:5,
                 from PolicyGraph/PolicyGraph.cpp:2:
./Utils/CPTimer.h:24:10: fatal error: sys/times.h: No such file or directory
   24 | #include <sys/times.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: PolicyGraph/PolicyGraph.o] Error 1

bosonphoton avatar Feb 27 '23 22:02 bosonphoton