Synergy

Issue Tracker (powered by SPIT)

Bug #422 - Release Build Settings Incorrect for OS X

Status:
Invalid
Priority:
Normal
Assignee:
None
Category:
None
Target:
None
Found:
None
Created by:
Created on:
22 Mar 2010
Updated by:
None
Updated on:
5 Aug 2010 21:52
Platform:
None
Google ID:
gc-413
Redmine ID:
452

  • Duplicates: Bug #414 - Synergy will not compile on Mac OS X due to extra compiler options

Google user: snes350

Under XCode on OS X, if you set the build settings to "Release" rather than
"Debug", the build fails. I have not tried any other methods of compiling
under OS X, and I can compile Debug just fine.

I believe the problem is the last line in CMakeLists.txt, the
SET(CMAKECXXFLAGS_RELEASE "/MD /O2 /Ob2") . When building in XCode, g++
complains that it cannot find /MD, /O2 and /Ob2. It seems to think that
they are directories.

This problem does not appear to affect compiling in Visual Studio in
Windows, though I got an error compiling the launcher which I am not sure
about when compiling the Release configuration.


#1

22 Mar 2010: Issue Importer wrote a comment.

Google user: filipetinypad

I believe the reason compiling fails is because "/MD /O2 /Ob2" are for the visual C++
compiler. I made a patch some time ago that fixed this issue for me.
"http://code.google.com/p/synergy-plus/issues/detail?id=405":http://code.google.com/p/synergy-plus/issues/detail?id=405

Also, it has to be compiled as 32bit on os x.


#2

26 Mar 2010: Issue Importer wrote a comment.

Google user: syed.a...@gilani.eu


26 Mar 2010: Issue Importer changed Status.

New Duplicate