I wanna use Synergy on my MAC and Windows. download synergy.zip file from https://github.com/synergy/synergy
and then I try to compile to Xcode Project
But I get the following error message
bash-3.2# ./hm.sh conf -g2
Mapping command: conf -> configure
Error: Arg missing: --mac-identity
I don't know why I cannot compile Synergy.
Questions.
I just ran into that problem, and the solutions here helped me on my quest. I'm still running Yosemite but El Capitan is out.
The consequence of that is that SDK has a different path, since it now is able to compile for El Capitan.
sh ./hm.sh config -g2 --mac-sdk 10.11 --mac-identity Yosemite # My answer
Anytime a new OS is out, it would be logical to run
xcrun --show-sdk-path
to update the argument.
As for the answer to "what is mac-identity", it's a parameter to the compile script located at ext/toolchain/commands1.py, which uses it to codesign:
err = os.system('codesign --deep -fs "' + self.macIdentity + '" Synergy.app')
somewhere along line 830.
BoldAsLove is correct that these lines must be commented out (or deleted)
# if (NOT (OSX_TARGET_MAJOR EQUAL 10))
# message(FATAL_ERROR "Mac OS X target must be 10.x")
# endif ()
Also, qmake was stored in
/opt/local/libexec/qt5-mac/bin/qmake
but this is probably a macports quirk.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With