ofxBox2d latest run in of_v0.7.4_vs2010_release?

Hi all,
I’m new in openframework, I want to use box2d addon to my project, I go to https://github.com/vanderlin/ofxBox2d
to download the lastest vision, and I use visual studio 2010 , of_v0.7.4, but when I run the example-Simple this folder in ofxBox2d,
I get two error:
"error C2561: ‘ofxBox2dPolygon::getVertices’ : function must return a value "
“error C1083: Cannot open include file: ‘sys/time.h’: No such file or directory”

I also follow this thread: http://forum.openframeworks.cc/t/does-the-latest-ofxbox2d-run-in-007-with-visual-c+±2010-express/7806/0
but still get the error

I tried to find the previous vision ofxbox2d,but can’t find on web.

anyone have good idea??

thanks

For the getVertices error, try

  
  
if(body == NULL) {  
    static vector <ofPoint> v;  
    return v;  
}  
  

There is also an issue on github: https://github.com/vanderlin/ofxBox2d/issues/46

thanks , it fixed first error…