triangle icon indicating copy to clipboard operation
triangle copied to clipboard

compilation issue

Open pythonmobile opened this issue 3 years ago • 4 comments

The makefile has triangle.c but the code has triangle.cpp? Am I missing something?

pythonmobile avatar Feb 28 '22 22:02 pythonmobile

ah, that's the original makefile from the mirror. Maybe it should just be deleted. This repo is setup to use cmake. It's mostly intended as part of the automated build for libigl.

you should be able to build it with

mkdir build
cd build
cmake ..
make

alecjacobson avatar Feb 28 '22 23:02 alecjacobson

@alecjacobson Thanks. Please do delete the makefile. Any chance, do you know if I can intersect a segment with a polygon using libigl? If yes, what code should I be looking at?

pythonmobile avatar Mar 01 '22 03:03 pythonmobile

I was caught in the same trap. It would be appreciated if you could clean up the repository.

An update to the README file to document the new build process would also be welcome.

Thank you!

LukasvdWiel avatar Jul 31 '24 12:07 LukasvdWiel