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

Problem compiling ofxMaps on OS X

$
0
0

Hi @bakercp ,

Thanks again for the response!

Well, it turns out that I compiled example_basic_client directly as it was from the projectGenerator - meaning that main.cpp, ofApp.cpp, ofApp.h in the src/ folder were the "blank" ones from the project generator; after copying the files over from the src/ subfolder of the example_basic_client from git, finally I get something like this:

Just a note for Mac noobs: if you use:

$ open bin/example_basic_clientDebug.app

... then it is the equivalent of double-clicking the output, and no messages will be dumped to stdout in terminal; while if you call the executable directly:

$ ./bin/example_basic_clientDebug.app/Contents/MacOS/example_basic_clientDebug 
[ error ] ofApp::setup: Got Exception SSL Exception: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed 0

... then messages will be visible in stdout...

Yes, everything went fine - and I finally got ofxMaps example to compile; having checked out the develop branch from ofxHTTP, ofxIO, ofxMaps, ofxNetworkUtils, and ofxTaskQueue. I could finally see what the ofxMaps example is about - it quickly switches between tiles from different map providers (basically, almost like blinking or strobe effect), pressing 0 fixes one provider, pressing 1 fixes another, and thereafter one can use WASD to navigate and +/- (I think) to zoom. Even if I built the example on Linux already, I could really see what is going on - and that is because I have OpenGL 1.4 graphics card, and I "fake" openGL 2.1 in which case software rendering is enabled (see also Problem with compilation of project generator and examples on Ubuntu 14? - linux - openFrameworks) - and in that case, I would have only seen a tile from one provider, which would have disappeared very quickly, and then only a background was shown, and I really didn't get what was going on with that alone.

Thanks for mentioning this - I wasn't aware that is how the development cycle was intended to work.

Anyways, many thanks again - now it seems, everything related to ofxMaps and examples works fine...

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>