Code Monkey home page Code Monkey logo

Comments (7)

mharnold avatar mharnold commented on June 7, 2024

% brew gist-logs --config --doctor homebrew/science/osgearth
https://gist.github.com/2357545d4cc761cd9466

from homebrew-osgeo4mac.

mharnold avatar mharnold commented on June 7, 2024

I bravely (foolishly?) did
% brew link --overwrite python

made brew doctor happy. but didn't fix the problem with osgearth

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on June 7, 2024

Hi,

Thanks for reporting! The issue seems to stem from open-scene-graph not being built with qt support by default, i.e. OSGQT_LIBRARY is not available. However, my open-scene-graph is not compiled with qt support, but picked it up nonetheless, because I did a source build of open-scene-graph (it must auto-add the support if it finds Qt on the system).

If you poured open-scene-graph from a bottle, then it probably does not have the Qt lib, e.g. /usr/local/Cellar/open-scene-graph/3.2.0/lib/libosgQt.3.2.0.dylib probably doesn't exist.

Try building with brew install osgearth --without-qt. Oddly, if the default of --with-qt is defined, the formula should have prompted you to reinstall open-scene-graph --with-qt.

from homebrew-osgeo4mac.

mharnold avatar mharnold commented on June 7, 2024

/usr/local/Cellar/open-scene-graph contained just one empty sub-directory: 3.2.0_1.

"brew install osgearth --without-qt" completed without error.
running "brew install qgis-24" now.

Thanks for your quick response!

from homebrew-osgeo4mac.

mharnold avatar mharnold commented on June 7, 2024

qgis-24 installs new without errors. But coredumps on startup due to expat library problem. I will open a new issue on this.

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on June 7, 2024

Unfortunately, while osgearth --without-qt may compile, I think it is required for the Globe plugin (sorry, I didn't think about that earlier). This is why the requirement for open-scene-graph --with-qt.

So, in order to use the Globe plugin, I believe you need to drop back and compile OSG with QT support first, then osgEarth with Qt support. Alternatively, you can install brew install qgis-24 --without-globe to skip all of that, but not have the Globe plugin available.

from homebrew-osgeo4mac.

dakcarto avatar dakcarto commented on June 7, 2024

This should be fixed now in this repo's qgis-* formulae and upstream in homebrew/science/osgearth.

from homebrew-osgeo4mac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.