[X2go-dev] Compiling x2go Windows client
--[ UxBoD ]--
uxbod at splatnix.net
Fri Nov 12 10:59:40 CET 2010
----- Original Message -----
> ----- Original Message -----
> > ----- Original Message -----
> > > ----- Original Message -----
> > > > On Wed, 2010-11-10 at 10:02 +0000, --[ UxBoD ]-- wrote:
> > > > <snip>
> > > > > I am now compiling the x2goclient as a release version but
> > > > > look
> > > > > at
> > > > > the difference in size to the one that is distributed:
> > > > >
> > > > > C:\Program Files\x2goclient>dir x2goclient.exe
> > > > > 26/11/2009 10:11 4,915,200 x2goclient.exe
> > > > >
> > > > > C:\Program Files\x2goclient>dir
> > > > > c:\x2goclient-3.01\release\x2goclient.exe
> > > > > 10/11/2010 09:32 1,699,840 x2goclient.exe
> > > > >
> > > > > The one I have compiled is half the size! Where is the
> > > > > x2goclient.pro.windows file that is mentioned in
> > > > > README.WINDOWS
> > > > > as
> > > > > I
> > > > > cannot find it ??
> > > >
> > > > I do not know the answer but I do remember there was a lengthy
> > > > discussion on the list about this that can probably be dug out
> > > > of
> > > > the
> > > > archives - John
> > >
> > > I believe it is a red herring. From a prior conversation it would
> > > appear the preferred development environment is Linux; even for
> > > the
> > > Windows package. A prior post has asked for help on what needs to
> > > be
> > > done to create that environment. Interestingly I have downloaded
> > > every
> > > release from version 3.01-4 and none of them work when I compile
> > > under
> > > Windows. I am wondering now what version of QT the devs are
> > > compiling
> > > against as I am using the latest SDK from Trolltech.
> >
> > For reference have given up on trying to get X2goclient working
> > under
> > Windows when compiling from source. Using the Trolltech SDK with the
> > included MinGW the client compiles cleanly but once you run it,
> > enter
> > your username and password, it then crashes and asks to be debugged.
> >
> > One step forward though is that I know what changes need to be made
> > to
> > use VCXSRV so will now try and build a Linux x-compilation
> > environment.
> >
> > I am open to offers of help with this :)
>
> I believe I have setup my Linux cross-compiler environment okay but
> when I tried and build x2goclient I receive the following error:
>
> make[1]: Entering directory `/home/uxbod/compile/x2goclient-3.01'
> /home/uxbod/compile/mingw/bin/i586-mingw32-g++ -mthreads
> -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runtime-pseudo-reloc -mwindows -Wl,-s
> -Wl,-subsystem,windows -o release/x2goclient.exe
> object_script.x2goclient.Release -L'/mnt/windows/C/Qt/qt/lib'
> -lmingw32 -lqtmain release/x2goclient -lwinspool -lQtSvg -lQtGui
> -lQtNetwork -lQtCore
> /home/uxbod/compile/mingw/lib/gcc/i586-mingw32/3.4.5/../../../../i586-mingw32/bin/ld:
> cannot find -lQtSvg
> collect2: ld returned 1 exit status
Yippee have built a cross compiled version of x2goclient by copying libQtSvg4.a to libQtSvg.a on the Windows VM plus doing the same for QtGui, QtNetwork and QtCore. Not sure why Windows and Linux are different with their filenames.
I copied the resulting binary across to the Windows VM and fired it up. That worked fine though once I entered my username and password the client crashed and was intercepted by Qt debugger.
This is so so frustrating as every step forward that is taken is countered by two back steps. Hopefully one of the developers will be able to help as we are really running out of time to get a functional X2Go client working. Mouse issues etc with Xming is causing us major issues and we need to test with VCXSRV ASAP.
--
Thanks, Phil
More information about the x2go-dev
mailing list