macos-catalina

Qemu not responding after upgrading to macOS Catalina

◇◆丶佛笑我妖孽 提交于 2021-02-07 20:59:43
问题 After upgrading my Mac to Catalina, I can't use qemu anymore. Whenever I try to start it, it just hangs. The menu bar also doesn't respond while the qemu window is active. Running qemu-system-i386 --help does work though. Qemu version: 4.1.0 Edit: Passing -nographic fixes the issue. 回答1: This is the result of a change in behaviour in Catalina which breaks an assumption in the design of the QEMU Cocoa front-end. We've put in a change to the QEMU code (upstream git commit dff742ad27efa474)

How to capture USB traffic with Wireshark in OSX Catalina (10.15)

僤鯓⒐⒋嵵緔 提交于 2021-02-07 20:59:29
问题 I am trying to get Wireshark USB captures working. Apparently the trick prior to Catalina was to just bring the interface up so that Wireshark could see it. https://forums.developer.apple.com/thread/95380 However, this does not work in Catalina because the USB hubs are not shown as interfaces any longer. Is there another known way to "bring up" these interfaces in OSX? Perhaps a new system policy setting? How would one go about finding such a thing? It might just be broken now. I imagine

How to capture USB traffic with Wireshark in OSX Catalina (10.15)

拟墨画扇 提交于 2021-02-07 20:58:43
问题 I am trying to get Wireshark USB captures working. Apparently the trick prior to Catalina was to just bring the interface up so that Wireshark could see it. https://forums.developer.apple.com/thread/95380 However, this does not work in Catalina because the USB hubs are not shown as interfaces any longer. Is there another known way to "bring up" these interfaces in OSX? Perhaps a new system policy setting? How would one go about finding such a thing? It might just be broken now. I imagine

Qemu not responding after upgrading to macOS Catalina

安稳与你 提交于 2021-02-07 20:57:58
问题 After upgrading my Mac to Catalina, I can't use qemu anymore. Whenever I try to start it, it just hangs. The menu bar also doesn't respond while the qemu window is active. Running qemu-system-i386 --help does work though. Qemu version: 4.1.0 Edit: Passing -nographic fixes the issue. 回答1: This is the result of a change in behaviour in Catalina which breaks an assumption in the design of the QEMU Cocoa front-end. We've put in a change to the QEMU code (upstream git commit dff742ad27efa474)

Sass is not working & Can't install ruby-sass on macOS Catalina

可紊 提交于 2021-02-07 08:30:38
问题 Ruby sass is not working after upgrading to macOS Catalina beta. When I run sudo gem install sass , I'm getting an error: ERROR: Error installing sass: ERROR: Failed to build gem native extension. current directory: /Library/Ruby/Gems/2.6.0/gems/ffi-1.11.1/ext/ffi_c /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /Library/Ruby/Site/2.6.0 -r ./siteconf20191007-37566-177grvx.rb extconf.rb mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby

ASWebAuthenticationSession in MacOS 10.15 (Catalina)

爷,独闯天下 提交于 2021-02-07 07:57:32
问题 I am trying to implement the new ASWebAuthenticationSession in MacOS 10.15 and I'm getting a bit confused about the callbackURLScheme . The header file for ASWebAuthenticationSession says: The callback URL usually has a custom URL scheme. For the app to receive the callback URL, it needs to either register the custom URL scheme in its Info.plist, or set the scheme to callbackURLScheme argument in the initializer. So I initialize like this: self.webAuthSession = [[ASWebAuthenticationSession

ASWebAuthenticationSession in MacOS 10.15 (Catalina)

落爺英雄遲暮 提交于 2021-02-07 07:55:03
问题 I am trying to implement the new ASWebAuthenticationSession in MacOS 10.15 and I'm getting a bit confused about the callbackURLScheme . The header file for ASWebAuthenticationSession says: The callback URL usually has a custom URL scheme. For the app to receive the callback URL, it needs to either register the custom URL scheme in its Info.plist, or set the scheme to callbackURLScheme argument in the initializer. So I initialize like this: self.webAuthSession = [[ASWebAuthenticationSession

ASWebAuthenticationSession in MacOS 10.15 (Catalina)

依然范特西╮ 提交于 2021-02-07 07:55:03
问题 I am trying to implement the new ASWebAuthenticationSession in MacOS 10.15 and I'm getting a bit confused about the callbackURLScheme . The header file for ASWebAuthenticationSession says: The callback URL usually has a custom URL scheme. For the app to receive the callback URL, it needs to either register the custom URL scheme in its Info.plist, or set the scheme to callbackURLScheme argument in the initializer. So I initialize like this: self.webAuthSession = [[ASWebAuthenticationSession

MATLAB - Error compiling jpeg_read.c to create mexmaci64 file

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-05 07:57:05
问题 recently I moved my Matlab project from windows OS to Mac OS. so my jpeg_read.mexw64 file didn't work anymore and I needed to create a new mexmaci64 file that is compatible with Mac OS. I Downloaded JpegToolbox from here and then installed Libjpeg using: brew install libjpeg in Matlab I tried to use mex: >> mex -setup MEX configured to use 'Xcode with Clang' for C language compilation. To choose a different language, select one from the following: mex -setup C++ mex -setup FORTRAN MEX

How can I continue working on OpenGL with macOS Catalina 10.15.4?

早过忘川 提交于 2021-01-29 16:51:52
问题 I am trying to work with OpenGL on macOS Catalina 10.15.4 but there is a error; GL/glew.h GL/freeglut.h file not found! My code // main.cpp #include"GL/glew.h" // error; 'GL/glew.h' file not found #include"GL/freeglut.h" // error; 'GL/freeglut.h' file not found #include<iostream> #define GLEW_STATIC void display(void) { } int main(int argc, char *argv[]) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA); glutInitWindowPosition(500, 200); glutInitWindowSize(500