MSys2 Install, Some Examples fail to build, where is project generator?

Just installed OF on windows 7 Msys2 64 bit

Some of the examples failed to build.

Here is the output from the build all examples script

Success:120 - Skipped:0 - Failed:16 - total:136

Failed examples :
3d/3DModelLoaderExample 3d/assimpExample 3d/cameraLensOffsetExample 3d/modelNoiseExample communication/oscChatSystemExample communication/oscReceiveExample communication/oscSenderExample computer_vision/kinectExample computer_vision/opencvExample computer_vision/opencvHaarFinderExample gl/computeShaderTextureExample graphics/polylineBlobsExample gui/oscParametersReceiverExample gui/oscParametersSenderExample input_output/svgExample templates/allAddonsExample

Also there is no project generator as in the linux version.
Can the project generator be installed on windows? if so how?
Is there a guide to creating projects manually without an IDE or the project generator around somewhere?


Not sure about those examples.

To run examples you can compile and use the commandLine project generator.

Usually this works on msys:

  • update pacman
  • compile commandLine PG
  • update pacman again
  • cd project/example directory
  • invoke commandLinePG (or just copy std::Makefile here)
  • type make
  • type make run

Notepad++ is a very nice IDE




For the examples not building, I believe that they are all examples that require an addon.
There is a bug in the makefile that is called when using addons.
I think it’s solved in the master but you can fix it by yourself. Have a look at my post here

For the Project Generator, I do not use it, I prefer copying ‘config.make’ and ‘Makefile’ from other projects. For example, from <OF_ROOT>\scripts\templates\msys2

Good luck