How to install OpenDDS 3.12 on windows system

时间秒杀一切 提交于 2019-12-11 18:29:40

问题


I recently try to install OpenDDS-3.12 on my windows7 OS.

But, it has make trouble.

When I try to type configure on VS command prompt, it can't detect Visual C++ version!

Error code is like this:

Colud not detect Visual C++ version, try running this script from
 the Visual Studio Command Prompt.
Stopped at configure line 410.

Somebody help me my problem.

(Active perl version is 5.24.1, VS version is 2017)


回答1:


I encountered the same issue while I had my visual studio correctly installed. I figured out that the configure script of openDDS is checking the output of the cl.exe command and expect a compiler version displayed in English!. Mine was displayed in french, so it didn't work. I had to install the English package to get the visual studio command prompt in English. it worked after that.




回答2:


You have to run configure from the Visual Studio command prompt. When it still gives the same error post the output of

cl /?




回答3:


VS2015 / VS2017 doesn't install c++ compiler by default.

  • Modify VS VS2015 / VS2017 and select c++ compiler and install if VS VS2015 / VS2017 already install.
  • configure

Note: OpenDDS-3.12 will not build on VS 2012



来源:https://stackoverflow.com/questions/47035888/how-to-install-opendds-3-12-on-windows-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!