chewing / chewing-editor

Cross platform chewing user phrase editor
https://chewing.im/
GNU General Public License v2.0
30 stars 52 forks source link

OSX 'make install' problem #218

Open yanglin5689446 opened 7 years ago

yanglin5689446 commented 7 years ago

What is your environment?

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" ?

Billy4195 commented 7 years ago

try only $ make maybe it will work

david50407 commented 7 years ago

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.