Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちはErlangはwxErlangを使用するために-smpを必要とします。emacsで編集およびコンパイルするときに、erlang.elファイルを次のように変更しました:(defvar lower-erlang-machine-options'( "-smp")
しかし、これはプログラムを実行しても効果がありません:WXエラー:SMPエミュレーターが必要です**例外エラー:not_smp
構文エラーなどがありますか?
この-smpオプションには引数(、、enableまたはdisable)が必要autoです。SMP対応のエミュレーターを常に起動する場合は、~/.emacsファイルに以下を追加します。
-smp
enable
disable
auto
~/.emacs
(add-hook 'erlang-mode-hook (lambda () (setq inferior-erlang-machine-options '("-smp" "enable"))))