The linker error problem was solved and all questions concerning this error
found an answer with Helmut's help (thank you again!). I finally compiled
the Windows version of QMapShack from source on a 64-bit machine with
Windows 7 Professional, SP 1. I tested this QMS with some of my typical
actions - everything looks good.

Here are some remarks and comments about the used procedure and its possible
bottlenecks:

- In some steps BAT-files have to be executed. I did this in a normal
command line window started from cmd.exe.

- Be sure to have the correct 64-bit development packages installed as
indicated in Helmut's description.

- QMS for windows is now supported as 64-bit program. Thus in all steps
described in Helmut's document be sure to have the proper 64-bit development
environment selected. The compiler packages normally support 32- as well as
64-bit projects on 32- and 64-bit machines! Check this in the cmake-gui with
"Grouped" and "Advanced" both checked and in Visual studio properties and
solution platform and look for 32- or 64-bit entries.
  
- On my machine MinGW (without 64!) was already installed before trying to
compile QMS. Comments on the MinGW homepage are ambiguous in what concerns
the possibility of using it for 64-bit compilations too. This was my failure
and the reason for the linker error! After switching to MinGW64 as proposed
all the compilation steps could be carried out without problems.  
  
- During the compilation of almost any package compiler warnings appear. I
simply ignored these warnings (under which circumstances is it recommended
to pay attention to these warnings?).
  
- There might be some trouble when using '"' to deliminate required path
settings in configuration scripts. Don't use this deliminator. Use only
directory names without spaces (and propably non-ASCII characters).
  
- Visual studio creates some irritating program menu entries. Use "Visual
studio 2013" and not "Microsoft Visual studio ..."!  

- cmake-gui: call help to find what to do as first steps. Don't forget to
select correct development environment (lower part of the window) and set
correct paths in upper 2 edit fields.

- Select the proper build type ("Release") in cmake-gui and/or Visual studio.
  
- QMS\nsi\copyfiles.bat: 
  - copy %QMSI_QT_PATH%\bin\icudt53.dll and similar commands had to be
replaced with copy %QMSI_QT_PATH%\bin\icudt54.dll (use of Qt5.5 - in my 5.5
installation there are no *53.dll files!)

- I used Visual Studio Community 2013 - the installation procedure downloads
more than 2 GB!  
   
- msys/MinGW64: 
  - Install msys before installing MinGW64
  - Installation of MinGW64 with win-builds-1.5.0:
    - after some automatic steps running in a cmd-window the "Win-builds
installation" windows appears
      - choose "Cygwin or MSYS"
      - choose x86_64
      - enter c:\msys as MSYS installation directory (if appropriate)
      - press Ok
      - in the next window click "Process" (upper right corner - difficult
to identify!) - only now the necessary software will be downloaded and
installed within the msys directory
      - close window at the end of the installation process (100% reached,
click on x in upper right corner of window)  
      - the \msys\opt directory is created by this installer. It contains
MinGW64    
 
- make.exe: use msys\bin\make.exe. In my case it was not in the PATH. I
therefore modified the following nsi\build_routino.bat part
          
          rem add mingw64 toolchain to PATH
          set PATH=c:\msys\bin\;c:\msys\opt\windows_64\bin\;%PATH%    
          rem set PATH=C:\msys\opt\windows_64\bin;%PATH%
          
Regards

Wolfgang                    
 
 


------------------------------------------------------------------------------
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to