YDLIDAR / sdk

ydlidar sdk
Other
7 stars 4 forks source link

Build fails with an error "call of overloaded ‘abs(size_t)’ is ambiguous" #8

Open fantauzzi opened 4 years ago

fantauzzi commented 4 years ago

I followed instructions to build the code from the repository, and when running make I got the error "call of overloaded ‘abs(size_t)’ is ambiguous". See attached file for the complete transcript.

error.txt

Running Ubuntu 18.04, gcc 7.4.0, GNU Make 4.1 and cmake version 3.10.2..

yangfuyuan commented 4 years ago

fixed "gcc >5" ambiguous error. please update sdk