Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation error in Qtcreator #134

Open
brunovianna opened this issue Nov 25, 2020 · 0 comments
Open

compilation error in Qtcreator #134

brunovianna opened this issue Nov 25, 2020 · 0 comments

Comments

@brunovianna
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant