Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to compile this under windows? #28

Open
Necrowizard opened this issue Jul 14, 2015 · 2 comments
Open

How to compile this under windows? #28

Necrowizard opened this issue Jul 14, 2015 · 2 comments

Comments

@Necrowizard
Copy link

Hey there,

I've been trying to compile this under windows for the whole day already, and I don't have much of a clue of what's wrong.

This is what I've been doing so far:

I extracted both in to the same directory (they needed to be at the same level, right?)
but I keep getting errors like:

erlc: Error executing 'erl.exe': 2erlc -pa ./ebin -I ./include -o ./ebin src/mod_restful.erl
erlc: Error executing 'erl.exe': 2erlc -pa ./ebin -I ./include -o ./ebin src/mod_restful_admin.erl
erlc: Error executing 'erl.exe': 2erlc -pa ./ebin -I ./include -o ./ebin src/mod_restful_register.erl
erlc: Error executing 'erl.exe': 2erlc -pa ./ebin -I ./include -o ./ebin src/mod_restful_mochinum.erl
erlc: Error executing 'erl.exe': 2erlc -pa ./ebin -I ./include -o ./ebin src/mod_restful_mochijson2.erl

it does not say what's wrong... whether is my environment or the make file, or anything else.
Or Is there a precompiled .beam file that I can just download from some place?

@jadahl
Copy link
Owner

jadahl commented Jul 27, 2015

Sorry, I have never done any Erlang development on Windows so I have no idea what might be wrong. There are no precompiled .beam files though. Note that you need to have a ejabberd checkout in the parent direcotyr in a directory called "ejabberd".

@zxcfer
Copy link

zxcfer commented Sep 11, 2015

I have installed Ejabberd from official installers, and just used the erlc included, example:

E:\ejabberd-15.07\bin\erlc -I ./include -I E:/ejabberd-15.07/lib -DNO_EXT_LIB -o ./ebin src\mod_restful.erl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants