Tue, 02/11/2020 - 23:09
Forums:
Hallo everyone,
Im involved to build from sources CadRay.
I've found some issue using OCCT rev 7.4.0 regarding some changes on material library.
Revision 7.3 does not work for missing library:
CMake Error at CMake/macros.cmake:105 (message):
OCCT TKRWMesh library not found
Please can someone help me to know the correct commit to use for building?
Thank you in advance
Alessandro
Wed, 02/12/2020 - 11:47
> I've found some issue using OCCT rev 7.4.0 regarding some changes on material library.
> Revision 7.3 does not work for missing library:
The description is confusing - you are trying to build CADRays with OCCT 7.4.0 (which should work) or OCCT 7.3.0 (which should not)?
Tue, 02/18/2020 - 22:18
I'm sorry for the misunderstanding,
I tried to build with occ rev 7,3 and 7,4.
Unfortunately i got some error in both cases.
But finally i'm managed to to build cadray using occt rev 7.4.0.
I had to comment following lines in AisMesh.cxx
lines 237 to 240
I understood that these methods were deleted in rev 7.4.
thank you for the support
Alessandro
Wed, 02/19/2020 - 11:13
You are right!
> CAD Rays: 27 Jun 2019.
> OCCT 7.4.0: 1 October 2019.
I haven't realized that CAD Rays has been published before OCCT 7.4.0 release.
So, indeed, it relies on OCCT version inbetween, though fixing building issues with OCCT 7.4.0 is straightforward.
Tue, 11/24/2020 - 11:53
occ7.4 and 7.5,the method Graphic3d_MaterialAspect::SetAmbient is deleted, how can i to replace it?
Tue, 11/24/2020 - 11:57
Check OCCT Upgrage Guide.
Tue, 11/24/2020 - 11:48
I have the same problem,do you solve?