On 31/07/2017 11:41, Bill Somerville wrote:
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.11.sdk
 \
>    ~/wsjtx-prefix/src
CMake Error: The source directory "/Users/charlesrogers/wsjtx-prefix/build/CMAKE_PREFIX_PATH=/Users/charlesrogers/Qt/5.7/clang_64" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
-bash: /Users/charlesrogers/hamlib-prefix: is a directory
-bash: /opt/local: is a directory
Charless-MacBook-Pro:build charlesrogers$

Hi Gary,

going back to the quotation marks around the CMAKE_PREFIX_PATH parameter value, I misinformed you and they are indeed necessary. The reason is that CMake uses a consistent list separator character on all platforms and they chose the Windows standard of ';' but on *nix systems that is a command list separator so must be quoted or escaped to remove that interpretation. You could try escaping them instead of quoting, that means prefixing the ';' characters with backslash escape characters '\;' like:

$ 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

I also note you said that you had installed Qt 5.9.1 but the above command has not been adjusted for location of the Qt installation which I would expect to be something like ~/Qt/5.9.1/clang_64 .

73
Bill
G4WJS.

------------------------------------------------------------------------------
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