Hmm… I have tried updating this path to an absolute path (also tried using relative to $SRCROOT) but still it reports the error:
Line Location Tool:0: cp: /Users/plong0/Documents/Xcode/openFrameworks/of_preRelease_v0.05_xcode_FAT/apps/_ofTest1/ofTest1Debug.app/Contents/MacOS/libfmodex.dylib: No such file or directory
with $SRCROOT being /Users/plong0/Documents/Xcode/openFrameworks/of_preRelease_v0.05_xcode_FAT/apps/_ofTest1/
Funny thing is, when I use finder to open the package, the libfmodex.dylib is actually there. I wonder if there is somewhere else that I must update the path?
well, I have found a solution that seems to work. Before I was copying the _emptyExample directly to the of_preRelease/apps folder when the example is located in of_preRelease/apps/examples (so an extra path level). My solution was to copy to a location at the same level as examples of_preRelease/apps/myApps
From there, I was able to compile properly, and even to rename with relative ease the name of the binary and project from the generic openFrameworks.
I am still curious why I wouldn’t be able to have the project located at a level higher in the directory layout.
I am getting this error as well. The project is located in my addons example folder. The folder structure is untouched and I even tried replacing everything with a fresh download. The path in the script seems correct, the dylib just isn’t being built there. I tried replacing it with an absolute path, but it makes no difference. I’ve constructed projects for addon examples before and they all build fine. The only difference I see hear is that the addon libraries are located in a subfolder within the addons folder, but moving them up a level doesn’t seem to make a difference. Any idea what’s going on here?
you’ll have to post the specific error messages you are getting and a zip of the project.
I would recommend pastebin ( http://pastebin.com/ ) for the errors and yousendit ( https://www.yousendit.com/ ) for the project.
if the addons projects and example projects work there is obviously something that you must have changed in your project to break the linking process.
/Users/zachgold/Desktop/of_preRelease_v0061_osxSL_FAT/apps/addonsExamples/msaInterpolatorExample/src/testApp.cpp:191: error: no matching function for call to 'MSA::Vec3::rotate(int, float, int)'
If you comment out this line:
pt.rotate(0, -currentRot, 0);
in testApp::mousePressed
then the app compiles.
it seems the example is not up to date with the version of MSA libs
yeah i thought that there’s got to be a more efficient solution, thought i better leave that to the pros.
btw i posted a bug report about this in the github repo…
Big thanks to everyone! I knew about this error and brought it up in another thread, but figured it was distinct from the dylib error, which I figured was due to the file structure I implemented for the MSA addons. Turns out it was causing it somehow as now it builds fine. Weird.