Trying to compile an .m file with DeployTool on MAC OSX - macos

I saw there are several discussions on the subject but none of them managed to help me solve mine.
I am trying to compile my Matlab proj. without much success.
I saw this video and pretty much followed it guidances: -> I used 'deploytool'.
When I tried to build the project, I got the below plot. The line has been showed a lot:
2013-03-10 14:29:21.014 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
Some discussions stated I need to do write "sudu matlab" somewhere but I do not know where...
Compilation plot:
ant:
mcc -o Untitled1 -W main:Untitled1 -T link:exe -d /Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src -w enable:specified_file_mismatch -w enable:repeated_file -w enable:switch_ignored -w enable:missing_lib_sentinel -w enable:demo_license -v /Users/Nimrod/Documents/MATLAB/Temp/temp.m
2013-03-10 14:29:17.073 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2013-03-10 14:29:17.075 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2013-03-10 14:29:41.167 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
Compiler version: 4.18 (R2012b)
Processing /Applications/MATLAB_R2012b.app/toolbox/matlab/mcc.enc
Processing /Applications/MATLAB_R2012b.app/toolbox/shared/spcuilib/mcc.enc
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file /Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/mccExcludedFiles.log contains a list of functions excluded from the CTF archive.
0 item(s) added.
Generating MATLAB path for the compil ed application...
Created 39 path items.
Begin validation of MEX files: Sun Mar 10 14:30:16 2013
End validation of MEX files: Sun Mar 10 14:30:16 2013
2013-03-10 14:30:16.783 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
2013-03-10 14:30:39.015 mcc[39814:4303] This process is attempting to exclude an item from Time Machine by path without administrator privileges. This is not supported.
Warning: Adding path "/Users/Nimrod/Documents/MATLAB/Temp" to Compiler path
instance.
Parsing file "/Users/Nimrod/Documents/MATLAB/Temp/temp.m"
    (Referenced from: "Compiler Command Line").
Parsing file "/Applications/MATLAB_R2012b.app/toolbox/compiler/deploy/deployprint.m"
    (Referenced from: "Compiler Command Line").
Parsing file "/Applications/MATLAB_R2012b.app/toolbox/compiler/deploy/printdlg.m"
    (Referenced from: "Compiler Command Line").
