Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Problem compiling ofxMaps on OS X

$
0
0

Hi @bakercp,

Many thanks for the response!

It's the git version, here are the specs:

$ cd /.../openFrameworks_git/
$ git status -uno
On branch master
Your branch is up-to-date with 'origin/master'.
$ git log -1
commit 621876270b585498e4557eacddf8afc60ffdb8b5
Merge: 870705a b4dbf66
Author: arturo <arturo@openframeworks.cc>
Date:   Sun Sep 13 20:10:41 2015 +0200

... and for ofxHTTP:

$ cd addons/ofxHTTP/ 
$ git status -uno
On branch master
Your branch is up-to-date with 'origin/master'.
$ git log -1
commit d9b78ac9b040b1f2a0e5e24897fa45adfb590083
Merge: b0ca84a 002da5d
Author: Christopher Baker <me@christopherbaker.net>
Date:   Tue Apr 21 23:02:40 2015 -0500

I think I have the right one (but do let me know if I'm mistaken)

... ahhh, I'm on master branch of ofxHTTP, so I just did this:

$ cd /.../openFrameworks_git/addons/ofxHTTP/
$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/develop
  remotes/origin/master
$ git checkout develop
Branch develop set up to track remote branch develop from origin.
Switched to a new branch 'develop'
$ git branch -a
* develop
  master
  remotes/origin/HEAD -> origin/master
  remotes/origin/develop
  remotes/origin/master
$ git log -1
commit 2fb2e76402ef3c1f500aebe646d5affb12b3a9fc
Author: Christopher Baker <me@christopherbaker.net>
Date:   Fri Aug 7 16:31:12 2015 -0500

    Spacing issues.

Then I tried adding a bunch of paths in "Header Search Paths" and removing files from the xcode project that were no longer present - until I got bored, and reconstructed the project via projectGeneratorSimpleDebug.app again - except this time with ofxHTTP, ofxMediaType, ofxSSLManager and ofxTaskQueue as addons; then I just needed to add a few paths under "Header Search Paths" (for ofxIO and ofxNetworkUtils); and in addition, I had to checkout the develop branch of ofxNetworkUtils because otherwise the file IPAddressRange.h didn't exist; and finally, it built!! :smile:

So here is this xcode project (only the .xcodeproj as a zip): example_basic_client_xcode.zip (40.3 KB)

Except, when the bin/example_basic_clientDebug.app runs, I get simply a gray window; is this what it is supposed to be doing? (I haven't had much time yet to look at the code, and see what is it supposed to be doing).

Anyways - thanks so much for the pointer; I'll be checking out the develop branches of all the addons, and try to re-build ofxMaps from that; now I'm pretty sure it will work.

Cheers!


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>