Skip to content

No fonts in realsense-viewer GUI after compiling from source on Mac OS 10.13.6Β #4558

Closed

Description

@alifeinbinary

Hello everyone,
I'm having an issue when compiling from source on a Macbook Pro (late 2011) running Mac OS 10.13.6. XCode is installed and running properly. This is what the realsense-viewer GUI looks like after compiling. I've tried recompiling a number of times but the issue persists. I'm running 10.13.6 on my desktop, as well, but don't have this issue on that machine. The only flag I'm appending to cmake is -DBUILD_PYTHON_BINDINGS:bool=true
Screen Shot 2019-08-02 at 12 49 40 PM

the last few lines after running sudo make install might elude to the what's causing the issue. Any help would be much appreciated as I'm doing most of my development on the road these days. Cheers
Screen Shot 2019-08-02 at 12 50 49 PM

Activity

  1. dorodnic commented on Aug 4, 2019

    @dorodnic
    Contributor

    Hi @alifeinbinary
    This sometimes occurs when there is not enough texture memory for the font atlas.
    Try hard-coding the value: OVERSAMPLE to 1

  2. alifeinbinary commented on Aug 5, 2019

    @alifeinbinary
    Author

    @dorodnic where do I write this value? at the top of realsense-viewer.cpp?

  3. dorodnic commented on Aug 6, 2019

    @dorodnic
    Contributor

    You need to modify model-views.cpp line 117 from:
    const int OVERSAMPLE = config_file::instance().get(configurations::performance::font_oversample);
    to...
    const int OVERSAMPLE = 1;
    Save and rebuild the Viewer.

    Alternatively, you could edit file ~/.realsense-config.json, adding line:
    "performance.font_oversample": "1",
    anywhere in the file. This method would not require rebuilding the Viewer.

  4. alifeinbinary commented on Aug 15, 2019

    @alifeinbinary
    Author

    @dorodnic the first method you suggested worked for me, the second one did not. Just for future reference for anyone checking this thread. Thanks for your help!

  5. lacandelaria commented on Oct 12, 2020

    @lacandelaria

    Hello @alifeinbinary!
    I had managed to download and open the realsense Viewer on my Mac, and I had your same problem about fonts. Therefore I decided to delete it and went on using a PC.
    Now I need to download it again on another Mac for a project, but I can't just do it anymore. It seems like there is no way to do that by following those steps on the Intel site, as if in a few months the libraries had changed or something.
    Can I ask you how you did it? The errors I see are all about the CMakeLists.txt file, and I don't really know how to fix them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions