leapmotion / VRIntro

Leap Motion's intro to VR
56 stars 19 forks source link

Source code #2

Closed darktyphoon closed 10 years ago

darktyphoon commented 10 years ago

What's the timeline look like for sharing the source code? I'm extremely excited to see how you so successfully linked the Leap Projection to the Oculus. I'd been planning to do the same thing myself and it looks like you already did all the work! :)

wmisha commented 10 years ago

Hi darktyphoon,

Thank you for your patience! We just released the source to Windows 32-bit. Mac is coming soon.

The code is slightly rough on the edges at the moment. Let me know if you have any trouble compiling.

Jimmy

darktyphoon commented 10 years ago

Hey Jimmy,

Thanks for the quick turn around, I only asked for a timeline and got source code! :)

I'm not much of a windows/cmake user but it looks like I might have hit a hiccup on some of the external dependency paths (like Components and Eigen_INCLUDE_DIR). I'll stub the paths for them out in the CMakeLists file and once I get it working shoot you a pull request if you like.

darktyphoon commented 10 years ago

I've got cmake mostly behaving on my system but MSVC is erroring on the link stage with: Error LNK1104: cannot open file 'atls.lib'

I don't see this file in any of my build directories or includes. I pulled the latest LeapSDK (LeapDeveloperKit_2.1.2+21921_win) and external libraries (https://leapmotion.box.com/s/hy6cq89y2gze2o97s8t1). Do I need to update my OculusSDK to 4.2.x too?

wmisha commented 10 years ago

A cursory glance at my own machine reveals that atls.lib resides in the directory "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\lib".

You don't need oculus 0.4.2, although it should work with that one too.

darktyphoon commented 10 years ago

Found the issue, sadly don't have a "free" solution at the moment.

MFC and ATL support is only available in MSVS Professional 2012 and higher (specifically not in Express). http://msdn.microsoft.com/en-us/library/hh967573.aspx

Thanks for the help Jimmy, it looks like for now I won't be able to build the code.