Hi Ton,

PA0TBR wrote:
I have some questions about building wspr-x for Windows. I checked out the
latest revision and also r3058.

1) I am stuck with the message: *cannot find -lusb*
     Where can I find this usb.dll?

The usb code is in file libusb0.dll, which is easy to find on the web. But in fact I don't think you need it (except possibly for rig-control of a Softrock?). Just remove (or comment out) the line

 LIBS += -lusb

in the file wsprx.pro.

2) The tools I use, the procedure and results are summarised below. Can
someone comment if I am on the right track with this please?

*I used the following tools:*
gcc-full-4.4.0-mingw32-bin-2.tar.lzma
w32api-3.13-mingw32-dev.tar.gz
qt-win-opensource-4.8.5-mingw.exe
mingw-get-inst-20120426.exe  (selected all components)
g95-MinGW.exe  Version 0.93, October 2012
Python 2.7.4
qwt-6.0.1 (run qmake qwt.pro, make, make install)
PortAudio V19
palir-02.dll
Copied  libf95.a  from  C:\MinGw\lib\gcc-lib\i686-pc-mingw32\4.1.2\  to
  C:\MinGw\lib\

Yes, these look like a reasonable set of tools. (You don't need Python for WSPR-X, but no harm.)

*I tried to build as follows:*
cd \wsprx\lib
mingw32-make Aborts with Error
mingw32-make Aborts with Error
mingw32-make Completes with Nothing to be done
Results: Created wsprd.exe and wsprcode.exe  so far so good I assume.

I don't know why you see those "Aborts with Error" messages; but yes, if you have built wsprd.exe and wsprcode.exe that looks good.

cd\wsprx
qmake.exe -o Makefile wsprx.pro
mingw32-make

*Result ends with:*
g++ -mthreads -Wl,-subsystem,windows -o ..\wsprx_install\wsprx.exe
object_script
.wsprx.Debug  -L"c:\Qt\4.8.5\lib" -lmingw32 -lqtmaind debug\wsprx_res.o
../wsprx
/lib/libwspr.a ../wsprx/libfftw3f_win.a ../QtSupport/palir-02.dll -lwsock32
C:/M
inGW/lib/libf95.a C:/qwt-6.0.1/lib/qwt.dll -lusb -lQtGuid4 -lQtNetworkd4
-lQtCored4
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: *cannot
find -lusb*
collect2: ld returned 1 exit status
mingw32-make[1]: *** [..\wsprx_install\wsprx.exe] Error 1
mingw32-make[1]: Leaving directory `C:/wsprx'
mingw32-make: *** [debug] Error 2


I hope that someone has time to help me out.

I think you're almost there. If it turns out that you need USB support, I can probably help further...

        -- 73, Joe, K1JT
_______________________________________________
Wsjt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/wsjt-devel

Reply via email to