macos-mojave

OpenGL Black Screen and Gamma Correction after update to MacOs Mojave 10.14?

人走茶凉 提交于 2019-12-24 01:36:35
问题 I accidentally updated my Mac, and OpenGL is now deprecated in the latest MacOS Mojave. I'm using OpenGL + GLUT (I know this is old, but I just need a simple program) and run on terminal (not using Xcode). With the same program that has been working perfectly in Sierra, I got so many OpenGL deprecated warnings in Mojave and managed to suppress all the warning using -Wno-deprecated-declarations , but now I only get black screen. I read a lot of same issues with black screen on OpenGL after

How to do the hello_world example from GitHub:linuxkit/linuxkit?

送分小仙女□ 提交于 2019-12-23 22:32:11
问题 Situation and Problem I am trying to follow this guide on "how to make your own linuxkit with docker for mac", where you can add some kernel modules usually not present in docker images. After a lot of reading and testing I am failing to do the simplest (one would think) test case in the repository: linuxkit/test/cases/020_kernel/011_kmod_4.9.x/ https://github.com/linuxkit/linuxkit/tree/master/test/cases/020_kernel/011_kmod_4.9.x checking the container for the linux kernel-version and config:

Making OpenGL coexist with Core Animation on macOS

人盡茶涼 提交于 2019-12-21 23:25:04
问题 Is it possible for a layer-backed NSView to correctly do OpenGL rendering in drawRect: , or is it necessary to use NSOpenGLLayer / CAOpenGLLayer ? Until recently, I haven't needed to worry about that, I just used a non-layer-backed view. But as stated in the AppKit release notes for 10.14: Windows in apps linked against the macOS 10.14 SDK are displayed using Core Animation when the app is running in macOS 10.14. To show how this breaks my rendering, I put together a sample app, with code

macOS X Mojave 10.14 Beta FTDI USB Serial Driver

纵饮孤独 提交于 2019-12-21 20:23:08
问题 I just installed macOS Mojave 10.14 Beta and when i connect an Arduino to the USB port, nothing appears in my Arduino IDE ports list. if i try ls /dev/tty.* i just see /dev/tty.Bluetooth-Incoming-Port connected. On macOS 10.13 everything was working ok. I tried reinstalling the driver ( http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_4_2.dmg ) many times, I also tried following https://learn.sparkfun.com/tutorials/how-to-install-ftdi-drivers/mac but the port never appear.

Cannot install any version of ruby on Mojave - internal ranlib command failed

江枫思渺然 提交于 2019-12-21 04:32:19
问题 I know there are a few silimar issues to this one, but I cannot find one that matches my issue. I cannot install any version of ruby with either rvm nor rbenv. Both result in the same error. For example, here's an extract for the logs when installing ruby 2.5.3: compiling loadpath.c making srcs under enc linking static-library libruby.2.5.3-static.a make[1]: Nothing to be done for `srcs'. generating transdb.h /opt/local/bin/ranlib: object: libruby.2.5.3-static.a(dln.o) malformed object

macOS Mojave: invalid active developer path after updating to Mojave from High Sierra

戏子无情 提交于 2019-12-20 12:39:05
问题 After upgrading to macOS Mojave, I tried to run GIT from Terminal but it kept giving me the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun. Previously it was working fine. 回答1: Open Terminal, and run the following: xcode-select --install This will download and install xcode developer tools and fix the problem. The problem is that one needs to explicitly agree to the license

Cannot install brew on Mojave with Xcode 10

巧了我就是萌 提交于 2019-12-20 08:53:52
问题 I can not install any brew packages on my mac with the following error info. Installed on my Mac: macOS 10.14 Beta (18A293u) Xcode 9.3 (9E145) Xcode 10.0 beta (10L176w) Type in brew install xxx . The output is: Error: Your Xcode (9.3) is too outdated. Please update to Xcode 10.0 (or delete it). Xcode can be updated from https://developer.apple.com/download/more/ Error: Xcode alone is not sufficient on Mojave. Install the Command Line Tools: xcode-select --install But as I type in xcode-select

Java 7 supported JavaFx application is not running on Mojave

北战南征 提交于 2019-12-20 06:23:22
问题 My application supported on: Jdk1.7.0_76, JavaFx2.2.76_b13, Netbeans IDE, Ant for building and creating installer. Supported on Windows and Mac. It's running successfully till High-Sierra When I tried to run .app file on Mojave it is giving Unable to load Info.plist exceptions (eGPUOverrides) And when I tried to run jar file it gives following error Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Application at java.lang.ClassLoader.defineClass1(Native Method) at

Stop NSView drawRect clearing before drawing? (lockFocus no longer working on macOS 10.14)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-20 03:52:38
问题 I have an animation using two views where I would call lockFocus and get at the graphics context of the second NSView with [[NSGraphicsContext currentContext] graphicsPort], and draw. That worked fine until macOS 10.14 (Mojave). Found a reference here: https://developer.apple.com/videos/play/wwdc2018/209/ At 22:40 they talk about the "legacy" backing store that has changed. The above lockFocus and context pattern was big on the screen, saying that that won't work any more. And that is true.

Where are the C headers in MacOS Mojave?

早过忘川 提交于 2019-12-19 19:52:04
问题 It seems that Apple keeps on moving their tools around and the old solution of installing the command line tools are with using xcode-select --install doesn't work. In Mojave, xcode-select doesn't install anything anymore (the GUI always fails to find the package) and the command line tools don't install itself in /usr/ or /usr/local . 回答1: xcode-select --install did work for me in Mojave. Maybe you can try installing XCode from Mac App Store, and then install developer tools? Regarding