DGtal-team / DGtalTools

Tools associated with DGtal Library
http://dgtal.org
GNU Lesser General Public License v3.0
44 stars 38 forks source link

mesh2heightfield does not build on the master #419

Closed dcoeurjo closed 3 years ago

dcoeurjo commented 3 years ago

On my macOS using clang default compiler


Consolidate compiler generated dependencies of target mesh2heightfield
[ 53%] Building CXX object converters/CMakeFiles/mesh2heightfield.dir/mesh2heightfield.cpp.o
In file included from /Users/davidcoeurjolly/Sources/DGtalTools/converters/mesh2heightfield.cpp:36:
In file included from /Users/davidcoeurjolly/Sources/DGtal/src/DGtal/io/readers/MeshReader.h:187:
/Users/davidcoeurjolly/Sources/DGtal/src/DGtal/io/readers/MeshReader.ih:366:19: error: use of overloaded operator '>>' is ambiguous (with operand types 'std::istringstream' (aka 'basic_istringstream<char>') and 'std::string' (aka 'basic_string<char>'))
        lineinput >> name;
        ~~~~~~~~~ ^  ~~~~
``` 
kerautret commented 3 years ago

Thanks, I have also the issue, I look it!