Can Synergy be cross-compiled on an ARM platform?

1

I am trying to compile a Synergy client so I can use it in a WindRiver Linux environment. I've tried compiling and I keep getting this error:

CMake Error at CMakeLists.txt:195 (message): Missing header: X11/XKBlib.h

However I don't even know if it's even possible to cross-compile Synergy on an ARM platform.

WRLuser

Posted 2012-07-30T19:26:53.703

Reputation: 11

I compiled Synergy on a Wandboard Quadcore running Ubuntu 12.04. Synergy works like a charm between a Windows computer and the Ubuntu machine, either as a server or as a client. All useful information can be found at http://www.rootusers.com/compiling-synergy-from-source-on-the-raspberry-pi/.

– None – 2014-11-10T13:01:04.937

Answers

1

Synergy builds fine on the PI platform with a couple of fixes. For that error you will need to install the libx11-dev package and while installing packages you might as well install libxtst-dev & cmake packages.

Then in an editor open the CMakeLists.txt file and search for X11, you should end up finding the following line: set(CMAKE_INCLUDE_PATH "${CMAKE_INCLUDE_PATH}:/usr/local/include") you will need to change this line to be the following: set(CMAKE_INCLUDE_PATH "${CMAKE_INCLUDE_PATH}:/usr/include").

Now if you run ./configure it should work fine. if you still get the same error you will need to move, copy, delete the cache file CMakeCache.txt.

From there you should be good to go. This was all info i found from this post http://www.rootusers.com/compiling-synergy-from-source-on-the-raspberry-pi/

KiteOregon - GoldLeader

Posted 2012-07-30T19:26:53.703

Reputation: 11

0

Synergy should work on ARM (It's in the Raspberry Pi repos.)

It looks like you need the xorg dev header files.

I'm not sure about Wind River Linux but on debian based distros the package name is libx11-dev. Since it's just a header file at worst case you could just grab it from source, drop it somewhere your compiler will pick it up and it should work (although changes are you will probably need a few more).

David C. Bishop

Posted 2012-07-30T19:26:53.703

Reputation: 1 184