Open source, Open mind.

Tutorial on how to Compile and run our Oculus SDK App Skeleton

The purpose of this tutorial is to show you how to compile the project skeleton I have put together with autotools to easily get a Oculus SDK project up and running.

What we need first:

MacOS X 10.9 (at least)
Xcode and command line tools
XQuartz (required for SDL2)
SDL2 source code
Oculus MacOS X project skeleton


So first you download and install XQuartz this is needed for the X11R6 header files. The X11R6 libraries won't be required for your project to run. You can still statically link to SDL2 even though they removed from sdl2-config the actual flags to statically link SDL2 with the --static-libs flag. This is solved by simply manually saying where the library is. Example would be /usr/local/lib/libSDL2.a passed to the linking step of the compilation process. The reason why you would want to statically link to SDL2 is so the dylib is not required when you upload your project to the internet. For testing the dylib is fine but you don't want to have it be required for your application. Another way to solve this problem is to add the dylib to your project .app bundle and then change the link in the exectuable to the dylib in the .app bundle. This is beyond the scope of this tutorial and you can figure this out by doing a simple google search.

Once you download the SDL2 source archive extract it a directory and then enter that directory:

$ tar -xzvf SDL2-2.0.3.tar.gz

$ cd SDL2-2.0.3

$ ./configure

This may take a while but when it finishes type

$ make


Once thats finished type

$ sudo make install


Once its done it should look something like this, Testing the sdl2-config and see no X11 libs.



Next download and extract the Oculus SDK Skeleton project I created and enter the directory. Then configure the project.

$ ./configure


Next Build the project:

$ make


Then your all done it should look like this:



Next run the program...

$ cd source && ./AppSkeleton


And your up and running.



-Jared Bruni

Like this page

Notice

All The software on this site is free and Licensed under the GPL
Please Feel Free to Redistribute (As a Free Download) any of the software on this page.

Search

Loading search widget...

Updates View All

UPDATE @ Wed Jun 14 09:04:55 PDT 2017
Added new version of Acid Cam v2.1.9. New filters/menu design. Download.

UPDATE @ Sun May 14 09:59:54 PDT 2017
Acid Cam for macOS supports 4K resolution so added a sample in 4K on YouTube. Acid Cam v2 Qt is now supported on Raspberry Pi 3/Raspbian.

UPDATE @ Sun Jan 8 10:58:07 PST 2017
Added new version of Acid Cam (v2.1.1) and a few new blog posts. Be sure to check out my GitHub page.

UPDATE @ Thu Dec 15 16:42:56 PST 2016
Updated bug report page with current projects on GitHub. Been working on Acid Cam v2.1.0 and adding new videos to the YouTube channel.

UPDATE @ Sun Jun 19 00:37:30 PDT 2016
Added XChip project to the blog I helped work on with my friend on GitHub.

UPDATE @ Thu Apr 7 11:56:17 PDT 2016
Added new version of Acid Cam for MacOS X.

UPDATE @ Wed Apr 6 08:52:07 PDT 2016
You can now download Acid Cam from Google Play.

UPDATE @ Fri Apr 1 09:59:08 PDT 2016
Finally signed up for twitter you can follow me here.

UPDATE @ Wed Oct 28 10:45:42 PDT 2015
This site now has a BitTorrent Tracker so I can share larger files.

UPDATE @ Sat Sep 12 04:07:24 PDT 2015
Added fixed versions of Super Stoner 420 and Apps collection that fix the issues with the software when running on MacOS X Yosemite.

UPDATE @ Mon Jun 15 15:35:52 PDT 2015
Spent a long time trying to figure out why OpenCV would not compile on Yosemite. Figured it out and statically linked Acid Cam VR 1.1 with the libraries so you no longer need the MacPorts version of OpenCV installed to /opt/local for it work. It should work as long as you have the Oculus Runtime.

UPDATE @ Sat Jun 6 16:11:40 PDT 2015
Added Acid Cam VR for Oculus Rift DK2 to the site with a version for Windows and MacOS X.

UPDATE @ Sun May 17 14:39:14 PDT 2015
It seems the first version of Acid Cam (1.7.7) is incompatible with MacOS X Yosemite for some reason. So if you using Yosemite just pick up version 2 of the program.

UPDATE @ Tue May 12 14:48:53 PDT 2015
Bad news, seems apple deprecated and now dropped support for one of the libraries that SDL 1.2 that I used to compile the majority of the games on this site. So that means I have to recompile and repackage the majority of these programs to get them to work on Yosemite. So the last version supported was 10.9.

UPDATE @ Fri May 8 10:30:56 PDT 2015
Added our first program for the Oculus 2. It requires that you at least have have the Oculus 2 Runtime.

UPDATE @ Wed Feb 11 11:24:23 PST 2015
Added a few new posts to my blog and have been adding new examples to my C++11 Repository

UPDATE @ Sat Dec 13 17:27:03 PST 2014
Added up to date version of Acid Cam 2 for Microsoft Windows.

UPDATE @ Wed Dec 10 11:12:16 PST 2014
The Site has been redesigned and its looking great. Thanks to my friend Daniel Daley who designed the page.

UPDATE @ Thu Oct 9 11:12:06 PDT 2014
Added a image file with the different LostSideDead graphics programs I have created. AlphaFlame HD Launcher needs to be copied to /Applications .

UPDATE @ Thu Oct 2 17:32:12 PDT 2014
Added a new version of Acid Cam v2.0.17 for Ubuntu Linux

UPDATE @ Fri Sep 19 15:19:11 PDT 2014
Made this music video with Alpha Flame HD quite a while ago, check it out!

UPDATE @ Fri Sep 12 14:56:55 PDT 2014
Added a compressed Archive containing the source code for Acid Cam 2 to the site.

UPDATE @ Thu Sep 11 14:51:50 PDT 2014
Added a video demonstration of Acid Cam for iPhone.

UPDATE @ Fri Aug 29 12:20:41 PDT 2014
Updated Acid Cam to version 2.0.16. Added all the filters from AF_Filter and you can now jump to any frame when processing a video.

Follow Me

Facebook Youtube Google Plus