Deleting 0 temporary MEX authorization files.
Generating file "/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/readme.txt".
Generating file "/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/run_Untitled1.sh".
copy '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/Untitled1.app' '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/distrib/Untitled1.app'
copy '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/run_Untitled1.sh' '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/distrib/run_Untitled1.sh'
copy '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/src/readme.txt' '/Users/Nimrod/Documents/MATLAB/Temp/Untitled1/distrib/readme.txt'
When trying to run the app file I get the following crash:
Process: prelaunch [39864]
Path: /Users/USER/Documents/*/Untitled1.app/Contents/MacOS/prelaunch
Identifier: Untitled1
Version: 1
Code Type: X86-64 (Native)
Parent Process: launchd [134]
User ID: 501
Date/Time: 2013-03-10 14:37:28.848 +0200
OS Version: Mac OS X 10.8.2 (12C2034)
Report Version: 10
Interval Since Last Report: 9226 sec
Crashes Since Last Report: 5
Per-App Crashes Since Last Report: 5
Anonymous UUID: 6DB02735-2968-B918-129B-82542E2D0F24
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: #rpath/libmwcpp11compat.dylib
Referenced from: /Users/USER/Documents/*/Untitled1.app/Contents/MacOS/prelaunch
Reason: image not found
Binary Images:
0x100000000 - 0x100000ff7 +Untitled1 (1) /Users/USER/Documents/*/Untitled1.app/Contents/MacOS/prelaunch
0x7fff6205c000 - 0x7fff6209093f dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld
Model: MacBookPro9,1, BootROM MBP91.00D3.B08, 4 processors, Intel Core i7, 2.6 GHz, 8 GB, SMC 2.1f173
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 384 MB
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.98.100.14)
Bluetooth: Version 4.1.2f9 11046, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
PCI Card: pci11c1,5901, sppci_ieee1394openhci, Thunderbolt#62,0,0
PCI Card: Apple 57761-B0, sppci_ethernet, Thunderbolt#61,0,0
PCI Card: pci12d8,400e, sppci_usbopenhost, Thunderbolt#60,0,0
PCI Card: pci12d8,400e, sppci_usbopenhost, Thunderbolt#60,0,1
PCI Card: pci12d8,400f, USB Enhanced Host Controller, Thunderbolt#60,0,2
Serial ATA Device: APPLE HDD HTS547575A9E384, 750.16 GB
Serial ATA Device: HL-DT-ST DVDRW GS31N
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0x1a110000 / 3
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0x1d180000 / 3
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 6
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821d, 0x1d181300 / 7
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0253, 0x1d183000 / 5
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x1d182000 / 4
USB Device: hub_device, apple_vendor_id, 0x9127, 0x40100000 / 2
USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0x40130000 / 6
USB Device: Apple Keyboard, apple_vendor_id, 0x0250, 0x40132000 / 7
USB Device: Display Audio, apple_vendor_id, 0x1107, 0x40140000 / 5
USB Device: FaceTime HD Camera (Display), apple_vendor_id, 0x1112, 0x40150000 / 4
USB Device: Apple Thunderbolt Display, apple_vendor_id, 0x9227, 0x40170000 / 3

Related

agl-sota u-boot raspberrypi3 - Card did not respond to voltage select! Device 0: unknown device

I am building an automotive-grade-linux demo image using yocto for raspberrypi3.
I am adding a layer agl-sota for OTA feature. This is where my u-boot breaks.
While booting up according to defconfig CONFIG_ENV_EXT4_DEVICE_AND_PART="0:1" u-boot takes mmc0 which is sd card that can be verified through 'mmc info' and partition 1.
Yet it shows:
U-Boot 2020.10 (Jun 29 2020 - 03:06:40 +0000)
DRAM: 768 MiB
RPI 3 Model B (0xa02082)
MMC: mmc#7e202000: 0, sdhci#7e300000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
In: serial
Out: vidconsole
Err: vidconsole
Net: No ethernet found.
starting USB...
Bus usb#7e980000: USB DWC2
scanning bus usb#7e980000 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Card did not respond to voltage select!
Device 0: unknown device
Waiting for Ethernet connection... unable to connect.
...
...
u-boot >
'mmc info' output:
U-Boot> mmc info
Device: mmc#7e202000
Manufacturer ID: 3
OEM: 5344
Name: SU16G
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
What configuration issue is disallowing u-boot to boot the kernel.?
I am using raspberrypi imager for flashing the wic.xz image.

Xcode + OSX upgrade issue

ALL,
I hope someone here knows something about OSX and Xcode..
I have and had for a long time a Mac laptop with OSX 10.8. I did install the latest available Xcode for this version and was developing my program on it.
The compilation/linking process was working and I was able to successfully start the program from inside Xcode. And of course I was able to do debugging there.
Recently I bought myself a newer Mac laptop. I did install newer Xcode on it and since my program is located on GitHub cloned my repository there and tried to compile and run.
While compilation and linking were successful, executing failed, even before it even started (the failure was somewhere inside the Assembly code).
All libraries I'm using had been compiled with the same set of options. And compilation of my software was successful.
How do I find where/how to fix the issue?
I'm sure something inside Xcode changed which made the code generation fail. But how do I find what exactly?
Thank you.
[EDIT]
I just tried to run the program from the Terminal. Here is the output from the crash:
Process: dbhandler [11125]
Path: /Users/USER/*/dbhandler.app/Contents/MacOS/dbhandler
Identifier: abc.dbhandler
Version: 1.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: dbhandler [11125]
User ID: 501
Date/Time: 2019-03-31 15:58:19.681 -0500
OS Version: Mac OS X 10.13.6 (17G65)
Report Version: 12
Anonymous UUID: AB9F6124-7868-5E43-BBB7-1A7D8A2DEF30
Sleep/Wake UUID: 2F231255-E0CA-47D4-8FD1-08C6F47A0627
Time Awake Since Boot: 58000 seconds
Time Since Wake: 350 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: /usr/local/lib/liblibdbwindow.dylib
Referenced from: /Users/USER/*/dbhandler.app/Contents/MacOS/dbhandler
Reason: image not found
Binary Images:
0x109ff9000 - 0x10a02bff7 +abc.dbhandler (1.0 - 1) <F1A3B876-188B-3BCD-839F-D586CC3F400A> /Users/USER/*/dbhandler.app/Contents/MacOS/dbhandler
0x10a071000 - 0x10a113ff7 +libwx_osx_cocoau_xrc-3.1.1.0.0.dylib (0) <FCF4309C-08BD-3559-8E0F-47851DED7DE5> /Users/USER/*/libwx_osx_cocoau_xrc-3.1.1.0.0.dylib
0x10a1e1000 - 0x10a27cfff +libwx_osx_cocoau_html-3.1.1.0.0.dylib (0) <B24F932F-CA10-3FDF-8159-8E94046BA19D> /Users/USER/*/libwx_osx_cocoau_html-3.1.1.0.0.dylib
0x10a357000 - 0x10a378ff7 +libwx_osx_cocoau_qa-3.1.1.0.0.dylib (0) <F5CE0D9C-260C-3362-88CC-AE3D8D9F3119> /Users/USER/*/libwx_osx_cocoau_qa-3.1.1.0.0.dylib
0x10a3ad000 - 0x10a4d8fff +libwx_osx_cocoau_adv-3.1.1.0.0.dylib (0) <2AF1A22E-8DC9-30C3-898E-7BE762476889> /Users/USER/*/libwx_osx_cocoau_adv-3.1.1.0.0.dylib
0x10a6c3000 - 0x10abb9ff7 +libwx_osx_cocoau_core-3.1.1.0.0.dylib (0) <4EEDAE00-B05C-3D05-8488-7EC8F8F7A824> /Users/USER/*/libwx_osx_cocoau_core-3.1.1.0.0.dylib
0x10b0ad000 - 0x10b0c0fff +libwx_baseu_xml-3.1.1.0.0.dylib (0) <7CB5A2DA-A81D-3352-AE8D-D23ACBBC426D> /Users/USER/*/libwx_baseu_xml-3.1.1.0.0.dylib
0x10b0d7000 - 0x10b10cfff +libwx_baseu_net-3.1.1.0.0.dylib (0) <F758CDB6-A8A3-32A9-95D2-2155EBEB183B> /Users/USER/*/libwx_baseu_net-3.1.1.0.0.dylib
0x10b159000 - 0x10b348ff7 +libwx_baseu-3.1.1.0.0.dylib (0) <34B6DA7C-F404-3B1C-8EC9-F5FD781F0629> /Users/USER/*/libwx_baseu-3.1.1.0.0.dylib
0x10c57c000 - 0x10c5c6acf dyld (551.4) <8A72DE9C-A136-3506-AA02-4BA2B82DCAF3> /usr/lib/dyld
0x7fff51f5f000 - 0x7fff521edff7 com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <E0B8B5D8-80A0-308B-ABD6-F8612102B5D8> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff528c1000 - 0x7fff528c1fff com.apple.Carbon (158 - 158) <F8B370D9-2103-3276-821D-ACC756167F86> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff52dd3000 - 0x7fff52dd3fff com.apple.Cocoa (6.11 - 22) <78E6C28E-4308-3D10-AD14-0CBCF6789B3F> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff55dc4000 - 0x7fff55e5ffff com.apple.framework.IOKit (2.0.2 - 1445.71.1) <2EA4F383-CAA9-3AF0-99C5-90C22ADAA6B6> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff5db0d000 - 0x7fff5db1cff3 com.apple.opengl (16.7.4 - 16.7.4) <9BDE8FF9-5418-3C70-8D1C-09656884CE48> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff7916b000 - 0x7fff7916cffb libSystem.B.dylib (1252.50.4) <CD555F3B-FDDB-35E5-A2FB-FBBF3D62031A> /usr/lib/libSystem.B.dylib
Model: MacBookAir7,2, BootROM MBA71.0178.B00, 2 processors, Intel Core i5, 1.8 GHz, 8 GB, SMC 2.27f2
Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3130
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3130
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.37.31.1a9)
Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: USB 3.0 Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Air, Apple Inc., 27.2
The error said the the library can't be found.
This library is coming from my projectand it is written by me. But I don't see a way in the Xcode to install the project.
On top of that everything on the old Mac works out of the box.
Does this an indication of 32/64-bit incompatibility?
[/EDIT]
Something that might help is:
do you get some message on the output / issue navigator?
what type of program are you writing?
since this was a new install, did you also installed the command line tools?
if it is an iOS program do you have the right components?

