OCCT 7.7.0 beta version is available

Forums: 

Hello,

We are pleased to inform you that the new release of OCCT, 7.7.0, is ready for beta testing, and invite you to test this beta version in your applications.

Use the commit tagged "V7_7_0_beta" in the Git repository for this testing. Alternatively, you can use the complete source archive or Windows installer including ready-to-use binaries built with VS 2017.

If you have reported some issues in the bug tracker, please check those with Verified status - we assume they are fixed and will appreciate seeing your comments in the notes of the issue. If you detect a regression, please report it as soon as possible.
For details on the content of the 7.7.0 release, see draft Release Notes.

Refer to Upgrade Guide for a list of changes that may need to be accounted for when porting existing applications to the new release. Please report in the case if some change that needs to be accounted for in porting remained not described in this document.

The final release of 7.7.0 is expected to happen in the last days of October.

Your feedback is appreciated!

QbProg's picture

I get a linker error when building from source for VS2022 x64:
2>XCAFDoc_Editor.obj : error LNK2019: riferimento al simbolo esterno "public: class opencascade::handle<class XCAFNoteObjects_NoteObject> __cdecl XCAFDoc_Note::GetObject(void)const " (?GetObject@XCAFDoc_Note@@QEBA?AV?$handle@VXCAFNoteObjects_NoteObject@@@opencascade@@XZ) non risolto nella funzione "public: static bool __cdecl XCAFDoc_Editor::RescaleGeometry(class TDF_Label const &,double,bool)" (?RescaleGeometry@XCAFDoc_Editor@@SA_NAEBVTDF_Label@@N_N@Z)

Stanislav Moskvin's picture

Could you please provide me with addition information

  • Used C++ standard
  • Used mode - Release / Debug
  • From what were 3rdparty used
Forum supervisor's picture

Dear QbProg,
To be able to reproduce your case we need the requested additional information from your side.
We would be pleased to get it. It will help us fixing the specified issue.
Thanks

QbProg's picture

Dears,
I have investigated a bit. It doesn't depend on third parties, but on BUILD_WITH_PCH=ON .
Use standard generator, Visual studio 2022, x64, any configuration,
-DBUILD_WITH_FREETYPE=OFF -DBUILD_WITH_PCH=ON -DBUILD_Module_Draw=OFF

without PCH it works good!

Forum supervisor's picture

Thank you.
The next issue is registered in OCCT BugTracker =>
0033153: Configuration: Linker error when building from source for VS2022 x64

Dmitry Dzama's picture

Dear QbProg, we try to fix this issue, but till this moment - unsuccessfully. Is enabling of BUILD_WITH_PCH cmake option needed for OCCT entirely?

One of possible solution - just get rid of this option at all - because by my collegues opinion using of PCH particulary for OCCT is useless.

QbProg's picture

Dear Dmitry,
I have no strong opinion on this, I only see that build times with PCH are lower than without PCH. Being a user and not a developer of OCC, it doesn't really matter to me :)
Also in recent versions PCH is less useful than a few years ago (I remember introducing pch in OCE with huge gains) but now the build times are more reasonable probably because hardware got much better.

One thing you may want to try later on is to use native cmake pch support instead of cotire (which I guess it's the source of the problem). This was introduced in cmake last year IIRC. I never used it (nor cotire) so I cannot give you any hint about this issue!

Bernd Waibel's picture

is USE_EIGEN still being used actually? On none of my test builds where USE_EIGEN=ON was passed, -DHAVE_EIGEN appeared on the compiler command line. Grepping CMakeCache.txt for eigen only reveals the Eigen3_INCLUDE_DIR with it's ADVANCED internal variable, but no USE_EIGEN, even when passed, or any other related variables. The adm/cmake/vardescr.cmake only contains the INSTALL_MESSAGE for the INSTALL_EIGEN option, but no longer an USE_EIGEN_DESCR variable. No file seems to #include any Eigen related header file.

Edit: I can build the package with USE_EIGEN=ON while the eigen library isn't installed.

gkv311 n's picture

Bernd Waibel wrote:

is USE_EIGEN still being used actually?

It looks like this dependency has been introduced to OCCT as a provision for further usage of library in some algorithms, but they haven't been actually implemented (or not ended up in public OCCT). So that indeed, there is no code in OCCT using Eigen library, and activation of this flag in CMake has no effect.

Bernd Waibel's picture

Thanks!

gpsunjp sun's picture

Hello,

When can OCCT 7.7.0 be downloaded?
Thanks,

Vera Sdobnova's picture

Hello,

You can download OCCT 7.7.0 via the link.

gpsunjp sun's picture

Thank you very much