Sublime Text 3 + openFrameworks

Hi,

I’m trying to setup oF with Sublime Text. I found instructions by acarabott:

I know the “Project” Directory is:
of_v0.8.4_linux64_release/apps/myApps/myFirstProject

but I’m not clear on what directories he’s talking about when he mentions the “Packages” directory. Does he mean this one:
/of_v0.8.4_linux64_release/scripts/linux/ubuntu? (I’m using Ubuntu 14.04)

I’m also not clear on what I’m supposed to do after that.

Riqi

I believe he is referring to the sublime package path, if you click Tools -> Build System -> New Build System. You can place that whole build config in the file it generates, and then save and it would show up as a build menu item

You can also put the build settings in your sublime project file

EDIT1: I get “[Errno 13] Permission denied” when I try to buil the cpp file …so maybe it’s a chmod permissions issue with the buildAndRun.sh file?

EDIT2: Yes, it was a chmod (permissions) issue. What I did was make sure that buildAndRun.sh was read-write-executable by the user:
sudo chmod u+rwx buildAndRun.sh

I.ve followed the instructions and put the open frameworks build in my sublime packages folder and it shows up as a build. I then put the build and run in the project folder with the config , src etc. I’m not sure if Im doing it correctly but I’m opening the ofApp.cpp, main.cpp and ofApp.h in Sublime but when I try to build it tells me

…/buildAndRun.sh: line 5: /Users/JDMuschett/Desktop/openFrameworks 0.9.0/apps/myApps/hundredCityv1_3: is a directory
make: *** No rule to make target Debug'. Stop. make: *** No rule to make targetRunDebug’. Stop.
[Finished in 0.1s with exit code 2]
[cmd: [’…/buildAndRun.sh’]]
[dir: /Users/JDMuschett/Desktop/openFrameworks 0.9.0/apps/myApps/hundredCityv1_3/src]
[path: /usr/bin:/bin:/usr/sbin:/sbin]

Would anyone be able to tell me what this means or how to solve this?

J