samindaa / RLLib

C++ Template Library to Predict, Control, Learn Behaviors, and Represent Learnable Knowledge using On/Off Policy Reinforcement Learning
http://web.cs.miami.edu/home/saminda/rllib.html
195 stars 50 forks source link

Math.h: No such file or directory while I run "visualization/RLLibViz$ make -j" #2

Open andyyuan78 opened 8 years ago

andyyuan78 commented 8 years ago

ValueFunctionView.h:17:18: fatal error: Math.h: No such file or directory

include "Math.h"

              ^

compilation terminated. make: * [ValueFunctionView.o] Error 1 make: * Waiting for unfinished jobs.... make: * [moc_ValueFunctionView.o] Error 1 make: * [RLLibVizMediator.o] Error 1

mjm522 commented 8 years ago

It is an issue with g++, just go to that file ValueFunctionView.h and comment #include "math.h". The cmath.h will do. And then run make -j again... It will compile this time.