tsloughter / erlastic_search

An Erlang app for communicating with Elastic Search's rest interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot compile after adding into deps list

laxmanpottimuthi opened this issue · comments

Beginner question, After adding repo into deps list and compiling it throws this error

src/erls_json.erl:19: undefined macro 'ERLASTIC_SEARCH_JSON_MODULE'
src/erls_json.erl:30: undefined macro 'ERLASTIC_SEARCH_JSON_MODULE'
src/erls_json.erl:3: function decode/1 undefined
src/erls_json.erl:3: function encode/1 undefined
src/erls_json.erl:17: spec for undefined function encode/1
src/erls_json.erl:28: spec for undefined function decode/1

I was using erlang.mk from ninenines. There is problem with that where they do not allow type [{d, D, Val}].
Thanks.