Skip to content

failed to build 1.0.29 with uclibc

Hello,

I'm getting build error with uclibc:

arc-openwrt-linux-g++: warning: environment variable 'STAGING_DIR' not defined
genesys/image_pipeline.cpp: In member function 'virtual bool genesys::ImagePipelineNodeCalibrate::get_next_row_data(uint8_t*)':
genesys/image_pipeline.cpp:706:28: error: 'round' is not a member of 'std'
             value_f = std::round(value_f * max_value);
                            ^~~~~
genesys/image_pipeline.cpp:706:28: note: suggested alternative: 'count'
             value_f = std::round(value_f * max_value);
                            ^~~~~
                            count

Yes, it is a uclibc problem. However, can't we just use round() here?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information