Potential lrose-cyclone build issues by using brew install

Users who have installed lrose-blaze/lrose-core before may run into problems when you install lrose-cyclone using brew install. The errors you may see are:

Undefined symbols for architecture x86_64:

  "_tdrpIsArgValidN", referenced from:

      Params::isArgValidN(char const*) in Params.cc.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

So the error is caused by older versions of tdrp_gen getting called to generate the Params.hh/.cc files.

The way to solve the issue is to uninstall the previous lrose packages that you have. Type the commands below to uninstall lrose-blaze/lrose-core:

brew uninstall lrose-blaze
brew uninstall lrose-core

Then, install lrose-cyclone by:

brew install lrose-cyclone.rb

I’m getting the following error from a fresh install.

==> Installing lrose-cyclone
==> Downloading https://github.com/nsf-lrose/lrose-cyclone/releases/download/lrose-cyclone-20200110/lrose-cyclone-20200110.src.mac_os
Already downloaded: /Users/bguy/Library/Caches/Homebrew/downloads/dea7113686b434e2fdf606908092dcaebca7eddf1829c837154b91d5d31d6c1d--lrose-cyclone-20200110.src.mac_osx.tgz
==> ./configure --prefix=/usr/local/Cellar/lrose-cyclone/20200110
==> make install
==> rsync -av share /usr/local/Cellar/lrose-cyclone/20200110
==> cmake .
==> make
==> cmake .
==> make VERBOSE=1
==> qmake .
==> make
Last 15 lines from /Users/bguy/Library/Logs/Homebrew/lrose-cyclone/09.make:
1 error generated.
make: *** [workThread.o] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [main.o] Error 1
1 error generated.
make: *** [CappiGrid.o] Error 1
In file included from DataObjects/AnalyticGrid.cpp:11:
DataObjects/AnalyticGrid.h:69:9: warning: private field 'latReference' is not used [-Wunused-private-field]
  float latReference, lonReference;
        ^
DataObjects/AnalyticGrid.h:69:23: warning: private field 'lonReference' is not used [-Wunused-private-field]
  float latReference, lonReference;
                      ^
2 warnings generated.

Do not report this issue to Homebrew/brew or Homebrew/core!

And to follow up on this, I successfully installed using the lrose-core.rb under the lrose-core releases