'CGAL Polygonal_surface_reconstruction_Examples do not compile

I am new to CGAL and C++ and I am running into compile errors when setting up the CGAL Polygonal_surface_reconstruction_Examples as described in the manual.

I have installed glpk-4.65 (https://sourceforge.net/projects/winglpk/) and then had to manually point CMake to the directory. CMake made the VisualStudio2022 SLN file but when I try compiling I am getting the error below. I assume that there is something not set up correctly with GLPK but I am not sure how to resolve this.

Severity    Code    Description Project File    Line    Suppression State
Error   LNK2019 unresolved external symbol glp_create_prob referenced in function "public: virtual bool __cdecl CGAL::GLPK_mixed_integer_program_traits<double>::solve(void)" (?solve@?$GLPK_mixed_integer_program_traits@N@CGAL@@UEAA_NXZ) polyfit_example_user_provided_planes    C:\dev\CGAL-5.4-examples\CGAL-5.4\examples\Polygonal_surface_reconstruction\sln\polyfit_example_user_provided_planes.obj    1   


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source