Adding openFrameworks from various projects, OSX errors

Using Visual Studio I want to add openFrameworks from several projects. I’m adding the openFrameworksDebug.props and openFrameworksRelease.props files found in OFDIR/libs/openFrameworksCompiled/project/vs.

The project is trying to build OSX specific files and I can’t figure out why. Getting errors from appleevents.h, macwindows.h and many others.

Also, could it be better if props files pointed to:
$(SolutionDir)..\..\..\libs ... rather than directly ..\..\..\libs.. in case someone creates projects in nested folders?


Solved, it was an error from another props file. I’m not sure how it caused this issue.

In case anyone finds related issues, this link can help.