looo wrote:recompiling freecad on win10 doesn't solve the issue either...
On win10 I cannot import MeshPart. I have no idea how to debug this.
In the gui I can switch to Mesh Design but both Mefisto and Netgen meshers are greyed out. Maybe something with one of the SMESH dependencies VTK?
I'll try again to get dependency walker working.
-- HDF5: Performing CXX Test OLD_HEADER_FILENAME - Failed
-- HDF5: Performing CXX Test H5_NO_NAMESPACE - Failed
-- HDF5: Performing CXX Test H5_NO_STD - Failed
-- HDF5: Performing CXX Test BOOL_NOTDEFINED - Failed
-- HDF5: Performing CXX Test NO_STATIC_CAST - Failed
-- HDF5: Checking for InitOnceExecuteOnce:
-- HDF5: Performing Test InitOnceExecuteOnce - Failed
-- HDF5: Performing Other Test INLINE_TEST_inline - Success
-- HDF5: Performing Other Test INLINE_TEST___inline__ - Failed
-- HDF5: Performing Other Test INLINE_TEST___inline - Success
-- HDF5: Checking for appropriate format for 64 bit long:
HDF5: Width test failed with result: FAILED_TO_RUN
-- HDF5: Checking for appropriate format for 64 bit long: not found
-- HDF5: checking IF converting from long double to integers is accurate... yes
-- HDF5: checking IF accurately converting from integers to long double... yes
-- HDF5: Checking IF accurately converting unsigned long to float values... no
-- HDF5: Checking IF accurately roundup converting floating-point to unsigned long long values... no
-- HDF5: Checking IF right maximum converting floating-point to unsigned long long values... no
-- HDF5: Checking IF correctly converting long double to unsigned int values... no
-- HDF5: Checking IF compiling unsigned long long to floating-point typecasts work... yes
-- HDF5: Checking IF compiling long long to floating-point typecasts work... yes
-- HDF5: Checking IF overflows normally converting floating-point to integer values... no
-- HDF5: Checking IF your system converts long double to (unsigned) long values with special algorithm... no
-- HDF5: Checking IF your system can convert (unsigned) long to long double values with special algorithm... no
-- HDF5: Checking IF correctly converting long double to (unsigned) long long values... no
-- HDF5: Checking IF correctly converting (unsigned) long long to long double values... no
-- HDF5: Checking IF your system generates wrong code for log2 routine... no
-- HDF5: Checking IF alignment restrictions are strictly enforced... no
I haven't looked into the HDF5 error yet, but I have narrowed down the MeshPart error to a problem with netgen. Trying to load NETGENPlugin.dll using ctypes.cdll.LoadLibrary from python.exe shows that it can't resolve the symbol:
The HDF5 problem seems to be only a problem with building...
Nice you have figured out what is causing the netgen issue. I really have no clue how to solve it. I even cannot find where this function is used.
If this symbol is unresolved, does it mean the function is used somewhere in freecad but not available anymore in netgen? Or again a missing DLL-export?
It seems to be, but I don't understand how. That function has DLL_HEADER in front of it so it should be exported, but it is not. However, it is exported when exporting the whole class instead of individual members. I'll make a PR tonight.
Gah! The problem was not the problem! Although it looked like it was installing the latest netgen package, it was actually using an older cached package that had the same name but the dll didn't contain the needed symbol. The dll in the latest netgen package does contain the symbol, so I deleted all netgen packages from Miniconda3\pkgs and reinstalled.
Now the question is, are you having the same problem or is it something else? Just for kicks, maybe you can try deleting any cached netgen packages?