Skip to content
A basic example of getting location data in openFrameworks + OS X
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


=== A simple example of using CoreLocation with openFrameworks on OS X

Setting up

  • Clone this addon into openFrameworks/addons
  • Open the example project
  • Turn on WiFi (crucial!)
  • Run the app
  • Say "Yes" to the dialog box
  • Wow!

Adding to a new app

  • Add ofxCoreLocation into your Xcode project
  • Make your app into an objective-C++ app: change main.cpp and ofApp.cpp to and
    • Check in the sidebar that they're being compiled as Objective-C++
  • Add CoreLocation and CoreWLAN to your project
    • System/Library/Frameworks/CoreLocation.framework
    • System/Library/Frameworks/CoreWLAN.framework


You can’t perform that action at this time.