Allwinner A13 hang on boot and return "SPL:Unsupported Boot Device!" error

I am new in here and I am sorry my bad English.
I have OLinuXino A13 board. I endeavor kernel and boot events. So I try boot OLinuxino-A13 via spiflash(in FEL mode). I connected board to my PC(USB OTG). I Sending commands from my computer for writing to spiflash. And differently I build second connect with usb-ttl. So I can see opening writing of board with CuteCom program from my PC. And I use sunxi-tools for write to spiflash of my board.
And I did this:
I compiled kernel and I created u-boot-sunxi-with-spl.bin file. After I entered FEL mode and I wrote this file to on my board with ./sunxi-fel spiflash-write 0 /path/u-boot-sunxi-with-spl.bin. When I use boot my board from PC with ./sunxi-fel uboot /path/u-boot-sunxi-with-spl.bin, my board start and it work for find to sd card. Result this:
U-Boot SPL 2019.04-rc1-00141-g63f7e3fca3 (Feb 19 2019 - 17:23:48 +0300)
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from FEL
U-Boot 2019.04-rc1-00141-g63f7e3fca3 (Feb 19 2019 - 17:23:48 +0300) Allwinner Technology
CPU: Allwinner A13 (SUN5I)
Model: Olimex A13-Olinuxino
I2C: ready
DRAM: 512 MiB
MMC: mmc#1c0f000: 0
Loading Environment from FAT... MMC: no card present
Setting up a 1024x768 vga console (overscan 0x0)
In: serial
Out: vga
Err: vga
Allwinner mUSB OTG (Peripheral)
Net:
Warning: usb_ether using MAC address from ROM
eth0: usb_ether
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08> 0
MMC: no card present
Device 0: unknown device
But differently if I restart my board after(card is out of fel mode) ./sunxi-fel spiflash-write 0 /path/u-boot-sunxi-with-spl.bin command. Result this:
U-Boot SPL 2019.04-rc1-00141-g63f7e3fca3 (Feb 19 2019 - 17:23:48 +0300)
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
SPL: Unsupported Boot Device!
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
A13-OLinuxino_defconfig file:
CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_SPL=y
CONFIG_MACH_SUN5I=y
CONFIG_DRAM_CLK=408
CONFIG_DRAM_EMR1=0
CONFIG_MMC0_CD_PIN="PG0"
CONFIG_USB0_VBUS_DET="PG1"
CONFIG_USB1_VBUS_PIN="PG11"
CONFIG_AXP_GPIO=y
# CONFIG_VIDEO_HDMI is not set
CONFIG_VIDEO_VGA_VIA_LCD=y
CONFIG_VIDEO_VGA_VIA_LCD_FORCE_SYNC_ACTIVE_HIGH=y
CONFIG_VIDEO_LCD_POWER="AXP0-0"
CONFIG_VIDEO_LCD_BL_PWM="PB2"
CONFIG_NR_DRAM_BANKS=1
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL_I2C_SUPPORT=y
CONFIG_CMD_DFU=y
# CONFIG_CMD_FLASH is not set
CONFIG_CMD_USB_MASS_STORAGE=y
# CONFIG_SPL_DOS_PARTITION is not set
# CONFIG_SPL_PARTITION_UUIDS is not set
CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino"
CONFIG_DFU_RAM=y
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
CONFIG_AXP_ALDO3_VOLT=3300
CONFIG_CONS_INDEX=2
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=yONFIG_AXP_ALDO3_VOLT=3300
CONFIG_CONS_INDEX=2
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
I struggle for exceed this error and want to see result like on above. How can I fix this error?

