You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I import the ComplexPolygon example into QtCreator, a few errors come up, like:
ofApp.cpp:56:3: error: cannot initialize object parameter of type 'ofxBox2dBaseShape' with an expression of type 'std::__shared_ptr_access<ofxBox2dCircle, __gnu_cxx::_S_atomic, false, false>::element_type' (aka 'ofxBox2dCircle')
on line 56 of ofApp.cpp circle->setPhysics(0.3, 0.5, 0.1);
If I try to compile with Make (just using make from the command line at the root folder of the example), it works. Any ideas?
I'm using Ubuntu 20.04 Of 0.11.0 with ofxBox2d branch master. Could that be the problem? There is no branch for 0.11.
The text was updated successfully, but these errors were encountered:
When I import the ComplexPolygon example into QtCreator, a few errors come up, like:
ofApp.cpp:56:3: error: cannot initialize object parameter of type 'ofxBox2dBaseShape' with an expression of type 'std::__shared_ptr_access<ofxBox2dCircle, __gnu_cxx::_S_atomic, false, false>::element_type' (aka 'ofxBox2dCircle')
on line 56 of ofApp.cpp
circle->setPhysics(0.3, 0.5, 0.1);
If I try to compile with Make (just using make from the command line at the root folder of the example), it works. Any ideas?
I'm using Ubuntu 20.04 Of 0.11.0 with ofxBox2d branch master. Could that be the problem? There is no branch for 0.11.
The text was updated successfully, but these errors were encountered: