Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Error building DirectoryUtils on RPi

$
0
0

@ddh wrote:

I am picking a project up after months, and not sure what may have changed. I am building on the Pi and this succeeded in the past for sure… now when i build, I get this… any suggestions?

/home/pi/openFrameworks/addons/ofxIO/libs/ofxIO/src/DirectoryUtils.cpp: In static member function ‘static void ofx::IO::DirectoryUtils::list(const boost::filesystem::path&, std::vector<boost::filesystem::path>&, bool, ofx::IO::AbstractPathFilter*, bool)’:

/home/pi/openFrameworks/addons/ofxIO/libs/ofxIO/src/DirectoryUtils.cpp:123:72: error: invalid initialization of reference of type ‘const string& {aka const std::basic_string<char>&}’ from expression of type ‘const boost::filesystem::path’

std::filesystem::path _directory = ofToDataPath(directory, true);

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles