chewing/chewing-editor

OSX 'make install' problem

Opened this issue · 2 comments

What is your environment?

  • OS version
    mac sierra 10.12.4

After using cmake generate Makefile and install:

$ cmake .
$ make install

there are some errors:

-- Install configuration: ""
-- Installing: /usr/local/share/applications/chewing-editor.desktop
CMake Error at cmake_install.cmake:35 (file):
  file INSTALL cannot find "/path/to/chewing-editor/chewing-editor".

maybe the correct path of the built file should be "chewing-editor.app/Contents/MacOS/chewing-editor"
instead of "chewing-editor/chewing-editor" ?

try only $ make
maybe it will work

Hi, since macOS doesn't have install task functionally, you can just copy cheeing-editor.app into your "/Applications".

In macOS, applications is not need to be installed manually, so you can just open the .app to run.

Maybe we can show a tip when user runs the install task.