Building OCC 7.4.0 with VS 2019

Jerome Monaco's picture

Hi gentlemen, I tried to build OCC 7.4.0 with VS2019 16.6.0 (vc142 toolkit), with Windows 10. Unfortunately for some projects like TKTopAlgo the built never ends...
After some searches it seems there is a bug in VS2019.
The only solution I found is to disable optimization (replace /O2, /O1, Ox by Od)

I would like to know if you are aware of this problem and maybe have a better solution ?

Thanks.
Best regards.
Jerome.

kgv's picture

VS2019 users already posted

VS2019 users already posted building issues:
https://www.opencascade.com/content/visual-studio-2019-version-1644-hang...

But so far, nobody reported issue to Visual Studio developers in acceptable way. So it would be great to submit a report and pay attention of compiler developers.

www.opencascade.com

Copyright 2011-2019
OPEN CASCADE SAS
Contact us