right now I just can’t open any projects in my ofSketch including the examples. Here is the console info, anyone knows how to deal with it?
Did you install xCode? Also, what version of osx are you using?
yes, I have xCode and my osx version is 10.10.5
Hm. What version of Xcode do you have installed? Also, what is the output if you go to the command line and run:
It shows my version is Version 7.0 (7A220)
when I run the code, it shows ‘command not found’
@bakercp Im having troubles with OfSketch as well.
getting only this even on new files
Makefile:13: /Users/temp/Documents/fall15/code/ofSketch: No such file or directory
Makefile:13: 0.4.0/data/openFrameworks//libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk: No such file or directory
make: *** No rule to make target `0.4.0/data/openFrameworks//libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk’. Stop.
I tried to use xcode to open a openFrame work example , it also did not work. I am not sure if they have any relations.
Ah, 7.0 was just released and hasn’t been tested with ofSketch yet. @AdrianChe if you open the terminal and type
gcc does it offer you the option to install xcode command line tools?
@kendallschauder Did you delete your old ofSketch and install a new one? Also what version of OSX and what version of Xcode do you have installed?
@bakercp i fixed it i had changed the name of the folder, i changed it back and its working again.
no it showed clang error: no input files
Strange – so it sounds like the commands that ofSketch uses are available, but there seems to be something missing. I thin kit is directly related to Xcode 7 (openFrameworks and ofSketch has not been tested with it yet and Apple always changes some things). So could you try the following commands in the terminal and paste screenshots of the results:
ls -la /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
Please place a space after xcode-select before -v or -p . The -p and -v are arguments, not part of the program name.
(or just cut and paste from my examples above).
Aha. OK. So the
xcode-select command is working and you have the right files, but it appears that Xcode version 7 does not include a 10.9 or 10.10 sdk.
Currently ofSketch only works if there is a MacOSX10.10.sdk or MacOSX10.9.sdk in that folder.
So, I need you to do a little hack to get ofSketch working …
Inside your ofSketch folder you’ll see a file here
Open that file with a plain text editor, erase everything and paste in the contents linked here:
Then try to compile a sketch again.
Oops. My bad. Try the contents of this file. I messed up the syntax.