VC++ compile error

Dear,

I am trying to build open cascade (downloaded source 25/20/2001) using Visual C++ on Win2k. I got the following error:

GProp_PrincipalProps.cxx g:\opencascade-dev\drv\gprop\gprop_principalprops.jxx(0) : fatal error C1073: Internal error involving incremental compilation(compiler file '.\p0io.c', line 337) GProp_PEquation.cxx g:\opencascade-dev\drv\gprop\gprop_pequation.jxx(0) : fatal error C1073: Internal error involving incremental compilation(compiler file '.\p0io.c', line 337) Error executing cl.exe.

How can I solve this problem?

Thanks in advance,

Filip Schutyser

r-fortes's picture

Hello. I'm not sure but try disabling incremental compilation or call clean in the build menu. You can also try building one project at the time.

Ajay Gupte's picture

The error appear to come up even when the enable incremental compile isn't turned on and hence Microsoft advice (to turn it off) is pretty useless.

Also for me, this error came up in the debug compile and not the release compile.

I could only get the problem resolved by turning off the "Enable minimal rebuild" in Project->Settings->C/C++->customize.

Hope this helps.
--Ajay