Closed lofidevops closed 8 years ago
The commit a021a1ab482bbd49faed52b2e25e554dc1a98cba should fix this problem.
The proposed fix was triggering another error on ubuntu so it was simpler to just explicitly call the map.
params = PM::Parameters();
params["dim"] = "0";
params["maxDist"] = toParam(6.0);
@kwill if you could confirm that it work on Windows, I'll close it.
It'll be a little while till I can confirm. I've bookmarked this issue and will come back to it.
Since somebody else was able to build it on Windows, I'll assume that this is resolved.
Hurrah!
Steps to reproduce:
Build on Windows/MSVC:
What should happen:
Build successful.
What happens instead:
This is because of several C++ compatibility errors like this one:
Fix (from François Pomerleau via email):
The second type of error is "error C2593: 'operator =' is ambiguous". This happen for example here in the source code: https://github.com/ethz-asl/libpointmatcher/blob/master/utest/ui/DataFilters.cpp#L74
They are all trigger on the same kind of semantic which looks like that:
Original source:
You can try the following to see if it resolve the error for the line 74: