Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alifeinbinary opened this issue Aug 2, 2019 · 5 comments
Labels

Comments

@alifeinbinary
Copy link

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

@dorodnic
Copy link
Contributor

dorodnic commented Aug 4, 2019

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

@dorodnic dorodnic added the MacOS label Aug 4, 2019
@alifeinbinary
Copy link
Author

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

@dorodnic
Copy link
Contributor

dorodnic commented Aug 6, 2019

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.

@alifeinbinary
Copy link
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!

@lacandelaria
Copy link

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
Labels
Projects
None yet
Development

No branches or pull requests

3 participants