Tue, 05/03/2016 - 11:27
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):
Unsupported
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?
Sun, 07/17/2016 - 18:54
I have the same problem with visual studio 2015 - have you solved it?
Thanks
Mon, 07/18/2016 - 10:21
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.
Mon, 03/27/2017 - 21:07
Hi Michael, can you please tell me how to build opencascade on visual studio 2015??
Tue, 03/28/2017 - 10:19
Load the external libraries, call 'genproj.bat' and start VS2015. Thats all.
Tue, 03/28/2017 - 10:50
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:
https://www.opencascade.com/content/3rd-party-components