Link Errors when building "Hello-World" example

1 post / 0 new
Offline
Joined: 12/11/2018
Posts: 4
Link Errors when building "Hello-World" example

When I built in MS Visual Studio 2017 the "hello-world" example, I got the LNK2038 error: 

"Error LNK2038 mismatch detected for '_MSC_VER': value '1600' doesn't match value '1900' in HelloWorld_publisher.obj HelloWorld_publisher"   C:\Users\Garry\Documents\rti_workspace\5.3.1\examples\connext_dds\c++\hello_world\win32\nddscppz.lib(DomainParticipantFactory.obj) 

Should I rebuild the library? Anybody can please tell me how I can do that? Thank you.