pothosware / homebrew-pothos

Homebrew formulas for Pothos and SoapySDR
https://github.com/pothosware/homebrew-pothos/wiki
MIT License
62 stars 17 forks source link

OpenGLGraph ld: symbol(s) not found for architecture x86_64 #32

Closed naugler closed 4 years ago

naugler commented 5 years ago

Hello, I'm having some kind of linker issue when attempting to install via homebrew.

https://gist.github.com/naugler/5d176a8b9052943c12fd624b5e47e4f0

OSX 10.14.2 Homebrew 1.8.6-14-ga2b4d4a Homebrew/homebrew-core (git revision f49cc1; last commit 2018-12-20) Homebrew/homebrew-cask (git revision f52cb; last commit 2018-12-20)

brew install limesuite
==> Installing limesuite from pothosware/pothos
==> Downloading https://github.com/myriadrf/LimeSuite/archive/v18.04.1.tar.gz
Already downloaded: /Users/nauglrj1/Library/Caches/Homebrew/downloads/999497287e4452eff262145f6e4123a82b7a500f74294d7d6864c3cde7cc9751--LimeSuite-18.04.1.tar.gz
==> cmake .. -DDOWNLOAD_IMAGES=FALSE -DENABLE_STREAM=ON -DENABLE_GUI=ON -DENABLE_NOVENARF7=OFF -DENABLE_SOAPY_LMS7=ON -DLIME_SUITE_EXTVER=release -DLIME_SUITE_ROOT='/usr/local' -DCMAKE_C_FLAGS_RELEASE=-DNDEBU
==> make install
Last 15 lines from /Users/nauglrj1/Library/Logs/Homebrew/limesuite/02.make:
  "OpenGLGraph::SetInitialDisplayArea(float, float, float, float)", referenced from:
      fftviewer_frFFTviewer::SetNyquistFrequency() in fftviewer_frFFTviewer.cpp.o
      fftviewer_frFFTviewer::fftviewer_frFFTviewer(wxWindow*) in fftviewer_frFFTviewer.cpp.o
      fftviewer_frFFTviewer::OnStreamChange(wxCommandEvent&) in fftviewer_frFFTviewer.cpp.o
  "OpenGLGraph::Draw()", referenced from:
      fftviewer_frFFTviewer::OnUpdatePlots(wxThreadEvent&) in fftviewer_frFFTviewer.cpp.o
  "OpenGLGraph::AddSerie(cDataSerie*)", referenced from:
      fftviewer_frFFTviewer::fftviewer_frFFTviewer(wxWindow*) in fftviewer_frFFTviewer.cpp.o
  "OpenGLGraph::OpenGLGraph(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&, int const*)", referenced from:
      frFFTviewer::frFFTviewer(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long) in fftviewer_wxgui.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/LimeSuiteGUI] Error 1
make[1]: *** [src/CMakeFiles/LimeSuiteGUI.dir/all] Error 2
make: *** [all] Error 2

Is it looking for other lms-suite libraries that I haven't installed yet?

guruofquality commented 5 years ago

Is it looking for other lms-suite libraries that I haven't installed yet?

You should probably build with verbose on, as far as I can tell it failed to link to some graphics library. Maybe you have some bad opengl stuff in stalled.