yangjiaolong / Go-ICP

Implementation of the Go-ICP algorithm for globally optimal 3D pointset registration
http://jlyang.org/go-icp/
GNU General Public License v3.0
442 stars 97 forks source link

Does not compile on MacOS #12

Open sashakolpakov opened 1 year ago

sashakolpakov commented 1 year ago

Generally a non-issue, rather a comment.

/Go-ICP/jly_3ddt.cpp:13:10: fatal error: 'malloc.h' file not found

include

^~~~~~

The error appears to be standard for MacOS, no matter ARM or Intel. Removing the deprecated (since a while) malloc.h makes compilation possible.

/Go-ICP/matrix.cpp:858:9571: warning: null character ignored [-Wnull-character]

Produces ~9600 warning like this on build, unless matrix.cpp is cleaned up (some encoding problem, maybe?)