Hi Megan,
I’m not sure I understand your meaning of switch to the appropriate branch. But
in any case, WSJT (the original application) is Python based and resides in the
Sourceforge trunk. WSJT-X resides in a branch of the trunk and is Qt5 based.
If you are after a runnable-version for OSX, installers can be found in the
files section on Sourceforge. Bill (G4WJS) compiles a version of OSX users as
well (*.dmg file). I believe (though I’ve been out of the loop for a bit)
1.9.3.rc3 is the last prebuilt version posted for GA testing.
https://sourceforge.net/projects/wsjt/files/wsjtx-1.9.0-rc3/
Outside of that, I can’t really help much with setting up the build environment
for OSX. There are instructions and Bill can no doubt get you sorted out with
things if need be.
More info for Compiling:
https://sourceforge.net/p/wsjt/wsjt/HEAD/tree/branches/wsjtx/INSTALL
73’s
Greg, KI7MT
From: Megan Woods [mailto:[email protected]]
Sent: Tuesday, May 15, 2018 11:00 PM
To: WSJT software development <[email protected]>
Subject: Re: [wsjt-devel] Build environment macOS 10.13.4
Ahh ok..
I didn’t realise that it will switch to the appropriate branch and start over.,
Megan
On Wed, 16 May 2018 at 2:53 pm, Greg Beam <[email protected]
<mailto:[email protected]> > wrote:
Hello All,
First, there’s been little to know development effort on WSJT in a good while
(2yrs or more maybe?). Another guess, but, I was probably the last one to
update the autotools for WSJT, and can guarantee there was no testing done with
GCC 8 😊
WSJT-X is where the current development effort is. Many are successfully
building WSJT-X on OSX. Help should be plentiful in that regard. Not to
mention, decoder performance and all the other improvements (far too many to
list) have been made exclusively to the WSJT-X branch.
73’s
Greg, KI7MT
From: Georg Isenbürger [mailto:[email protected] <mailto:[email protected]> ]
Sent: Tuesday, May 15, 2018 10:23 PM
To: WSJT software development <[email protected]
<mailto:[email protected]> >
Subject: Re: [wsjt-devel] Build environment macOS 10.13.4
Hi Megan,
I have tried multiple times to setup the OSX environment. I ran into similar
issues and finally gave up. Hopefully in the not to far future there will be an
installer package that builds the environment like under Windows…
regards
Georg
Am 16.05.2018 um 03:44 schrieb Megan Woods <[email protected]
<mailto:[email protected]> >:
Hi,
I have been trying to build:
Relative URL: ^/trunk
Repository Root: https://svn.code.sf.net/p/wsjt/wsjt
Repository UUID: ab8295b8-cf94-4d9e-aec4-7959e3be5d79
Revision: 8658
on
System Version: macOS 10.13.4 (17E202)
Kernel Version: Darwin 17.5.0
I have had a succession of issues satisfying build tool chain especially
concerning Fortran.
Presently it is using:
FC = gfortran
FCV = gnu95
I have an issue with unresolved symbols for x86_64 which will definitely be an
issue with my build environment.
I was wondering someone who builds on OSX could give me some pointers as to how
they set their environment up please.
Megan
Here is the failing output:
RUN F2PY Audio.so
-----------------
/usr/local/Cellar/numpy/1.14.3_1/bin/f2py3.6 -c --quiet --fcompiler=gnu95
--f77exec=gfortran --f90exec=gfortran \
--opt="-cpp -fbounds-check -O2" -L/usr/local/lib
-L/usr/local/Cellar/portaudio/19.6.0/lib
-L/usr/local/Cellar/portaudio/19.6.0/lib -L/usr/local/lib -L -lfftw3f
-lportaudio -lpthread -lsamplerate libjt.a -m Audio ftn_init.f90 ftn_quit.f90
audio_init.f90 spec.f90 getfile.f90 azdist0.f90 astro0.f90 chkt0.f90
rmbadname1: Replacing "len" with "len_bn".
{}
{}
{}
{}
{}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(in)']}
{'attrspec': ['intent(in)']}
{'attrspec': ['intent(in)']}
{'attrspec': ['intent(in)']}
{'attrspec': ['intent(in)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
{'attrspec': ['intent(out)']}
In file included from
/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/src.macosx-10.13-x86_64-3.6/Audiomodule.c:16:
In file included from
/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/src.macosx-10.13-x86_64-3.6/fortranobject.h:13:
In file included from
/usr/local/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from
/usr/local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from
/usr/local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:
/usr/local/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
warning: "Using deprecated NumPy API, disable it by " "#defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/src.macosx-10.13-x86_64-3.6/Audiomodule.c:169:12:
warning: unused function 'f2py_size' [-Wunused-function]
static int f2py_size(PyArrayObject* var, ...)
^
2 warnings generated.
In file included from
/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/src.macosx-10.13-x86_64-3.6/fortranobject.c:2:
In file included from
/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/src.macosx-10.13-x86_64-3.6/fortranobject.h:13:
In file included from
/usr/local/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from
/usr/local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from
/usr/local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1816:
/usr/local/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
warning: "Using deprecated NumPy API, disable it by " "#defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/src.macosx-10.13-x86_64-3.6/fortranobject.c:138:18:
warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long')
and 'unsigned long' [-Wsign-compare]
if (size < sizeof(notalloc)) {
~~~~ ^ ~~~~~~~~~~~~~~~~
2 warnings generated.
ftn_init.f90:38:4:
i=ptt(nport,pttport,0,iflag,iptt) !Clear DTR line
1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at
(1) [-Wconversion]
ftn_init.f90:40:4:
i=ptt(nport,pttport,0,iflag,iptt) !Clear RTS line
1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at
(1) [-Wconversion]
audio_init.f90:35:14:
iwave(i)=nint(32767.0*sin(6.283185307*i*f0/nfsample))
1
Warning: Possible change of value in conversion from INTEGER(4) to INTEGER(2)
at (1) [-Wconversion]
spec.f90:121:14:
level=50 + 2.5*dB
1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at
(1) [-Wconversion]
spec.f90:214:42:
if(a0(i).gt.0.0 .and. logmap.eq.1) n=gain*log10(0.001*a0(i)) + offset + 20
1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at
(1) [-Wconversion]
spec.f90:215:42:
if(a0(i).gt.0.0 .and. logmap.eq.0) n=(0.01*a0(i))**gamma + offset
1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at
(1) [-Wconversion]
spec.f90:217:10:
a(i)=n
1
Warning: Possible change of value in conversion from INTEGER(4) to INTEGER(2)
at (1) [-Wconversion]
getfile.f90:99:11:
itemp1 = ior(ishft(idat,24), iand(ishft(idat,8), z'00ff0000'))
1
Warning: Possible change of value in conversion from INTEGER(16) to INTEGER(4)
at (1) [-Wconversion]
getfile.f90:100:11:
itemp0 = ior(iand(ishft(idat,-8), z'0000ff00'),
iand(ishft(idat,-24),z'000000ff'))
1
Warning: Possible change of value in conversion from INTEGER(16) to INTEGER(4)
at (1) [-Wconversion]
getfile.f90:42:15:
d2c(i)=250*(n4-128)
1
Warning: Possible change of value in conversion from INTEGER(4) to INTEGER(2)
at (1) [-Wconversion]
astro0.f90:10:18:
parameter (DEGS=57.2957795130823d0)
1
Warning: Change of value in conversion from 'REAL(8)' to 'REAL(4)' at (1)
[-Wconversion]
astro0.f90:116:11:
uth8z=uth8-1.d0/3600.d0
1
Warning: Possible change of value in conversion from REAL(8) to REAL(4) at (1)
[-Wconversion]
astro0.f90:129:7:
imin=60*uth8
1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at
(1) [-Wconversion]
astro0.f90:130:7:
isec=3600*uth8
1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at
(1) [-Wconversion]
astro0.f90:134:8:
ih=uth8
1
Warning: Possible change of value in conversion from REAL(4) to INTEGER(4) at
(1) [-Wconversion]
ld: warning: -L path
'/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/src.macosx-10.13-x86_64-3.6/Audiomodule.o'
is not a directory
ld: warning: directory not found for option
'-L-L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0'
Undefined symbols for architecture x86_64:
"_PyCapsule_GetPointer", referenced from:
_F2PyCapsule_AsVoidPtr in fortranobject.o
"_PyCapsule_New", referenced from:
_fortran_getattr in fortranobject.o
_F2PyCapsule_FromVoidPtr in fortranobject.o
"_PyCapsule_Type", referenced from:
_F2PyCapsule_Check in fortranobject.o
"_PyDict_DelItemString", referenced from:
_fortran_setattr in fortranobject.o
"_PyDict_GetItemString", referenced from:
_fortran_getattr in fortranobject.o
"_PyDict_New", referenced from:
_PyFortranObject_New in fortranobject.o
_PyFortranObject_NewAsAttr in fortranobject.o
_fortran_setattr in fortranobject.o
"_PyDict_SetItemString", referenced from:
_F2PyDict_SetItemString in fortranobject.o
_PyFortranObject_New in fortranobject.o
_fortran_getattr in fortranobject.o
_fortran_setattr in fortranobject.o
"_PyErr_Clear", referenced from:
_F2PyDict_SetItemString in fortranobject.o
_fortran_getattr in fortranobject.o
_fortran_repr in fortranobject.o
_F2PyCapsule_FromVoidPtr in fortranobject.o
_F2PyCapsule_AsVoidPtr in fortranobject.o
"_PyErr_Format", referenced from:
_fortran_call in fortranobject.o
_check_and_fix_dimensions in fortranobject.o
"_PyErr_NoMemory", referenced from:
_fortran_getattr in fortranobject.o
"_PyErr_Occurred", referenced from:
_F2PyDict_SetItemString in fortranobject.o
"_PyErr_Print", referenced from:
_F2PyDict_SetItemString in fortranobject.o
"_PyErr_SetString", referenced from:
_fortran_setattr in fortranobject.o
_array_from_pyobj in fortranobject.o
_check_and_fix_dimensions in fortranobject.o
"_PyExc_AttributeError", referenced from:
_fortran_setattr in fortranobject.o
"_PyExc_RuntimeError", referenced from:
_fortran_call in fortranobject.o
"_PyExc_TypeError", referenced from:
_fortran_call in fortranobject.o
_array_from_pyobj in fortranobject.o
"_PyExc_ValueError", referenced from:
_array_from_pyobj in fortranobject.o
_check_and_fix_dimensions in fortranobject.o
"_PyMem_Free", referenced from:
_fortran_dealloc in fortranobject.o
_fortran_getattr in fortranobject.o
"_PyMem_Malloc", referenced from:
_fortran_getattr in fortranobject.o
"_PyOS_snprintf", referenced from:
_fortran_getattr in fortranobject.o
"_PyObject_GenericGetAttr", referenced from:
_fortran_getattr in fortranobject.o
"_PyObject_GetAttrString", referenced from:
_fortran_repr in fortranobject.o
"_PyType_IsSubtype", referenced from:
_array_from_pyobj in fortranobject.o
"_PyUnicode_Concat", referenced from:
_fortran_getattr in fortranobject.o
"_PyUnicode_FromFormat", referenced from:
_fortran_repr in fortranobject.o
"_PyUnicode_FromString", referenced from:
_fortran_getattr in fortranobject.o
_fortran_repr in fortranobject.o
"_PyUnicode_FromStringAndSize", referenced from:
_fortran_getattr in fortranobject.o
"__PyObject_New", referenced from:
_PyFortranObject_New in fortranobject.o
_PyFortranObject_NewAsAttr in fortranobject.o
"__Py_NoneStruct", referenced from:
_fortran_getattr in fortranobject.o
_fortran_setattr in fortranobject.o
_array_from_pyobj in fortranobject.o
"__npy_f2py_ARRAY_API", referenced from:
_PyFortranObject_New in fortranobject.o
_fortran_getattr in fortranobject.o
_fortran_setattr in fortranobject.o
_array_from_pyobj in fortranobject.o
_check_and_fix_dimensions in fortranobject.o
_copy_ND_array in fortranobject.o
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
ld: warning: -L path
'/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/var/folders/dk/dhmpt9ts4ylfqywy01_83whw0000gn/T/tmp0nf1vt18/src.macosx-10.13-x86_64-3.6/Audiomodule.o'
is not a directory
ld: warning: directory not found for option
'-L-L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0'
Undefined symbols for architecture x86_64:
"_PyCapsule_GetPointer", referenced from:
_F2PyCapsule_AsVoidPtr in fortranobject.o
"_PyCapsule_New", referenced from:
_fortran_getattr in fortranobject.o
_F2PyCapsule_FromVoidPtr in fortranobject.o
"_PyCapsule_Type", referenced from:
_F2PyCapsule_Check in fortranobject.o
"_PyDict_DelItemString", referenced from:
_fortran_setattr in fortranobject.o
"_PyDict_GetItemString", referenced from:
_fortran_getattr in fortranobject.o
"_PyDict_New", referenced from:
_PyFortranObject_New in fortranobject.o
_PyFortranObject_NewAsAttr in fortranobject.o
_fortran_setattr in fortranobject.o
"_PyDict_SetItemString", referenced from:
_F2PyDict_SetItemString in fortranobject.o
_PyFortranObject_New in fortranobject.o
_fortran_getattr in fortranobject.o
_fortran_setattr in fortranobject.o
"_PyErr_Clear", referenced from:
_F2PyDict_SetItemString in fortranobject.o
_fortran_getattr in fortranobject.o
_fortran_repr in fortranobject.o
_F2PyCapsule_FromVoidPtr in fortranobject.o
_F2PyCapsule_AsVoidPtr in fortranobject.o
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel