Openframeworks output for all platforms generated from a single platform

I am using openframeworks in windows with visual c++ and in ubuntu with code blocks. I see that visual c++ generates bin files only for the windows platform while in linux code blocks generates bin files for the linux platform.

My question is that isn’t there a way where I can use openframeworks in visual c++ and generate bin files for all other platforms be it linux or mac and vice versa? Do I need to install openframeworks in the platform that I need my application to be? This is mainly because I don’t have mac/xcode and I really have no preference towards investing in one (I am comfortable in linux and windows) but if I am creating an application I would like it to work everywhere.

Generating binary packages is always plactform specifc.(in c++ you can’t generate executable that works on all plaform) but take look at here