Giter VIP home page Giter VIP logo

Comments (11)

pixelnerve avatar pixelnerve commented on June 29, 2024

What openni version are you using?

from blockopenni.

jimmyharris avatar jimmyharris commented on June 29, 2024

OpenNI 1.1.0.41 .

Nite 1.3.1.5

Avin2's sensor kinect (5.0.1.32).

from blockopenni.

jimmyharris avatar jimmyharris commented on June 29, 2024

All of those are binary distributions.

from blockopenni.

glowa avatar glowa commented on June 29, 2024

I am using Xcode 4.02 and have the same errors while building BlockOpenNISkeleton (I've tried on older MacBook Pro and on new iMac with Intel Core i3 - so I guess hardware is not a problem)

I used http://kinecthesis.bakedmac.com/2011/01/11/installing-openni-kinect-drivers-and-nite-on-mac-os-x-10-6/ guide to install kinect stuff

and

marcinignac 28-Jan-2011 05:43 PM post on http://forum.libcinder.org/#Topic/23286000000584092 to run example

any ideas to solve that problem??

from blockopenni.

glowa avatar glowa commented on June 29, 2024

I have the same versions as jimmyharris

from blockopenni.

jimmyharris avatar jimmyharris commented on June 29, 2024

I have found the problem but not a specific solution. std::exception(const char *) is a windows specific extension of the C++ standard library. It is not apart of the C++ standard, and is not supported by gcc. I had to replace those lines with the DEBUG_MESSAGE macros present previously. This doesn't accomplish the same thing but it works decently well for my purposes.

from blockopenni.

glowa avatar glowa commented on June 29, 2024

OK
and what about the first error:
No matching function for call to 'xn::Context::CreateProductionTree(xn::NodeInfo)'

from blockopenni.

jimmyharris avatar jimmyharris commented on June 29, 2024

xn::CreateProductionTree wants a ref to an xn:NodeInfo object. I was never able to get this to compile properly so I had to roll back the multiple device support. My stable branch should. Compile on os x.

from blockopenni.

jeremyfromearth avatar jeremyfromearth commented on June 29, 2024

Hello,

First of all, thanks for all of your work on BlockOpenNI. I just finished my first project using a Kinect ( will post to Cinder forum once it is installed ) and since that project is done I thought it would be a good time to update.

After uninstalling all previous drivers and re-installing the most recent versions of Nite, OpenNI & SensorKinect on SnowLeopard, I'm seeing this exact same error. Compilation is halted because there is no method definition for "xnCreateProductionTree" that expects a single param. This method is being called four times in VOpenNIDevice.cpp with only the first parameter being supplied.

Thoughts? Work arounds?

Thanks,
~Jeremy

from blockopenni.

jeremyfromearth avatar jeremyfromearth commented on June 29, 2024

You can find a fix for this problem here:

http://forum.libcinder.org/topic/openni-libs-for-kinect#23286000000791013

from blockopenni.

jimmyharris avatar jimmyharris commented on June 29, 2024

Thanks, That was the solution I came up with. I was commenting from my iPhone which made proper formatting challenging.

from blockopenni.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.