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

OSX 'make install' problem #218

Open
yanglin5689446 opened this issue Apr 15, 2017 · 2 comments
Open

OSX 'make install' problem #218

yanglin5689446 opened this issue Apr 15, 2017 · 2 comments

Comments

@yanglin5689446
Copy link

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

@Billy4195
Copy link

try only $ make
maybe it will work

@david50407
Copy link
Member

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.

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