Hi All,

A couple of you have been having issues with the old make/qmake way of 
building WSJT-X. Even though this build method is deprecated in favour 
of CMake I do try and keep the the old project and makefiles running as 
well as possible. I have made some adjustments to try and keep them in 
line with the CMake build and also to make them a little more flexible.

Here is the commit comment for my latest checkin (r4551):

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The lib/Makefile.MinGW makefile  has been enhanced to link  to the DLL
version of fftw3  which is the normal version of  the library that you
get with the Windows installer.

The library is  located by passing the FFTW3_DIR variable  on the make
command line. For example on my system:

     $ # In a MinGW console
     $ cd ~/src/wsjtx/lib
     $ make QT_DIR=/c/Tools/Qt/5.2.1/mingw48_32 \
     >  FFTW3_DIR=/c/Tools/fftw-3.3.3-dll32-2

Similarly with the qmake project:

     $ # In a Qt MinGW 32-bit console
     $ cd ~/src/wsjtx
     $ qmake \
     >  HAMLIB_DIR=c:/test-install/hamlib/mingw48_32 \
     >  FFTW3_DIR=c:/Tools/fftw-3.3.3-dll32-2
     $ mingw32-make

--------------------------------------------------------------------------------------------------------

Note the use of variables to pass in the location of prerequisite 
libraries like Qt, Hamlib and, fftw v3. Use these variables to tell 
qmake and make where these libraries are installed rather than editing 
the project/makefiles directly.

Two recent issues have been with the generation of the OmniRig interface 
sources on Windows. I cannot reproduce either of the issues and suspect 
that the problem is to do with the environment the build commands are 
run from. Note that the lib/Makefile.MinGW needs to be run from a normal 
MinGW 32-bit console whereas the qmake and ming32-make project build 
must be run from a Qt MinGW 32-bit shell which is NOT a MinGW shell, but 
a Windows CMD shell with the correct environment settings. The latter is 
simply reached by using the shortcut installed as part of the Qt install 
on Windows.

Also note that I have changed the above build process to link to the DLL 
version of libfftw3f-3 so you will need to copy that into your 
installation folder or ensure it is on the PATH environment variable 
before running WSJT-X.

73
Bill
G4WJS.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to