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

[Windows] ofToDataPath() doesn't return a relative path

$
0
0

Hi,
Is it a bug, or do I misunderstand something?

void ofApp::setup()
{
    ofLogNotice() << ofToDataPath("test");
}

Output:

[notice ] C:\Users\username\Documents\of\of_v0.8.4_win_cb_release\apps\tests\test\bin\data\test

I was expecting

[notice ] data\test

Windows 7 + OF 0.8.4 + CB12.11

Thank you!


Viewing all articles
Browse latest Browse all 40524

Trending Articles



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