From: Alessandro G. <al...@li...> - 2019-12-22 16:36:57
|
Hi all, I try to recompile wsjtx after a hamlib git clone git://git.code.sf.net/u/bsomervi/hamlib src git checkout integration hamlib compile go well, but seems as vfo_t this month change type from int to unsigned int. I rollback to a older version of hamlib and it work. Compiler is gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 7.3.0 included in QT 5.12.6 cmake version 3.15.5 Is it a my misunderstanding ???????? [ 89%] Building CXX object CMakeFiles/wsjt_qt.dir/TraceFile.cpp.obj [ 89%] Building CXX object CMakeFiles/wsjt_qt.dir/AudioDevice.cpp.obj [ 89%] Building CXX object CMakeFiles/wsjt_qt.dir/Transceiver.cpp.obj [ 89%] Building CXX object CMakeFiles/wsjt_qt.dir/TransceiverBase.cpp.obj [ 89%] Building CXX object CMakeFiles/wsjt_qt.dir/EmulateSplitTransceiver.cpp.obj [ 89%] Building CXX object CMakeFiles/wsjt_qt.dir/TransceiverFactory.cpp.obj [ 90%] Building CXX object CMakeFiles/wsjt_qt.dir/PollingTransceiver.cpp.obj [ 90%] Building CXX object CMakeFiles/wsjt_qt.dir/HamlibTransceiver.cpp.obj In file included from C:\JTSDK64\zzgit64\src\TransceiverFactory.cpp:5:0: C:\JTSDK64\zzgit64\src\HamlibTransceiver.hpp:17:15: error: conflicting declaration 'typedef int vfo_t' typedef int vfo_t; ^~~~~ In file included from C:\JTSDK64\zzgit64\src\HamlibTransceiver.hpp:8:0, from C:\JTSDK64\zzgit64\src\TransceiverFactory.cpp:5: C:/JTSDK64/hamlib/include/hamlib/rig.h:366:22: note: previous declaration as 'typedef unsigned int vfo_t' typedef unsigned int vfo_t; ^~~~~ mingw32-make.exe[2]: *** [CMakeFiles\wsjt_qt.dir\build.make:457: CMakeFiles/wsjt_qt.dir/TransceiverFactory.cpp.obj] Error 1 mingw32-make.exe[2]: *** Waiting for unfinished jobs.... In file included from C:\JTSDK64\zzgit64\src\HamlibTransceiver.cpp:1:0: C:\JTSDK64\zzgit64\src\HamlibTransceiver.hpp:17:15: error: conflicting declaration 'typedef int vfo_t' typedef int vfo_t; ^~~~~ In file included from C:\JTSDK64\zzgit64\src\HamlibTransceiver.hpp:8:0, from C:\JTSDK64\zzgit64\src\HamlibTransceiver.cpp:1: C:/JTSDK64/hamlib/include/hamlib/rig.h:366:22: note: previous declaration as 'typedef unsigned int vfo_t' typedef unsigned int vfo_t; ^~~~~ mingw32-make.exe[2]: *** [CMakeFiles\wsjt_qt.dir\build.make:487: CMakeFiles/wsjt_qt.dir/HamlibTransceiver.cpp.obj] Error 1 mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:304: CMakeFiles/wsjt_qt.dir/all] Error 2 mingw32-make.exe: *** [Makefile:151: all] Error 2 C:\JTSDK64> -- 73 Sandro IW3RAB |