Error message: "Electron Framework: file too short" on USB stick

In my company, we have a problem with software that we are planning to distribute using USB sticks. We tested on various systems and everything worked fine, so we gave it to production. After production we tested the sticks again just to make sure, and none of the sticks worked on macOS.
Also, none of the old test sticks (before production) are working anymore, but also only on macOS.
We keep getting this error message. Can somebody help?
Process: im.puls Demo App [829]
Path: /Volumes/VOLUME/im.puls Demo starten.app/Contents/MacOS/im.puls Demo App
Identifier: com.electron.im.puls-demo-app
Version: 1.0.0 (1.0.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: im.puls Demo App [829]
User ID: 501
Date/Time: 2018-09-14 12:42:43.224 +0200
OS Version: Mac OS X 10.13.6 (17G65)
Report Version: 12
Anonymous UUID: 68179AF5-C5A1-96FF-0096-4C1D0024A6D9
Time Awake Since Boot: 4000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: #rpath/Electron Framework.framework/Electron Framework
Referenced from: /Volumes/VOLUME/im.puls Demo starten.app/Contents/MacOS/im.puls Demo App
Reason: no suitable image found. Did find:
/Volumes/IMPULS DEMO/im.puls Demo starten.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
/Volumes/IMPULS DEMO/im.puls Demo starten.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1
Binary Images:
0x101fb7000 - 0x101fb7ff7 +com.electron.im.puls-demo-app (1.0.0 - 1.0.0) <F8DFE287-C6B4-3716-B3B3-CDF539205B40> /Volumes/VOLUME/im.puls Demo starten.app/Contents/MacOS/im.puls Demo App
0x10ff40000 - 0x10ff8aacf dyld (551.4) <8A72DE9C-A136-3506-AA02-4BA2B82DCAF3> /usr/lib/dyld
0x7fff4ee9f000 - 0x7fff4efa3ffb com.apple.Bluetooth (6.0.7 - 6.0.7f10) <557F26F9-C7A0-34EA-A905-22E243BF6B48> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
Model: MacBookPro9,2, BootROM MBP91.00DA.B00, 2 processors, Intel Core i5, 2,5 GHz, 4 GB, SMC 2.2f44
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3230554638424455302D474E2D4620
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (7.21.190.18.1a3)
Bluetooth: Version 6.0.7f10, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD TOSHIBA MK5065GSXF, 500,11 GB
Serial ATA Device: HL-DT-ST DVDRW GS31N
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: Mass Storage
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1
I think this part of the message might be most important:
Dyld Error Message:
Library not loaded: #rpath/Electron Framework.framework/Electron Framework
Referenced from: /Volumes/VOLUME/im.puls Demo starten.app/Contents/MacOS/im.puls Demo App
Reason: no suitable image found. Did find:
/Volumes/IMPULS DEMO/im.puls Demo starten.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
/Volumes/IMPULS DEMO/im.puls Demo starten.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1

# of OpenCL devices on 2012 Macbook pro

I'm writing an openCL program on a mid 2012 13" macbook pro with the following specs:
Processor: 2.9 GHz Intel Core i7
Graphics: Intel HD Graphics 4000
In my program I do the following to check how many devices I have access to:
// get first platform
cl_platform_id platform;
err = clGetPlatformIDs(1, &platform, NULL);
// get device count
cl_uint gpuCount;
err = clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, 0, NULL, &gpuCount);
cl_uint cpuCount;
err |= clGetDeviceIDs(platform, CL_DEVICE_TYPE_CPU, 0, NULL, &cpuCount);
std::cout<<"NUM CPUS: "<<cpuCount<<" NUM GPUS: "<<gpuCount<<std::endl;
After execution, my program states that I have only one CPU and zero GPUs.
How can that be? Is openCL not compatible with Intel HD Graphics 4000 card? And I thought my computer had a dual core processor. So shouldn't there be 2 CPUs and 1 GPU?
Or am I simply not fetching the data correctly?
EDIT: I have found the issue. After upgrading my OS to Mavericks (was previously running Mountain Lion), openCL now recognizes my graphics card as a valid device.
Your processor has multiple cores, which are recognized as Compute Units. Run following code snippet & check that number of CU is as expected:
cl_device_id device;
cl_uint max_compute_units;
cl_int ret = clGetDeviceInfo(device, CL_DEVICE_MAX_COMPUTE_UNITS, sizeof(cl_uint), &max_compute_units, NULL);
printf("Number of computing units: %u\n", max_compute_units);
This doesn't answer your question, (and doesn't need downvoting please) but hopefully will help you work out what you have actually got installed. I would have posted it as a comment, but the formatting there would be useless.
If you want a legible list of your installed CPU and Graphics equipment, the following command does it nicely:
system_profiler | awk '/^Hardware/ || /^Graphics/{p=1;print;next} /^[A-Za-z]/{p=0} p'
Graphics/Displays:
AMD Radeon HD 6970M:
Chipset Model: AMD Radeon HD 6970M
Type: GPU
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 1024 MB
Vendor: ATI (0x1002)
Device ID: 0x6720
Revision ID: 0x0000
ROM Revision: 113-C2960H-203
EFI Driver Version: 01.00.560
Displays:
iMac:
Display Type: LCD
Resolution: 2560 x 1440
Pixel Depth: 32-Bit Color (ARGB8888)
Main Display: Yes
Mirror: Off
Online: Yes
Built-In: Yes
Hardware:
Hardware Overview:
Model Name: iMac
Model Identifier: iMac12,2
Processor Name: Intel Core i7
Processor Speed: 3.4 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 16 GB
Boot ROM Version: IM121.0047.B1F
SMC Version (system): 1.72f2
Serial Number (system): DGKH90PWDHJW
Hardware UUID: 1025AC04-9F8E-5342-9EF4-XXXXXXXXXXXXX
And also this for the actual CPU details:
sysctl -a | grep "brand_string"
machdep.cpu.brand_string: Intel(R) Core(TM) i7-2600 CPU # 3.40GHz
And this for OpenCL version:
system_profiler | grep -A 11 OpenCL:
OpenCL:
Version: 2.3.59
Obtained from: Apple
Last Modified: 19/09/2014 10:28
Kind: Intel
64-Bit (Intel): Yes
Signed by: Software Signing, Apple Code Signing Certification Authority, Apple Root CA
Get Info String: 2.3.59, Copyright 2008-2013 Apple Inc.
Location: /System/Library/Frameworks/OpenCL.framework
Private: No
P.S. If there is a better way to provide additonal, useful information (which is not really a proper answer) on SO than this, please let me know.

Resources