Skip to content

'limits' issue compiling on OSX #20

@AdolfVonKleist

Description

@AdolfVonKleist

KenLM is sweet.

In order to compile it on OSX (10.8.3) I had to modify the 'limits' include in:

https://github.com/kpu/kenlm/blob/master/util/file.cc

I added one more include to the very top of this file:

#include <limits.h>

and everything suddenly compiled like magic. The '.h' was the secret sauce.

Brew is pretty nice for the boost stuff too. I was dreading this aspect, but:

$ brew install boost

just worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions