----- 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 I have mounted the Qt directory from my Windows virtual machine and created a new Qt build spec called win32-x-g++ which contains: # # qmake configuration for win32-x-g++ # # Written for MinGW # MAKEFILE_GENERATOR = MINGW TEMPLATE = app CONFIG += qt warn_on release link_prl copy_dir_files debug_and_release debug_and_release_target QT += core gui DEFINES += UNICODE QT_LARGEFILE_SUPPORT QMAKE_COMPILER_DEFINES += __GNUC__ WIN32 QMAKE_CC = gcc QMAKE_LEX = flex QMAKE_LEXFLAGS = QMAKE_YACC = byacc QMAKE_YACCFLAGS = -d QMAKE_CFLAGS = QMAKE_CFLAGS_DEPS = -M QMAKE_CFLAGS_WARN_ON = -Wall QMAKE_CFLAGS_WARN_OFF = -w QMAKE_CFLAGS_RELEASE = -O2 QMAKE_CFLAGS_DEBUG = -g QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses QMAKE_CFLAGS_THREAD = -mthreads QMAKE_CXX = /home/uxbod/compile/mingw/bin/i586-mingw32-g++ QMAKE_CXXFLAGS = $$QMAKE_CFLAGS QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD QMAKE_CXXFLAGS_RTTI_ON = -frtti QMAKE_CXXFLAGS_RTTI_OFF = -fno-rtti QMAKE_CXXFLAGS_EXCEPTIONS_ON = -fexceptions QMAKE_CXXFLAGS_EXCEPTIONS_OFF = -fno-exceptions QMAKE_INCDIR = /home/uxbod/compile/mingw/include QMAKE_INCDIR_QT = /mnt/windows/C/Qt/qt/include QMAKE_LIBDIR_QT = /mnt/windows/C/Qt/qt/lib QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src QMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< QMAKE_LINK = /home/uxbod/compile/mingw/bin/i586-mingw32-g++ QMAKE_LFLAGS = -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mwindows QMAKE_LFLAGS_RELEASE = -Wl,-s QMAKE_LFLAGS_DEBUG = QMAKE_LFLAGS_CONSOLE = -Wl,-subsystem,console QMAKE_LFLAGS_WINDOWS = -Wl,-subsystem,windows QMAKE_LFLAGS_DLL = -shared QMAKE_LINK_OBJECT_MAX = 10 QMAKE_LINK_OBJECT_SCRIPT= object_script QMAKE_LIBS = QMAKE_LIBS_CORE = -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lws2_32 #QMAKE_LIBS_CORE = -lkernel32 -luser32 -luuid -lole32 -ladvapi32 -lws2_32 QMAKE_LIBS_GUI = -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lws2_32 -lole32 -luuid -luser32 QMAKE_LIBS_NETWORK = -lws2_32 QMAKE_LIBS_OPENGL = -lopengl32 -lglu32 -lgdi32 -luser32 QMAKE_LIBS_COMPAT = -ladvapi32 -lshell32 -lcomdlg32 -luser32 -lgdi32 -lws2_32 QMAKE_LIBS_QT_ENTRY = -lmingw32 -lqtmain MINGW_IN_SHELL = $$(MINGW_IN_SHELL) #isEqual(MINGW_IN_SHELL, 1) { QMAKE_DIR_SEP = / QMAKE_COPY = cp QMAKE_COPY_DIR = cp -r QMAKE_MOVE = mv QMAKE_DEL_FILE = rm -f QMAKE_MKDIR = mkdir -p QMAKE_DEL_DIR = rm -rf #} else { # QMAKE_COPY = copy /y # QMAKE_COPY_DIR = xcopy /s /q /y /i # QMAKE_MOVE = move # QMAKE_DEL_FILE = del # QMAKE_MKDIR = mkdir # QMAKE_DEL_DIR = rmdir #} QMAKE_MOC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}moc QMAKE_UIC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}uic QMAKE_IDC = $$[QT_INSTALL_BINS]$${DIR_SEPARATOR}idc QMAKE_IDL = midl QMAKE_LIB = ar -ru QMAKE_RC = /home/uxbod/compile/mingw/bin/i586-mingw32-windres QMAKE_ZIP = zip -r -9 QMAKE_STRIP = strip QMAKE_STRIPFLAGS_LIB += --strip-unneeded QMAKE_CHK_DIR_EXISTS = if not exist load(qt_config) All the paths look okay for which I am very puzzled why I am receiving a linker error. Any thoughts ? and perhaps you could post your qmake.conf ? -- Thanks, Phil _______________________________________________ X2go-dev mailing list X2go-dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev