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

Not compiling OF098 Ubuntu 16.04 #43

Closed
ghost opened this issue Oct 12, 2018 · 1 comment
Closed

Not compiling OF098 Ubuntu 16.04 #43

ghost opened this issue Oct 12, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 12, 2018

Hi I'm getting a bunch of errors while trying to compile some of the examples (EventExample in this case):

any idea about the cause?

In file included from /mnt/FILES/CODE/OF/OF_098/addons/ofxBullet/src/ofxBulletWorldRigid.h:14:0, from /mnt/FILES/CODE/OF/OF_098/addons/ofxBullet/src/ofxBullet.h:11, from /mnt/FILES/CODE/OF/OF_098/apps/myApps/EventsExample/src/ofApp.h:4, from /mnt/FILES/CODE/OF/OF_098/apps/myApps/EventsExample/src/main.cpp:2: /mnt/FILES/CODE/OF/OF_098/addons/ofxBullet/src/ofxBulletUtils.h:13:47: error: ‘glm’ has not been declared static btTransform ofGetBtTransformFromVec3f( glm::vec3 a_v ) { ^ /mnt/FILES/CODE/OF/OF_098/addons/ofxBullet/src/ofxBulletUtils.h:13:63: error: expected ‘,’ or ‘;’ before ‘{’ token static btTransform ofGetBtTransformFromVec3f( glm::vec3 a_v ) { ^ /mnt/FILES/CODE/OF/OF_098/addons/ofxBullet/src/ofxBulletUtils.h:34:80: error: ‘glm’ has not been declared gidBody* ofGetBtRigidBodyFromCollisionShape(btCollisionShape* a_cs, glm::vec3 a ^ /mnt/FILES/CODE/OF/OF_098/addons/ofxBullet/src/ofxBulletUtils.h:34:90: error: expected ‘,’ or ‘...’ before ‘a_loc’ fGetBtRigidBodyFromCollisionShape(btCollisionShape* a_cs, glm::vec3 a_loc, floa ^ /mnt/FILES/CODE/OF/OF_098/addons/ofxBullet/src/ofxBulletUtils.h: In function ‘btRigidBody* ofGetBtRigidBodyFromCollisionShape(btCollisionShape*, int)’: /mnt/FILES/CODE/OF/OF_098/addons/ofxBullet/src/ofxBulletUtils.h:35:43: error: ‘a_loc’ was not declared in this scope btTransform tr=ofGetBtTransformFromVec3f(a_loc);

@moebiussurfing
Copy link

moebiussurfing commented Oct 12, 2018

seems you are using the current ofxBullet 0.10 branch into 0.9.8 OF
you can use a previous branch or to try in OF 0.10 or masterbranch
(btw glm::vec3 is the new 0.10 OF way to name vectors. Typical errors between compatibility of previous/new addons)

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

2 participants