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

Example links are broken & text load needs update. #15

Open
JBSCode opened this issue May 18, 2015 · 3 comments
Open

Example links are broken & text load needs update. #15

JBSCode opened this issue May 18, 2015 · 3 comments

Comments

@JBSCode
Copy link

JBSCode commented May 18, 2015

Hey.
The links of the ofxMacam addon are broken in all examples. Just deleting the reference and dragging the src folder back in to xcode worked.

In ofxMacamPs3Eye::update() of ofxMacamPs3Eye.mm I replaced
tex.loadData( getPixels(), getWidth(), getHeight(), GL_RGB);
with
tex.loadData( getPixelsRef() );

I am using xcode 0.8.4

@CaseyJScalf
Copy link

Hi JBSCode,

I noticed that the examples did not work either. However, I was not able to fix it so easily as you did.

I searched the project in xcode and did not find anything such as:
tex.loadData( getPixels(), getWidth(), getHeight(), GL_RGB);

Nor did I find the file ofxMacamPs3Eye.mm

I am a complete newb at xcode and OpenFrameworks but have prior coding experience in Processing and others. How did you know to change that?

Is it normal for a project to have 100's of warnings when you compile?

Is there anyway a working version could be uploaded to this project?

Thanks for your help

@shmileee
Copy link

shmileee commented Aug 5, 2015

@Sensebellum, I've received compilation errors and had to rename some source files from *.mm to *.m, after that, as OP said:

In ofxMacamPs3Eye::update() of ofxMacamPs3Eye.mm replace
tex.loadData( getPixels(), getWidth(), getHeight(), GL_RGB);
with
tex.loadData( getPixelsRef() );

And everything will work just fine.

Try using search in your xcode project if you can't find necessary method.

@josellausas
Copy link

I had the same problem too. JBS Solution works. Thanks.

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

3 participants