cmm-21 / a2

Assignment 2 - Kinematic walking controller
5 stars 0 forks source link

Problem with test-a2 #40

Open lauratissari opened 3 years ago

lauratissari commented 3 years ago

Hi, I tried implementing exercise 4, but somehow I cannot get any results from the test. If I run the program there is no output shown on the terminal and I get following problem message:

'NOMINMAX': macro redefinition [C:\Users\laura\Documents\CMM\a2-lauratissari\build\src\test-a2\test-a2.vcxproj]

Do you have any idea what could have gone wrong?

Best, Laura

eastskykang commented 3 years ago

Could you add #undef NOMINMAX to

https://github.com/cmm-21/a2/blob/3bb980993a8b63490591e91c24af1fa325995115/src/test-a2/TestResult.h#L10-L13

so

#ifdef WIN32 
#define NOMINMAX
#include <windows.h>
#undef NOMINMAX
#endif

and try it again? Please let me know if this works. At the moment, I cannot test the code on Windows.