Archived - Installing Intel® RealSense™ SDK on a Mac*

The Intel® RealSense™ SDK has been discontinued. No ongoing support or updates will be available.

Introduction

Intel® RealSense™ technology is becoming popular with developers, and along with the buzz comes numerous (and inevitable) questions regarding its functionalities. One of the most-asked questions is how to get the Intel® RealSense™ SDK running on a Mac*.  The following step-by-step guide shows you how to run the SDK sample apps with an Intel® RealSense™ camera on a Mac through Boot Camp*.

Running an Intel® RealSense™ SDK Sample on a Macbook Air*
Running an Intel® RealSense™ SDK Sample on a Macbook Air* through Boot Camp*

 

Getting Started

First, you’ll need the following:

To determine if you have a 4th generation Intel® Core™ processor (code name Haswell) or later system, open Terminal and type the following command:

sysctl -n machdep.cpu.brand_string

That should return something that looks like this:

Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz

If you’re not familiar with the Intel processor naming system, look at the 4-digit number after the i3/i5/i7. If the first digit (the “thousand’s place”) is a 4 or higher, then you are good to go. Also, to see the list of all the 4th generation and 5th generation processors, click the appropriate link. 

Intel® RealSense™ Camera F200
Intel® RealSense™ Camera F200

 

Installing Windows Through Boot Camp

Use Cmd+space or click the top right-hand corner magnifying glass on the desktop to launch Spotlight* and plainly search “Boot Camp”. “Boot Camp Assistant” should subsequently appear.

Finding Boot Camp* Assistant through Spotlight*
Finding Boot Camp* Assistant through Spotlight*

The Boot Camp Assistant will transfer the Windows installation files from either an ISO file or a USB drive.  At this point, Windows will install itself onto your Mac via the USB drive, along with the latest Windows drivers. The application will conveniently guide you through the course of resizing your Mac device’s current system partition and producing a Windows partition.

Installing Windows* through Boot Camp* Assistant
Installing Windows* through Boot Camp* Assistant

To begin, select the tasks you want to perform. It is recommended you leave all these options checked. However, if you already have a Boot Camp USB drive or have already partitioned your Mac, feel free to uncheck these options to speed the process up. This scenario is usually used by those who plan to install Windows on more than one Mac and have already made a USB drive.

Selecting tasks to perform on Boot Camp* Assistant
Selecting tasks to perform on Boot Camp* Assistant

Next, point your Mac at the ISO file or USB drive. Insert a USB flash drive and select it. Please keep in mind that this drive will be deleted, so you should take precautions and back up valuable files.

Your Mac will now create the proper Windows installer drive; you should see the notification that reads “Copying Windows files.” Depending on your drive’s rate of speed, this process may take quite a while. It is common for the progress bar to periodically appear stagnant and unmoving; please be patient when this occurs.

Copying Windows* files to USB drive
Copying Windows* files to USB drive

When the process is complete and your Mac has successfully completed the creation of a USB installation drive, you will come across the “Create a Partition” screen. At this point, you may split your Mac system drive into two parts: one partition for Mac OS X and another for Windows. You can determine how much space to allot to your Windows system and OS X system—32GB or more is recommended for your Windows partition. If you have several hard disks on your Mac, you may choose to dedicate one specifically to Windows. 

Unfortunately, Boot Camp Assistant will not be able to resize your partitions after the completion of this process; you will need to use a third-party tool to do so.

Partitioning Windows* drive
Partitioning Windows* drive

Windows will now complete the installation process. Afterwards, the Boot Camp installer will appear and install all appropriate Windows system hardware drivers and utilities.

When the Boot Camp installer completes its tasks, you can remove the USB drive. If you do not plan to perform the installation process on another Mac, you are done with your USB drive.

 

NTFS error

Since Boot Camp formats the Windows drive to FAT32 partition and Windows 8.1 only supports NTFS partition, you will probably receive the following error during installation:

“Windows cannot be installed to this hard disk space. Windows must be installed to a partition formatted as NTFS.”

Make sure you select the “BOOTCAMP” partition. You should have a “format” option to click that will reformat the drive to NTFS so that you may continue the Windows installation process.

