Hi Gary
there are two ways to get around this

when you build hamlib use the switches to set the install to where the wsjtx 
build is expecting to
find it.
or 
in the directories its looking for hamlib, use a symlink to point to the actual 
location of where
hamlib is installed.
 Hope you understand what I mean, GL


On Sat, 29 Jul 2017 12:34:06 -0400
"C. Gary Rogers" <dc4aac...@comcast.net> wrote:

> Hello all, i’ve been following Bill’s instructions on compiling WSJT-X on 
> MacBook Pro OS X 10.12.5
> 
> All is successful until i attempt:
> 
> $ cd ~/wsjtx-prefix/build
> $ FC=gfortran-mp-5 \
>    cmake \
>    -D CMAKE_PREFIX_PATH="~/Qt/5.7/clang_64;~/hamlib-prefix;/opt/local" \
>    -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix \
>    -D
> CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
> \ ~/wsjtx-prefix/src This is the result:
> 
> Last login: Sat Jul 29 11:56:56 on ttys001
> Charless-MacBook-Pro:~ charlesrogers$ cd ~/wsjtx-prefix/build
> Charless-MacBook-Pro:build charlesrogers$  FC=gfortran-mp-5 \
> >    cmake \
> >    -D CMAKE_PREFIX_PATH="~/Qt/5.7/clang_64;~/hamlib-prefix;/opt/local" \
> >    -D CMAKE_INSTALL_PREFIX=~/wsjtx-prefix \
> >    -D
> > CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
> > \ ~/wsjtx-prefix/src  
> -- Building wsjtx-1.7.1-devel
> -- ******************************************************
> -- Building for for: Darwin-x86_64
> -- ******************************************************
> -- Boost version: 1.63.0
> -- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) 
> (found version "1.0")
> -- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) 
> (found version
> "1.0") -- Checking for module 'hamlib'
> --   No package 'hamlib' found
> hamlib_INCLUDEDIR=hamlib_INCLUDEDIR-NOTFOUND
> hamlib_LIBRARY=hamlib_LIBRARY-NOTFOUND
> hamlib_EXTRA_LIBRARIES=/opt/local/lib/libusb-1.0.dylib;m;dl
> CMake Error at CMake/Modules/LibFindMacros.cmake:87 (message):
>   Required library hamlib NOT FOUND.
> 
>   Install the library (dev version) and try again.  If the library is already
>   installed, use ccmake to set the missing variables manually.
> Call Stack (most recent call first):
>   CMake/Modules/Findhamlib.cmake:69 (libfind_process)
>   CMakeLists.txt:848 (find_package)
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/Users/charlesrogers/wsjtx-prefix/build/CMakeFiles/CMakeOutput.log".
> Charless-MacBook-Pro:build charlesrogers$ 
> 
> Log is attached here:
> 
> 
> 
> I rebuilt hamlib which indicated that it was OK and reran with same 
> result…Not exactly sure how
> to:
> 
> use ccmake to set the missing variables manually.
> Call Stack (most recent call first):
>   CMake/Modules/Findhamlib.cmake:69 (libfind_process)
>   CMakeLists.txt:848 (find_package)
> 
> Any suggestions as to how to resolve?
> 
> Thanks Gary KO3F
> 
> 
> 



-- 
-- 
Best wishes /73 
Richard Bown

Email : rich...@g8jvm.com
HTTP  :  http://www.g8jvm.com
nil carborundum a illegitemis
##################################################################################
Ham Call: G8JVM . QRV: 50-432 MHz + Microwave 23 cms 140W, 13 cms 100W & 3cms 5W
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W
OS: Linux Mint 18.1  x86_64 on a Dell Inspiron N5030 laptop
##################################################################################
 


------------------------------------------------------------------------------
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
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to