angeloskath / supervised-lda

A flexible variational inference LDA library.
MIT License
22 stars 5 forks source link

Issue compiling on Linux #22

Closed EvanDufraisse closed 2 years ago

EvanDufraisse commented 2 years ago

Hello,

First I'd like to thank you for sharing this code to the community !

I'm having troubles during compiling on linux, I tried an earlier version of the project but it raises the same error.

The error seems related to the class FunctionEventListener, its first public attribute in ./include/ldaplusplus/events/Events.hpp l-58 image

However I'm not sufficiently at ease with cpp to solve it.

I wonder if you have any clue on how to solve this.

Thanks a lot,

Evan

EvanDufraisse commented 2 years ago

Adding '#include \<functional>' to ./include/ldaplusplus/events/Events.hpp solves the issue. Sorry for the inconvenience. And thanks again