opentoonz / opentoonz_docs

OpenToonz User Manual
http://opentoonz.readthedocs.io
28 stars 26 forks source link

Incompatible with preinstalled superlu-5.2.1_4 #185

Open yurivict opened 6 years ago

yurivict commented 6 years ago

I'm getting this error:

/usr/ports/graphics/opentoonz/work/opentoonz-1.2.1/toonz/sources/tnzext/tlin/tlin_superlu_wrap.cpp:317:3: error: no matching function for call to 'dgstrf'
  dgstrf(opt, &AC, sp_ienv(1), sp_ienv(2), etree, NULL, 0, F->perm_c, F->perm_r,
  ^~~~~~
/usr/local/include/slu_ddefs.h:150:16: note: candidate function not viable: requires 14 arguments, but 13 were provided
extern void    dgstrf (superlu_options_t*, SuperMatrix*, double, 
               ^

-DWITH_SYSTEM_SUPERLU=ON is set.

You need to make it compatible with superlu-5.2.1.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/60364064-incompatible-with-preinstalled-superlu-5-2-1_4?utm_campaign=plugin&utm_content=tracker%2F33713530&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F33713530&utm_medium=issues&utm_source=github).
yurivict commented 6 years ago

The same error occurs with -DWITH_SYSTEM_SUPERLU=OFF.

RodneyBaker commented 2 months ago

I"m not sure if this is still an ongoing issue as superlu hs been adjusted over the years with Opentoonz. Transferring this to the Opentoonz documenation repo where discussion can continue regarding best practices for coding and maintaining dependencies.