astellato / ofxSyphon

An OF add-on for using the Syphon framework.
Other
193 stars 57 forks source link

trouble compiling with 0.8.3 #16

Closed batchku closed 8 years ago

batchku commented 10 years ago

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 commented 10 years ago

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: https://github.com/astellato/ofxSyphon/issues/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 commented 10 years ago

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 commented 10 years ago

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 2c72778f52c330a80659db58a07b70ab2633993b

danielrosero commented 8 years ago

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

bangnoise commented 8 years ago

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

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

danielrosero commented 8 years ago

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

bangnoise commented 8 years ago

READ THE READMEMEMEMEMEMEMEMEMEMEMEMEMEMEMEMEME

bangnoise commented 8 years ago

Particularly the second paragraph of the Installation section.

bangnoise commented 8 years ago

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

danielrosero commented 8 years ago

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