It looks like you're new here. If you want to get involved, click one of these buttons!
I'd like to compile KLayout on VS2019 (using the VS Qt extension). I'm stuck on klayout_db with many errors on templates. I am just trying to compile dbHierProcessor.cc and this is the repeated errors I' getting:
Severity Code Description Project File Line Suppression State
Error C2679 binary '=': no operator found which takes a right-hand operand of type 'const std::pair,std::allocator>,std::map,std::allocator<db::text_ref<db::Text,db::Disp>>>,std::less,std::allocator<std::pair,std::allocator<db::text_ref<db::Text,db::Disp>>>>>>>,db::local_processor_cell_context<db::PolygonRef,TI,db::TextRef>>' (or there is no acceptable conversion) klayout_db \Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\list 1284
From my limited experience using VS, VS has very specific rules on templates, but I'm running out of idea on how to fix this error. Before I give up, I'm wondering if there are any C++ template experts that can offer some suggestions on what this could possibly mean.
I'd appreciate any guidance, suggestions, comments.