Fri, 06/02/2023 - 16:24
Hi,
I'm trying to build OCCT with Build_Inspector checked in order to be able to use it.
I generated OCCT with CMake with QT 4.8.6 (the required one in the 3rd party components). Once I open the project and I try to build it, I receive several LINK errors, mostly on TKDFBrowser:
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol "__declspec(dllimport) void __cdecl qt_assert_x(char const *,char const *,char const *,int)" (__imp_?qt_assert_x@@YAXPEBD00H@Z) TKDFBrowser C:\OCCT\OCCT_Project\tools\TKDFBrowser\DFBrowserPane_AttributePane.obj 1
I saw that CMake auto adds a new field called Ungrouped Entries where Qt5 appears as not found. Could be an issue if I don't have that version installed?
Best regards.
Mon, 06/05/2023 - 10:22
Hello,
In theory, the Inspector should build with Qt4. But right now it's mostly used with Qt5. I'll create a ticket to analyze this problem.
But the most reliable option is to use Qt 5.11.2 or similar.
Best regards, Dmtrii.
Thu, 06/08/2023 - 09:01
Hello Dimitri,
I downloaded the already compiled OCCT from https://dev.opencascade.org/release, I took the QT version that comes with it (5.11.2 vc14-64) and I was able to build and install the OCCT source code (using cmake gui).
If I execute the inspector.bat I get the error attached to the first image that I attached.
In the other hand, If I execute the TInspectorEXE.exe located at win64>vc14>bind a few system errors appears related to dlls not found. Those dll are:
Qt5Cored
Qt5Widgetsd
Qt5Guid
Best Regards, Lorenzo
Thu, 06/08/2023 - 13:21
You are trying a Debug build -
inspector.bat
might require parameters for this likeinspector.bat vc14 win64 Debug
or similar. Or you may try Release build.Thu, 06/08/2023 - 14:25
I'm interested on doing a debug build as my idea is to debug some plugins from the inspector in order to know how them works.
Adding parameters to inespector.bat prompts the same error message described before.
Regards.