For the final project, we have decided that it would be most appropriate to use a different Integrated Development Environment (IDE) in order to seamlessly write graphical applications.
Microsoft Visual Studio
. Follow the steps here.Xcode
. Follow the steps here.Below are some tips on how Visual Studio
and Xcode
differ from CLion
. We want to make sure the transition from CLion
to Visual Studio
/Xcode
is a smooth as possible.
Github for Visual Studio
* When installing Individual components
, select VC++ 2017 v141 toolset (x86, x64)
Team Explorer
(View -> Team Explorer
), and follow these instructions.openFrameworks
project generator (it should be in the downloaded oF
folder) to update your project.Project Path
should be the folder containing the folder to your project (ie., the parent directory)Project Name
should be your Git
repository name.
If all works fine, you should see an orange Update
button.Update
and Open in IDE
.This is somewhat similar to CLion
. Navigate to Debug -> Start With Debugging
. Setting breakpoints is the same as with CLion
.
openFrameworks
project generator (it should be in the downloaded oF
folder) to update your project.Project Path
should be the folder containing the folder to your project (ie., the parent directory)Project Name
should be your Git
repository name.
If all works fine, you should see an orange Update
button.Update
and Open in IDE
.Press the Triangle at the top left.
See this post
This is the general procedure for getting openFrameworks working on Linux. See https://openframeworks.cc/learning/01_basics/create_a_new_project/ and https://openframeworks.cc/setup/linux-install/
Identify which version of GCC you have (gcc --version in the terminal).
Download the openFrameworks tarball, either the current stable release or the latest nightly if the stable release does not compile for your system. Make sure you download the correct one for your version of GCC.
Extract the archive, navigate to the scripts/linux folder, and run the correct install_dependencies.sh script for your distribution (Ubuntu, Arch, etc.)
Run compileOF.sh and compilePG.sh to compile openFrameworks and the projectGenerator. Install the projectGenerator when prompted by the script.
Clone the of-snake assignment into the apps/myApps folder of openFrameworks. For example: /home/ben/downloads/of_v20190324_linux64gcc6_release/apps/myApps/of-snake-bzinn2
Run the projectGenerator.
Click the gray "import" button and choose your of-snake folder.
The "Addons:" field should automatically populate with ofxGui
The green "Generate" button should become an orange "Update" button
Click "Update". With any luck, it should tell you it was successful and create a Makefile for your of-snake project.
Exit the projectGenerator (you don't need to click "Open in IDE")
Navigate to your of-snake assignment folder. There should now be a Makefile there.
Run make