Visual Studio + Github workflow for beginners

Hi all,

What is a good workflow if you want to use openFrameworks master version from GitHub within Visual Studio?
(And you are a beginner with most of the tools involved, especially git). Please forgive me if I am not using the right terminology here - I am just and old c++ programmer, old SVN user and recent Mercurial user, who is trying to catch up with times!

  • What is the recommended git client for windows? GitHub for Windows looks nice - Is this enough?
  • What is an easy way to create Visual Studio Solutions for -say- one of the examples? I’ve seen scripts/vs/compileAllExamples.cmd but this doesn’t immediately work for me, even from a Visual Studio command window - I must be doing something wrong.
  • What is a simple way to know if my clone of the repository is out-of-date or updated?
  • What is a simple way to know if my working copy of the repository is out-of-date or updated?

[To give some context I am asking this because I reported an issue in the github forum about the windows download version. I was given a response that the issue was fixed in Master. I tried to pull the latest version, recompile,…but the issue seems to remain. Obviously I want to make sure I am doing everything right before I dare to suggest that the issue might still be unresolved].

Sorry for the long message and thanks for any help (pointers to right tutorials also welcome!)

Best,

Luis.

The main problem seems to be that you don’t have the projects, the version in github doesn’t have them since they are generated when we create the downloadable packages but you can create them using the project generator. The project generator should be in apps/projectGenerator/projectGeneratorSimple, it is a git submodule so you probably need to tell github for windows to pull that submodule not sure how it works with the github client though.

a simpler solution is to copy the solutions from the downloadable package if you just want to do a quick test

1 Like