Skip to content

robotconscience/ofxCoreLocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxCoreLocation

=== 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 main.mm and ofApp.mm
    • 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

Notes

About

A basic example of getting location data in openFrameworks + OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published