NTFS error during windows installation process

 

Installing the Intel® RealSense™ SDK on Boot Camp

You’ll notice that the process of installing the Intel RealSense SDK onto Boot Camp is the same as the usual Windows installation process.

Step 1: Plug your Intel RealSense Camera into one of the USB3 ports on your Mac.

Step 2: Follow the instructions on the Intel RealSense SDK download page to install the Intel® RealSense™ Depth Camera Manager (DCM), which includes the Camera Virtual Driver and Depth Camera Manager Service, and then the SDK.

Plugging the F200 camera into the USB3 port on the Macbook*
Plugging the F200 camera into the USB3 port on the Macbook*

Step 3: Depending on the version of Windows 8.1, Media Feature Pack may not be included.  Simply download it and continue the installation if needed.  Media Feature Pack is required for the installation of the Intel RealSense SDK.

Step 4: When the SDK is installed, try running the Samples Apps. You can find them in a desktop icon folder called “Intel RealSense SDK 2014.” The directory’s name is C:\Program Files (x86)\Intel\RSSDK\sample if the SDK is installed in the default location.

Running an Intel® RealSense™ SDK Sample on a Macbook Air*
Running the SDK Sample on Macbook Air*

Step 5: Code samples can be modified and used through Visual Studio.

And there you have it! Intel RealSense technology is officially running on your Mac.

 

That’s a Wrap

As you have gathered by now, the steps needed to successfully run Intel RealSense technology on a Mac are relatively straightforward and simple using the Apple Boot Camp application.

You can use other virtual machine tools such as Parallels, VMWare Fusion*, and Virtual Box, but the USB3’s simulation isn’t the same as running OS natively. Simply put, the installation can be still accomplished, but the camera will fail to load up.

 

About the Author

Peter Ma has over 14 years of experience developing web, mobile, and IoT applications. His experience includes database, web back-end, web front-end, mobile (Android* and iOS*), and IoT development. He is an Intel® Software Innovator who has developed several demos through the application of Intel® technologies. Currently, Peter is a Rapid Prototype Specialist, consulting for both large corporations and startups. He attends many hackathons in his spare time and often wins!

For more complete information about compiler optimizations, see our Optimization Notice.

1 comment

Top
luke E.'s picture

Hi Peter, thanks for this article.  I'm trying to get an Intel RealSense SR300 working with my Macbook Pro.  The CPU is up to spec - but one main difference is that I'm running VMware Fusion with Windows 10 build 10586.  I'm using a MacBook Pro (Retina, 13-inch, Mid 2014) which has 2 x USB3.0 ports.  When I connect the SR300 to my Mac (running OSX 10.11.2) the device shows up on the internal USB3.0 hub as 'Intel RealSense(TM) Camera SR300.  Another device also shows up on below the USB 3.0 Hub under USB2.0 Hub as Creative VF0800.  I'm running VMware Fusion v8.1.1 on my Mac with a virtual machine running Windows 10 Pro (version 1511 OS Build 10586.318).  I'm running v8.0.24.6528 of the Intel Realsense SDK.  When I connect the SR300 to the USB3.0 port on my Mac it asks me if I want to connect the device to my Mac or to the Windows VM so I selecting the Windows option.  In Device Manager I can see Creative VF0800 under Audio inputs and outputs.  It also shows under Sound, video and game controllers.  It does not show under Image Devices.  I can only see VMware Virtual USB Video Device under Image Devices.  Under USB devices it shows up as a USB Composite Device using a standard Microsoft driver.  When I run the Camera Explorer app it says there are no cameras connected.  I then tried to install the SR300 device driver using the intel_rs_dcm_sr300_3.1.25.2599.exe file.  The installation fails with 'The installer failed to detect an Intel® RealSense™ 3D camera on this system. The installation was terminated.'  I installed USBDeview which shows the Creative VF0800 device.  I can't see any entry for the SR300 camera.  I’ve tried switching the VMware Virtual USB Video Device (built in cam) to use the Intel Realsense Camera but that doesn’t seem to resolve the issue.  The only difference is that the green light on the front of the SR300 lights up when I select the SR300 in the VMware Fusion Camera options window.

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.