Closed mli0603 closed 4 years ago
HI,
shared build of google test library tend to fail under windows environment. when shared_build is turn on, we use a local file igtlTestConfig.h.in for testing marcos. As for the commandmessage test, EXPECT_NE is not defined in the igtlTestConfig.h.in. you can see this issue for more details: https://github.com/openigtlink/OpenIGTLink/issues/122
The fix should work.
Using the command
will fail the build due to error
This indicates there is something imcompatible with the current gtest. I had to turn off the flag
BUILD_TESTING
to compile the project.I tried to turn off the flag
BUILD_SHARED_LIBS
, and the build proceeds without error. What is the issue exactly?