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

OCC 7.0.0: cannot load project files for VS2013 or VS2015

Michael Ruth's picture

When trying to use Visual Studio 2013 or 2015, I can load the solution files (*.sln), but it fails to load any of the (pregenerated) project files (*.vcxproj):
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- TKernel, "C:\OpenCASCADE7.0.0_Src\adm\msvc\vc14\TKernel.vcxproj"
- DRAWEXE, "C:\OpenCASCADE7.0.0_Src\adm\msvc\vc14\DRAWEXE.vcxproj"

I don't quite understand what the problem is. I used the genconf tool to create a custom.bat file and ran it, followed by running msvc.bat. Is there anything else I need to do?

Shai Balassiano's picture

I have the same problem with visual studio 2015 - have you solved it?


Michael Ruth's picture

Yes, I've been able to solve it. Actually, it didn't have anything to do with OpenCascade.
The problem was that I had several environment variables set to use Visual Studio 2012: VCHOME, VCINSTALLDIR, VCARCH, VCVER, and VCVARS.
After deleting them (and rebooting), I was able to build the OCC libraries using VS2013 and VS2015.

Rahman Abber Tahir's picture

Hi Michael, can you please tell me how to build opencascade on visual studio 2015??

UweM's picture

Load the external libraries, call 'genproj.bat' and start VS2015. Thats all.


Michael Ruth's picture

Yep, as UweM already said:

After removing the environment variables, I just followed the procedure outlined in the Help file located in the Developer Guides - Building OCCT from sources.

The required 3rd party libraries can be downloaded here: