Hi,
I have been trying to run Scons.py and continuosly getting the VC version not installed. I have set path env variable for cl and c compilers.
$path has following environements paths added
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.30.30705\bin\Hostx64\x86\cl.exe
XXX\Installed\CodeBlocks\MinGW\bin
Script execution trace is as follows…
scons: running with args XXX\Softwares\Installed\Python\python.exe XXX\MongoD upgrade\mongo-r4.4.11\mongo-r4.4.11\buildscripts\scons.py install-mongod --disable-warnings-as-errors MONGO_VERSION=4.4.11
scons version: 3.1.2
python version: 3 10 2 'final' 0
scons: warning: VC version 14.2 not installed. C/C++ compilers are most likely not set correctly.
Installed versions are: []
File "XXX\UTILITY\IPS\JIRA-TICKETS\MongoD upgrade\mongo-r4.4.11\mongo-r4.4.11\SConstruct", line 1150, in <module>
scons: warning: VC version 14.2 not installed. C/C++ compilers are most likely not set correctly.
Installed versions are: []
File "XXX\UTILITY\IPS\JIRA-TICKETS\MongoD upgrade\mongo-r4.4.11\mongo-r4.4.11\SConstruct", line 1150, in <module>
scons: warning: VC version 14.2 not installed. C/C++ compilers are most likely not set correctly.
Installed versions are: []
File "C:\Products\WMS\Code\UTILITY\IPS\JIRA-TICKETS\WMSNG-8260 MongoD upgrade\mongo-r4.4.11\mongo-r4.4.11\SConstruct", line 1150, in <module>
CC is cl
cl was not found in $PATH
cl resolves to XXX\UTILITY\IPS\JIRA-TICKETS\MongoD upgrade\mongo-r4.4.11\mongo-r4.4.11\cl
CXX is $CC
$CC was not found in $PATH
$CC resolves to XXX\UTILITY\IPS\JIRA-TICKETS\MongoD upgrade\mongo-r4.4.11\mongo-r4.4.11\$CC
Checking whether the C compiler works... no
C compiler cl doesn't work
See XXX\UTILITY\IPS\JIRA-TICKETS\ MongoD upgrade\mongo-r4.4.11\mongo-r4.4.11\build\scons\config.log for details
Please let me know,what am i making mistake here and wht required to be done here…?