danomatika / ofxPd

(maintained) a Pure Data addon for OpenFrameworks using libpd
Other
202 stars 45 forks source link

Can't run example on xCode 6.1 with OSX 10.10 #40

Closed chankalun closed 9 years ago

chankalun commented 9 years ago

Hello,

I am unable to run the examples on xCode 6.1 with OSX 10.10. I wonder if it is the version of my xCode or OSX that affects it.

Cheers, Karen

danomatika commented 9 years ago

What do you mean by "unable to run the examples"? Are you sure you're building and running the example or only the openFrameworks compiled lib target? You might have to choose the example in the dropdown box next to the run button.

chankalun commented 9 years ago

Hi, I am building and running the example and it works well with another addon example I found. Sorry I am new to oF and please let me know if the the screenshot below helps with explaining my situation.

Cheers, Karen screen shot 2014-11-18 at 15 11 59

danomatika commented 9 years ago

What version of OS X, OF, and ofxPd are you using?

The first error ("Couldn't load openFrameworksLib.xcodeproj because it is already loaded ...") says you can't open the same Xcode project as a subproject in more than one open project. Basically, this means you should have two open frameworks projects open in Xcode at the same time.

The next errors seem to me that the project is somehow missing some source files and this might be that you have an older version of ofxPd.

On my machine, OS X 10.10, Xcode 6.1, & the current ofxPd master are working fine for me.

chankalun commented 9 years ago

Hi, I am using OSX 10.10 with xCode 6.1, oF 0.8.4 and the current ofxPd master that I downloaded from github... aaaaaaaah>< x

danomatika commented 9 years ago

If you only have the missing reference errors, then you can just comment the function calls out starting at line 38 in ofxPd.cpp. This will mean those particular pd objects won't work, but the example will.

danomatika commented 9 years ago

Also, are you using the Project Generator to make a new project with ofxPd or just running the example that comes with ofxPd?

chankalun commented 9 years ago

Yes I tried generating it with a new project too!

danomatika commented 9 years ago

Yeah, the PG doesn't work with ofxPd as it isn't currently able to set the right CFLAGS :( I opened an issue upstream.

danomatika commented 9 years ago

See #41. The fix is to add the C Flags to the Xcode project manually for now.