# This is example of login script, required for compilation # of complete Go4 and user analysises under CYGWIN environment # # First ensure that all software components: CYGWIN, Microsoft VisualC, ROOT and Qt are installed. # # Qt package should be compiled with VisualC - like qt-win-opensource-4.7.3-vs2008.exe. # Do not try to install MinGW version - it uses unsuitable compiler version. # Install Qt into the path without spaces. # # To be able use VisualC from cygwin, one should call # vcvarsall.bat file from the Cygwin.bat. # Insert following line into Cygwin.bat before bash: # call E:\Soft\VC2010\VC\vcvarsall.bat" # # One also must ensure that link.exe from VisualC is used. # Problem description and several solutions can be found here: # https://developer.mozilla.org/en/Windows_build_prerequisites_using_cygwin#Fix_cygwin_path # Simplest solution - just delete or rename link.exe from cygwin; # preferable - change sequence of $PATH. # # # Adjust windows pathes for VC, ROOT, Qt and Go4 ROOT_PATH="F:\Soft\root" GO4_PATH="F:\Soft\go4" QT_PATH="E:\Soft\qt471" GO4CYGPATH=`cygpath $GO4_PATH` export GO4_OS=Win32 export ROOTSYS=`cygpath $ROOT_PATH` export QTDIR=`cygpath $QT_PATH` export LD_LIBRARY_PATH=$ROOTSYS/lib:$GO4CYGPATH/lib:$QTDIR/lib:$LD_LIBRARY_PATH export PATH=$ROOTSYS/bin:$GO4CYGPATH/bin:$QTDIR/bin:$PATH export LIB="$ROOT_PATH\lib;$GO4_PATH\lib;$QT_PATH\lib;$LIB" export QMAKESPEC=win32-msvc2010 echo "Configure enviroment to compile go4 in $GO4CYGPATH"