Comments (10)
Ok. Glad to have libc++. I'm not great at compiling libs, but I will give it a go and then might ask @arturoc for some help if I get hung up. Should I test the new bullet libs with the master branch of OF for compatibility with 0.9.0?
from ofxbullet.
yes, master is already using libc++ in 32bits and 64bits
from ofxbullet.
Any idea of how to compile the library to make it work the addon on 0.9.0 master branch?
..On the examples projects I can swich to 32 bits. Maybe starting an empty project with Project Generator but loosing the 64 bits should work without re compiling?
from ofxbullet.
@moebiussurfing What OS are you on? I was able to get it working with OSX. I had to copy an empty example from scripts/osx/template/ and then link all of the bullet 64bit headers and libs.
Is there a better way to create an empty XCode project other than copying the example from the scripts folder? There are no files in the projectGenerator folder. I called submodule update, but nothing happened. I tried running all of the scripts in the scripts folder, but they didn't build any example xcode projects. :/
from ofxbullet.
Hey @NickHardeman thanks for your reply. I am in 10.10.5 and Xcode 6.4. I tried the same way for make an empty project you say too (scripts/osx/template/ ...etc). The only difference it's that I used the Xcode plugin OFPlugin to add the addon easy. I post here two screenshots about my addon project structure and the errors I am getting:
I tried selecting the target on release or debug and 32 or 64 bits getting the same errors above, and deleted all the libs folders except the /lib/osx/x86_64. I tried to drag and drop manually just the /lib/osx/x86_64 keeping the same folder structure... no success.
Any idea of what I am doing bad?
from ofxbullet.
Hi @moebiussurfing, looks like 009 is adding some more events to ofRegisterMouseEvents. I updated the addon to specify the mouse events, so that OF is not looking for functions that are not there. Try using the updated ofxBulletWorldRigid files.
from ofxbullet.
Hi @NickHardeman , I am trying to build a clean project without success. I am using 009 and your dev009 branch too. But I get this error about OpenCL framework:
I tried using using the ProjectGenerator and also with the OFPlugin to add the addons... also building with 32 or with 64 bits. I tried copying your EmptyExample too.
I have no idea why, but I have a previous project that is working fine, build on the same system and OF folder. That's the structure of the project. In this case it only has the 2.8.2 lib...:
from ofxbullet.
ps: When adding the addon with OFPlugin, I used this tip too:
"When addons contain static libs, they will be added with absolute paths. This is due to a quirk in the Xcode API being used by OFXcodeMenu. If you intend to share a project with other people, it is recommended that you re-add static libs yourself (by right-clicking in the project navigator and selecting "Add Files To (project name)...", for example). "
'https://github.com/openframeworks/OFXcodeMenu'
And I am getting this new error:
from ofxbullet.
Hi @moebiussurfing, can you take a look at a project.xcconfig file in one of the examples. That should have the proper static lib and include paths. Don't forget this line in the project.xcconfig: OTHER_LDFLAGS =
HEADER_SEARCH_PATHS =
and make sure they are coming through in the Header Search Paths and Other Linker Flags in Build Settings.
from ofxbullet.
The project shouldn't require the OpenCL lib to compile. Maybe that is caused from dragging in the static libs and include headers. Try using the project.xcconfig approach.
from ofxbullet.
Related Issues (20)
- gl matrix function in new oF Version( 0.8.0 ) HOT 1
- raycastTest error in iOS HOT 3
- issue building on ios HOT 5
- TODO - GLDebugDrawer::drawLine should draw using VBO HOT 2
- Problems with 3D models in Android HOT 6
- won't compile with of_v0.8.0 xcode3.26 / gcc-4.2 HOT 3
- Potential Visual Studio Change/Fix HOT 2
- Doesn't compile on OF0.8.0 HOT 4
- Doesn't compile with xcode 6 HOT 20
- XCode6 iOS8 compile issue of 0.8.4 HOT 2
- Xcode 6.1 "EXC_BAD_ACCESS" with ofxBulletSimpleExample and others HOT 3
- SoftBodyMeshExample is missing data folder and model HOT 1
- Loss of object color between oF 0.9 RC1 and latest build HOT 1
- Unknown Error 0x800700c1, Visual Studio 2015 HOT 5
- softbody texture on to mesh HOT 7
- Quaternion problem at create function of shapes HOT 2
- Not compiling OF098 Ubuntu 16.04 HOT 1
- Bullet3? HOT 12
- Compiling for windows/code::blocks, but crashing at startup HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofxbullet.