Search found 3693 matches

by looo
Thu Oct 14, 2021 11:18 am
Forum: Install / Compile
Topic: App.Version() returns string with invalid character (Conda build?)
Replies: 4
Views: 574

Re: App.Version() returns string with invalid character (Conda build?)

I think this is related to the way how conda-build works with git. It's on the list to download the source directly. Currently git is needed to retrive the commit number. Maybe in the future we find an automated way to create sources with git information added. Btw. what is the expected output of th...
by looo
Sun Oct 10, 2021 12:09 pm
Forum: Developers corner
Topic: Dependencies for the 0.19.3 bugfix release
Replies: 6
Views: 872

Re: Dependencies for the 0.19.3 bugfix release

This is are the current dependency versions for 0.20. I guess we can also use this for the 0.19 builds as the smesh problem is finally fixed for osx. OS: macOS High Sierra (10.13) Word size of FreeCAD: 64-bit Version: 0.20.25991 (Git) Build type: Release Branch: master Hash: afb555f1d52a43e1770cfff7...
by looo
Thu Oct 07, 2021 11:30 am
Forum: Install / Compile
Topic: pybind11 2.8 pyarea-issue
Replies: 0
Views: 503

pybind11 2.8 pyarea-issue

Just posting this here as currently the windows-conda-build is failing with pybind11 2.8. [2452/3895] Building CXX object src\Mod\Path\libarea\CMakeFiles\area.dir\pyarea.cpp.obj FAILED: src/Mod/Path/libarea/CMakeFiles/area.dir/pyarea.cpp.obj C:\PROGRA~2\MICROS~1\2017\ENTERP~1\VC\Tools\MSVC\1416~1.27...
by looo
Thu Oct 07, 2021 7:01 am
Forum: Packaging
Topic: [Finally DONE] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration
Replies: 62
Views: 11783

Re: [C++ EXPERT NEEDED!!!!] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

There is now a package for smesh 9.7 available. Compiling FreeCAD against this package fixes the smesh-crash for freecad. The bundles will be updated to smesh 9.7 next sunday.

Big thanks to @tom and @wmayer for solving this issue.
by looo
Wed Oct 06, 2021 11:16 am
Forum: Packaging
Topic: [Finally DONE] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration
Replies: 62
Views: 11783

Re: [C++ EXPERT NEEDED!!!!] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Here is another solution that uses two different std::vector for SMDS_MeshNode and SMDS_MeshCell. thanks @wmayer, now the test works on the mac. I will update the freecad-bundles to the new smesh versions (9.7.0) in the next days (hopefully the interface hasn't changed) then we will see if the prob...
by looo
Tue Oct 05, 2021 2:06 pm
Forum: Packaging
Topic: [Finally DONE] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration
Replies: 62
Views: 11783

Re: [C++ EXPERT NEEDED!!!!] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

wmayer wrote: Tue Oct 05, 2021 1:28 pm In a second test when I replace SMDS_MeshElement* with std::vector<SMDS_MeshElement*> and make the required further changes then the destructor of SMDS_MeshCell will be called.
can you send me the diff so I can try on the mac if it prevents the crash?
by looo
Tue Oct 05, 2021 10:40 am
Forum: Packaging
Topic: [Finally DONE] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration
Replies: 62
Views: 11783

Re: [C++ EXPERT NEEDED!!!!] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

So myElements is an array of SMDS_MeshElement. SMDS_MeshElement* myElements; // array of elements Calling delete on this array will call the destructor of SMDS_MeshElement which is a default destructor. delete [] myElements; But the destructor of the derived class should be called. So we have to add...
by looo
Mon Oct 04, 2021 6:54 pm
Forum: Packaging
Topic: [Finally DONE] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration
Replies: 62
Views: 11783

Re: [C++ EXPERT NEEDED!!!!] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

not sure if I have done this right: lldb test_StdMeshers (lldb) target create "test_StdMeshers" Current executable set to 'test_StdMeshers' (x86_64). (lldb) run Process 12619 launched: '/Users/lo/miniconda3/conda-bld/debug_1633249932673/work/SMESH/test/tests/test_StdMeshers' (x86_64) ~SMDS...
by looo
Mon Oct 04, 2021 3:31 pm
Forum: Packaging
Topic: [Finally DONE] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration
Replies: 62
Views: 11783

Re: [C++ EXPERT NEEDED!!!!] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

No idea what else could be the problem. I have built the latest version including the tests with the option "-fsanitize=address" (that performs some extra memory checks) and for me all tests have passed. Isn't it possible that "myElements" is deleted twice. At least removing thi...