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

trouble compiling with 0.8.3 #16

Closed
batchku opened this issue Jul 12, 2014 · 10 comments
Closed

trouble compiling with 0.8.3 #16

batchku opened this issue Jul 12, 2014 · 10 comments

Comments

@batchku
Copy link

batchku commented Jul 12, 2014

i'm trying to compile the basic example with 0.8.3 using the project generator

i'm copying the three source code files over to my new app folder:
main.cpp
ofApp.cpp
ofApp.h

i'm manually adding syphon.framework to "Link Binary with Libraries" as indicated in the previous issue posted to this board:

image

but i'm still getting compilations errors:

image

@batchku
Copy link
Author

batchku commented Jul 12, 2014

I did the same test by using the ofx 0.8.3 project generator to try compiling an empty app with the ofxSyphon addon. There is trouble finding Syphon.h, eventhough it is referenced in the xcode project:

image

I get this error,

/Users/ali/Dropbox/Soft Dev/of_v0.8.3_osx_release/addons/ofxSyphon/libs/Syphon/src/SyphonNameboundClient.h:48:9: 'Syphon/Syphon.h' file not found

image

again, i've followed jefftimesten's addvice here:
#15

and added "Syphon.framework to the "Link Binary with Libraries" build phase as well as dragging SyphonNameboundClient.m into the project manually."

anyone have any hints on what it may be troubling me still?

ali

@laserpilot
Copy link

It looks like something isn't being added properly when you add the addon to your project - your ofx Syphon folder should look more like: OfxSyphon->libs->Syphon->lib->osx-> Syphon.framework and then you can add that framework to your 'Link binary' phase

Also make sure you're adding it to your 'copy files' phase as well - you'll see GLUT.framework in there probably

@bangnoise
Copy link
Collaborator

These are due to issues with the OF Project Generator which have been reported, see

ofZach/projectGeneratorSimple#56
ofZach/projectGeneratorSimple#57
ofZach/projectGeneratorSimple#58
ofZach/projectGeneratorSimple#59

I have added a note to the README about this 2c72778

@danielrosero
Copy link

Anything new abut this? Im trying to get it working on 0.8.4.

@bangnoise
Copy link
Collaborator

This works in OF 0.9 and I will close this issue.

@danrosero and anyone using 0.8, read the README, carefully.

@danielrosero
Copy link

@bangnoise Im getting " No member named 'glTypeInternal' in 'ofTextureData' " error.

@bangnoise
Copy link
Collaborator

READ THE READMEMEMEMEMEMEMEMEMEMEMEMEMEMEMEMEME

@bangnoise
Copy link
Collaborator

Particularly the second paragraph of the Installation section.

@bangnoise
Copy link
Collaborator

And once you've followed those instructions, read the README again, it will have changed.

@danielrosero
Copy link

@bangnoise Thanks, all worked for me from 0.8 branch. Sorry lol.

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

4 participants