Alex, that is indeed the case. OpenCascade changed its API in 7.5 and the 
Chrono interface still uses their older API.  We'll make that clear on the 
Chrono documentation. You have to use OCC 7.4.0.

Radu

________________________________
From: [email protected] <[email protected]> on behalf 
of Alex Teti <[email protected]>
Sent: Friday, August 12, 2022, 2:15 AM
To: ProjectChrono <[email protected]>
Subject: [chrono] Re: Issues building OpenCASCADE

AHA! I realized that BRepAdaptor_HSurface.hxx  is actually located within 
OpenCASCADE's SDK, not inside ProjectChrono.

Is this a compatibility problem? I am using OpenCASCADE 7.6.0; the 
documentation for installation and use with Chrono said that versions less than 
7.4.0 are incompatible, but is it the case that newer versions of OpenCASCADE 
are incompatible too?

On Friday, August 12, 2022 at 3:03:14 AM UTC-4 Alex Teti wrote:
I've downloaded OpenCASCADE for Windows, and included it in the PATH. After 
that, I followed the install guide for CMAKE, turning it on and then supplying 
the directory of the  OpenCASCADEConfig.cmake file.

Everything seemed to go well until I went to build and got some errors. I 
attached a screenshot of the errors from Visual Studio.

It seems that BRepAdaptor_HSurface.hxx and ChronoEngine_cascade.lib are 
missing, for some reason.

I used PowerShell to quickly do a recursive search through the chrono SDK 
directory and confirmed that BRepAdaptor_HSurface.hxx is not present.

--
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/e4f4532c-cd32-47e0-bea8-e76738770796n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/e4f4532c-cd32-47e0-bea8-e76738770796n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/PH0PR06MB823777EBC2F6AE3264FC78FEA7679%40PH0PR06MB8237.namprd06.prod.outlook.com.

Reply via email to