Closed jercgreen6 closed 3 years ago
@jercgreen6 The makefile is not a cpp source file; it's not possible tocompile it using a C++ compiler.
Please see some good makefile tutorials to learn how to compile projects using makefiles: https://www.tutorialspoint.com/makefile/index.htm
Hello @siddharth-maddali,
Currently, I am trying to set up the C++ version of Hierarchical Smooth but have been unable to generate the static and dynamic libraries libhsmooth.a and libhsmooth.so.
The instructions state, that the the Makefile should be run in the command line. I tried doing this using Visual Studio's (2019) compiler using the Build Tools extension, which operates through the cmd. When I try and run the Makefile I get the following error:
To try and address this I added the .cpp file extension (Makefile.cpp) and tried running it. As a result I got the following error:
I have verified that Build Tools is functioning as expected with other programs. Additionally, I have placed the Eigen and libIGL source codes into the Cpp active directory. However, the errors suggest that the problem is interfacing with the Makefile itself.
What compiler do you recommend using with the Makefile? Do you have any other recommendations on running the Makefile?
Thanks!