문제

Hello Erlang requires -smp for using wxErlang. As I edit and compile with emacs, I modified the erlang.el file like this: (defvar inferior-erlang-machine-options '("-smp")

But this has no effect when I run the program: WX ERROR: SMP emulator required** exception error: not_smp

Do you see a syntax error or anything else ?

도움이 되었습니까?

해결책

The -smp option requires an argument (enable, disable or auto). If you always want to start an SMP-enabled emulator, add the following to your ~/.emacs file:

 (add-hook 'erlang-mode-hook
     (lambda ()
         (setq inferior-erlang-machine-options '("-smp" "enable"))))
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top