Giter VIP home page Giter VIP logo

Comments (2)

ssgraham767 avatar ssgraham767 commented on June 11, 2024 1

@hot-portafilter & @domlysz

Its a bit clunky but I have managed to fix this (on OSX) with a couple changes. The issue is that there is no freeimage support for ARM architectures from the source provided in the FAQ. However, homebrew has a version that works.

So...

  1. Run brew install freeimage
  2. brew list freeimage to locate the installed files.
  3. Copy the appropriate dylib into your freeimage folder. In my case, I put libfreeimage.3.18.0.dylib into /Users/yourUserHere/Library/Application Support/Blender/3.6/scripts/addons/BlenderGIS-master/core/lib/imageio/resources/freeimage (add the freeimage directory if it does not yet exist)
  4. Open /Users/yourUserHere/Library/Application Support/Blender/3.6/scripts/addons/BlenderGIS-master/core/lib/imageio/plugins/_freeimage.py in a code editor
  5. Edit lines 31-38 to match the following:
FNAME_PER_PLATFORM = {
    'osx32': 'libfreeimage.3.18.0.dylib',  # universal library
    'osx64': 'libfreeimage.3.18.0.dylib',
    'win32': 'FreeImage-3.15.4-win32.dll',
    'win64': 'FreeImage-3.15.1-win64.dll',
    'linux32': 'libfreeimage-3.16.0-linux32.so',
    'linux64': 'libfreeimage-3.16.0-linux64.so',
}

You probably only need to alter the pointer for osx64. I just did both to be sure. Make it match the name of your copied dylib file (in my case, libfreeimage.3.18.0.dylib).

For me, Blender's buttons don't work while navigating the map. So, use command++ to zoom, and e to select an area. After doing so, your buttons should work again—or at least they do for me. Now, hopefully, you can proceed.

Hope this helps!

EDIT: I have added a partial fix in pull request #852
It has a slightly cleaner fix than the one shown above. Assuming you are on mac, you can download the arm64-freeimage-support branch on my fork (https://github.com/ssgraham767/BlenderGIS/tree/arm64-freeimage-support) and this should work for you without having to do the steps above.

from blendergis.

frankievx avatar frankievx commented on June 11, 2024

You're a legend! Thank you, this fixed my issue on my M2 Macbook Pro Sonoma 14.1.1! I installed using the branch on your fork

from blendergis.

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.