For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Error while running msvc.bat file

Shamsher's picture

Hi friends
After making required changes in custom.bat & env.bat file when I try to run msvc.bat file it gives the following error

could not find MS visual studio
check relevant environment variable

need your help

Thanks in advancce

shmsh's picture

Hi dear ,
in your custom.bat file do set these variables according to your setup:
.........................................................
@echo off

set VCVER=vc9
set ARCH=64
set "VCVARS=%VS90COMNTOOLS%..\..\VC\vcvarsall.bat"
set "PRODUCTS_PATH=E:\Program Files (x86)\3rd party"

rem Optional 3rd-parties switches
.........................................................

lemme know ....

shmsh's picture

dear .....
as the error depicts
......................
could not find MS visual studio
check relevant environment variable
......................
change this
set "VCVARS=%VS80COMNTOOLS%..\..\VC\vcvarsall.bat"
to this
set "VCVARS=%VS100COMNTOOLS%..\..\VC\vcvarsall.bat"

in the custom.bat file

best of luck ,

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.