mad-lab-fau / BASH-Model

We developed a method animating a statistical 3D human model for biomechanical analysis to increase accessibility for non-experts, like patients, athletes, or designers.
Apache License 2.0
82 stars 9 forks source link

Prebuilt SCAPE x64 binaries? #9

Open dxydas opened 1 year ago

dxydas commented 1 year ago

Hi,

I came across your project which looks really interesting. Unfortunately, getting SCAPE to compile correctly is quite a challenge. Do you have any prebuilt binaries for x64 you are able to share?

Regards

MarliesNit commented 1 year ago

Hi, we do not provide any prebuilt binaries. But if you have questions/errors, you could post them here.

This is a known issue with newer compilers:

  1. Replace line 722 and 723 in SCAPE.h with the following code:
    char numeric_string_replacement_unique[] ="SCAPE_DGrad_numeric.bin";
    char symbolic_string_replacement_unique[] ="SCAPE_DGrad_symbolic.bin";
    umfpack_di_save_numeric(Numeric, numeric_string_replacement_unique);
    umfpack_di_save_symbolic(Symbolic, symbolic_string_replacement_unique);
  2. Replace line 735 and 736 in SCAPE.h with the following code:
    umfpack_di_save_symbolic(Symbolic, symbolic_string_replacement_unique);
    umfpack_di_save_numeric(Numeric, numeric_string_replacement_unique);