IPC icon indicating copy to clipboard operation
IPC copied to clipboard

template deducing issue on Windows

Open xarthurx opened this issue 3 years ago • 1 comments

I'm trying to compile IPC on Windows with MSVC.

image

The issue is mainly caused by the static template function IglUtils::makePD, IglUtils::flipDet_SVD and IglUtils::computeCofactorMtr, where the compiler cannot deduce template argument for the variables these functions trying to apply to.

Any ideas or is this because of the platform?

xarthurx avatar Nov 28 '21 20:11 xarthurx

OK, this seems to be a common issue for MSVC.

Reference and solution: https://stackoverflow.com/questions/58520935/avoiding-ambiguous-parameters-in-templated-eigen-functions-with-msvs

xarthurx avatar Nov 28 '21 20:11 xarthurx