[erlang-questions] Problem in NIF on windows

Sergej Jurecko <>
Thu Feb 27 19:24:04 CET 2014

Use rebar. Install git for windows, add erlang to PATH, compile rebar for windows, then compile your library with that rebar. If you are not using any external dependencies rebar will most likely be able to compile it without any windows specific configuration.


On Feb 27, 2014, at 6:10 PM, Zoha Qamar wrote:

> Hi , 
> I want to run NIf library on windows , for that i need to compile c code from this path as per the erlang documentation 
> windows> cl -LD -MD -Fe complex6_nif.dll complex.c complex6_nif.c
> where do i need to run this command ? In cmd i run this but its giviing error for cl -LD and all 
> -- 
> "*Agar Tum Seedhay rastay pe ho aur kisi Mushkil ka samna nahe ker rahay to
> kuch dair k liyay socho k kahin tum kuch ghalt to nahe ker rahay kyon k
> seedha rasta to mushkilaat se bhar pur hota hy*"  *Hazrat Imam Ali (A.S) *
> _______________________________________________
> erlang-questions mailing list
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140227/8ef4cc73/attachment.html>

More information about the erlang-questions mailing list