I have been at this all day with no luck. I am trying to compile the SyphonExample and am getting these errors. I was getting others but noticed the syphon.framework was missing in a few places so I added it.
Thanks for you help in advance
d: warning: ignoring file /Developer/of_preRelease_v007_osx/addons/ofxSyphon/libs/Syphon/lib/osx/Syphon.framework/Syphon, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
“_SyphonServerDescriptionNameKey”, referenced from:
-[SyphonNameboundClient parametersMatchDescription:] in SyphonNameboundClient.o
“.objc_class_name_SyphonClient”, referenced from:
pointer-to-literal-objc-class-name in SyphonNameboundClient.o
“_SyphonServerAnnounceNotification”, referenced from:
-[SyphonNameboundClient init] in SyphonNameboundClient.o
-[SyphonNameboundClient setClient:havingLock:] in SyphonNameboundClient.o
“.objc_class_name_SyphonServer”, referenced from:
pointer-to-literal-objc-class-name in ofxSyphonServer.o
“_SyphonServerDescriptionAppNameKey”, referenced from:
-[SyphonNameboundClient parametersMatchDescription:] in SyphonNameboundClient.o
“_SyphonServerRetireNotification”, referenced from:
-[SyphonNameboundClient setClient:havingLock:] in SyphonNameboundClient.o
“_SyphonServerDescriptionUUIDKey”, referenced from:
-[SyphonNameboundClient setClientFromSearchHavingLock:] in SyphonNameboundClient.o
-[SyphonNameboundClient handleServerUpdate:] in SyphonNameboundClient.o
-[SyphonNameboundClient handleServerRetire:] in SyphonNameboundClient.o
“_SyphonServerUpdateNotification”, referenced from:
-[SyphonNameboundClient init] in SyphonNameboundClient.o
“.objc_class_name_SyphonServerDirectory”, referenced from:
pointer-to-literal-objc-class-name in SyphonNameboundClient.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When i build that it doesnt bring in the syphon.framework anywhere. Where did you pull that in? did you build the syphon framework that is in syphon-implementations-read-only/Syphon Framework?
if you did, did you build it before or after the ofxSyphon?
hmm, i don’t recall a 100% accurately what i had to do to get it to work.
but the main part is that the _addon_ not the framework needs to be built on the user’s machine. this will contain the framework in its addons/ofxSyphon/libs/Syphon/lib/osx directory.
make sure to move the addons-folder to the oF addons location and the example-folder to the corresponding folder. this should ensure that all the paths stay correct.
as for strange errors when running the thing: please post, someone might be able to shed some light.