Closed ChaseOne1 closed 1 year ago
All I can say as a person who has faced this problem, it appeared with the commit of adding GTA 2 (https://github.com/DK22Pac/plugin-sdk/commit/242a3e31ea737b6ab2bf08c3564583954f25ccaf#diff-6a34d7cdf6920cde3fa5b076c316c52c0d22ba67d20fd34e9c3876d4625f0c98) and another person has already faced this problem (https://github.com/DK22Pac/plugin-sdk/issues/153)
When I try to build the plugin_sa solution, VS2019 warns me that the identifier M_PI cannot be found in shared\Other.h (error C3861); After trying, I added "_USE_MATH_DEFINES" to the C/C++ precompiler of the project in VS, and then the build was successful.