Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Error building Matlab_binding/fast_global_registration. #21

Open
leey127 opened this issue Apr 3, 2019 · 3 comments
Open

Error building Matlab_binding/fast_global_registration. #21

leey127 opened this issue Apr 3, 2019 · 3 comments

Comments

@leey127
Copy link

leey127 commented Apr 3, 2019

I want to get the .mexw64 files and use them in MATLAB but I failed to build one of them. I used VS 2017 and the errors it showed were something about undeclared identifiers in "fast_global_registration.cpp". I checked the file and I can find the definition of these identifiers in app.h.
image

@zhxd050946
Copy link

I got the same error in VS2019. When I added a line "using namespace fgr;", these error disapeared . But another two error rice, "class Capp does have the menber GetTans" in line 82

@zhxd050946
Copy link

change line 82 and 83 to
app.OptimizePairwise(true);
Eigen::Matrix4f transf = app.GetOutputTrans();
fast_global_registration.mexw64 was complied sucsessfuly.

@zhxd050946
Copy link

But only the transform matrix was returned. Better to return the RMSE and overlap rate too. But i am new to FLANN and Eigen, some body else could write more return

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants