Hi folks,
I’ve been trying to build OF from source on windows for the 1st time, and I’m trying to better understand the exact steps I need to follow.
Here is what I’ve been doing:
- Clone from repo in visual studio.
2)Open scripts/vs - run
download_libs.ps1
in powershell
4)build and run theemptyExample
project to validate everything is working so far.
at this point, OF itself is working. However, I also want to build the example projects for visual studio.
If I run compileAllExamples.cmd
I get a few lines of feedback, but it doesn’t build anything.
Maybe I need to build the projectGenerator 1st? I open the commandLine.sln
for the project generator and build that. It compiles succesfully, but the compileAllExamples.cmd
script still doesn’t work. Does the built commandLine generator need to be put into a specific location?
If I copy over the ‘projectGenerator-vs’ and try to run it once, it works, and from that point forward, the `compileAllExamples.cmd will now run properly and will compile all of the examples.
What am i missing in these steps? I would like to be able to build the examples from the script without needing to copy over a pre-built project generator.