问题
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