简体   繁体   中英

Error building openframeworks for android: “ invalid use of incomplete type ‘class Poco::Path’”

I am trying to build an android application with OF. The application runs in two other computers. However, it does not work on mine. I am using a mac.

I run the command "make AndroidDebug" in the project folder, and this is the error I have:

/Library/openFrameworks/addons/ofxHTTP/libs/ofxHTTP/src/PostRouteFileHandler.cpp:98:46: error: invalid use of incomplete type 'class Poco::Path'
                 ss << Poco::Path(formFileName).getExtension();

I have installed poco, but nothing changes afterwards.

What can I do to solve this?

Thanks

Have you included Poco/Path.h?

A forward declaration might appeared earlier (possibly in another header) without complete definition.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM