screencloud icon indicating copy to clipboard operation
screencloud copied to clipboard

OSX Compilation Doc

Open aarnrvera opened this issue 10 years ago • 6 comments

Is this a priority? Would love to build this on OSX.

aarnrvera avatar Aug 17 '14 06:08 aarnrvera

I'll try to do a writeup when I compile the Qt 5 version on OS X :)

olav-st avatar Dec 17 '15 12:12 olav-st

Here's a quick writeup: https://github.com/olav-st/screencloud/wiki/Compiling-on-Mac-OS-X Please let me know if you run into problems.

olav-st avatar Jan 13 '16 22:01 olav-st

Hey @olav-st. Thank you very much for your writeup. Unfortunately, I ran into some problems. The very last bit of it, the make command to build screencloud itself: http://screencloud.net/v/8PVx

I set the -std compiler flag to c++11 in case it was a problem of language standard. The errors changed, but they still occur. Apparently all the other steps worked, do you have any ideia if I need to set a specific flag, change compiler, versions, etc that could be causing this?

nmoya avatar Mar 30 '16 10:03 nmoya

Some quick googling suggests that the errors you're getting is related to the pyport.h patch. There seems to be a workaround available: https://trac.macports.org/ticket/44288. Let me know if it works and I'll add it to the wiki :smile:

olav-st avatar Mar 30 '16 10:03 olav-st

That worked. I have two "pyport.h" in my computer:

  1. /System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyport.h
  2. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyport.h

I had patched only number 2 before writting the issue, I repeated the processed described in your writeup for the pyport at location 1 and it worked. Thanks a lot man!

nmoya avatar Mar 30 '16 11:03 nmoya

This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed after 30 days.

github-actions[bot] avatar May 10 '24 02:05 github-actions[bot]

This issue was closed because of inactivity. If this issue is still relevant, please re-open a new issue.

github-actions[bot] avatar Jun 18 '24 02:06 github-actions[bot]