Building ffmpeg for Android using NDK in VirtualBox Ubuntu installation

This is a quick note about an issue I encountered when doing some Android development work that involved building ffmpeg from source.

My main dev machine uses Windows, and so to build the ffmpeg libraries for use in a video streaming application, I installed a VirtualBox machine with Ubuntu on it.

I was following this guide on how to set up ffmpeg using the Android NDK. However, on the “./configure” step, I kept getting an error saying: “No working C compiler found.”

Investigation of the config.log file generated by the script revealed the following error:

“Fatal error: invalid -march= option: `armv5te'”

Some Googling suggests that this is a result of missing symlinks for the assembler program, and that setting up the symlinks would tell the compiler which assembler to use.

However, when attempting to create the symlink, I got an error that it was not possible due to being a “Read-only file system.”

It turns out that when running VirtualBox with Windows as the host OS, symlinks aren’t possible in shared folders for security reasons. See this link.

So the simple solution, found after a few hours of learning to understand what was going on, was just to set up the NDK in a directory that was not a VirtualBox shared folder. After that, compilation appeared to work just find.

Slides for 2015 Eskenazi Trauma Symposium Presentation — “STAR: Using Augmented Reality Transparent Displays for Surgical Telementoring”

Andersen, Daniel. “STAR: Using Augmented Reality Transparent Displays for Surgical Telementoring.” Eskenazi Health 22nd Annual Trauma & Surgical Critical Care Symposium. Indianapolis, IN. 16 Oct 2015. Conference Presentation.

Oculus Rift 3D Medical Scan Viewer — University of Utah Bench-2-Bedside

For the past few months I have been working on a WebGL-based Chrome packaged app for viewing medical CT scans in a virtual environment using the Oculus Rift. This is for the University of Utah Bench-2-Bedside competition, which will be held April 9th. Here is a video of a couple of my team members demonstrating the system.