Replying to myself, as I've made some progress.  After allowing work to
distract me all day, I came back to this with fresh eyes and realized that,
duh, CMake obviously didn't find that my compiler supported OpenMP.  I
couldn't figure out a good way to make it detect it...so I just forced it.
Modified CMakeLists.txt in this way: (at line 834)

Replace this:
     find_package (OpenMP)

With this:
    set (OPENMP_FOUND TRUE)

Okay, I know.  It's a workaround, not a solution, but it allowed the
program to build.

Now to work through all these relink errors that result in a core dump.

Jon Tabor
KI7JYE

On Wed, Jan 16, 2019 at 8:41 AM Jon Tabor <jon...@gmail.com> wrote:

> Hey folks, I've searched the archives but haven't found anything similar.
>
> Building on OpenBSD 6.4-current, everything goes swimmingly (aside from
> warnings about unused variables) until here:
>
> [ 93%] Building CXX object
> CMakeFiles/wsjtx.dir/widgets/ExportCabrillo.cpp.o
> [ 93%] Building CXX object CMakeFiles/wsjtx.dir/qrc_wsjtx.cpp.o
> [ 93%] Building CXX object
> CMakeFiles/wsjtx.dir/wsjtx_autogen/mocs_compilation.cpp.o
> [ 93%] Linking CXX executable wsjtx
> /usr/bin/ld: error: unable to find library -lwsjt_fort_omp
> collect2: error: ld returned 1 exit status
> *** Error 1 in . (CMakeFiles/wsjtx.dir/build.make:1003 'wsjtx')
> *** Error 1 in . (CMakeFiles/Makefile2:802 'CMakeFiles/wsjtx.dir/all')
> *** Error 1 in
> /home/taborj/build/wsjtx-2.0.0/build/wsjtx-prefix/src/wsjtx/CMake
> (Makefile:152 'all')
>
> Any ideas?  I've had no problems building on Linux, so I'm fairly
> convinced this is either something specific to OpenBSD or this particular
> system.
>
> Thanks!
> Jon Tabor
> KI7JYE
>
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to