Closed yoann-dufresne closed 5 years ago
https://github.com/ruanjue/smartdenovo/blob/5cc1356bffb87197b0fb9b835cfe1adc5a764dc6/wtlay.h#L516
Have a try to remove the word inline
. Or try to add static
ahead.
It works with this modification.
But I don't understand why this code doesn't work with the inline keyword...
I have no idea, maybe compilers diffs.
I just found that: https://stackoverflow.com/questions/19068705/undefined-reference-when-calling-inline-function
Do you have a significant time improvement with this inlined function ?
Maybe you should consider to change the inline to static for all users ?
Thanks for the solution Yo
Thanks Yo,
I used static inline
, but user reported floods of compile errors. Then I changed to inline
.
Best, Jue
I tried, and I did add static!
Hi,
I just tried to download and compile smartdenovo using your command lines:
but the compilation endend on:
Do you have any idea of what could resolve this issue ?
(I am running on an ubuntu 18.04 up to date)
Yo