Error compiling OF on msys2


I’ve been trying to compile OF on msys2 using the MinGW terminal, but it spits out this error:

C:/Users/m/Documents/OF/libs/openFrameworks/utils/ofUtils.cpp: In function ‘ofTargetPlatform ofGetTargetPlatform()’:
C:/Users/m/Documents/OF/libs/openFrameworks/utils/ofUtils.cpp:1016:16: error: ‘OF_TARGET_WINGCC’ was not declared in this scope

Has anyone seen this before or know how to fix it?

Many thanks!

can you try the nightly builds or 0.9.1 release candidate 1 from here: 0.9.1 Release Candidate 1

this is a known problem in 0.9 it’s fixed by changing that constant to OF_TARGET_MINGW but we are about to release 0.9.1 so the nighly builds are perfectly stable

At the moment, 0.9.1 is not ready for MSYS2.
Stick to 0.9.0 and apply changes discussed here

You can now use the latest master. The blocking bugs for MSYS2 have been solved.

Thanks guys! probably should have searched the forum better before posting this.