Project-10 / DGM

Direct Graphical Models (DGM) C++ library, a cross-platform Conditional Random Fields library, which is optimized for parallel computing and includes modules for feature extraction, classification and visualization.
http://research.project-10.de/dgm/
Other
188 stars 41 forks source link

Error in make: ‘isnan’ was not declared in this scope #18

Closed aliyasineser closed 5 years ago

aliyasineser commented 5 years ago

This error comes in various parts in make. Is there a spesific flag to show isnan is an std function?

aliyasineser commented 5 years ago

To solve issue I added a define: #define isnan std::isnan It can solve the problem. There are some source files that both uses isnan and std::isnan. To solve it, I added define and remove std::isnan and added only isnan. So define part won't make it std::std::isnan.

aliyasineser commented 5 years ago

Problem solved, no issues happening while installing the library.

burakfatihd commented 4 years ago

define isnan std::isnan

Thank you.

Solve my problem