doug/depthjs — Issue #26: Compilation of webkit-plugin-mac on Lion / Xcode 4.2
Author: plutobium
Created: 2011-11-25 09:11:31+00:00
State: open

Hi!

I am trying to build the webkit plugin on Lion and I am getting :

1. Is it possible to compile the webkit plugin on OS X 10.7.2 (Lion) with Xcode 4.2?

2. How can I get the versions of OpenNI and NITE, that are mentioned in the readme?
Should the compilation it also work with newer builds of those?

Right now (Nov 25, 2011), I can only find:

- nite-bin-macosx-v1.5.0.2.tar.bz2
- openni-bin-dev-macosx-v1.4.0.2.tar.bz2

on OpenNI.org

3. Is it possible to obtain a pre-compiled webkit plugin?

The Chrome plugin works for me, but I want some Safari specific features, hence the attempt to compile the plugin.

First I ran into this in guesture_engine.cpp:

Taking the address of a temporary object of type 'CvMat' (aka 'CvMat') at 6 places:

312: classifier.train(&((CvMat)dataAfterPCA), &((CvMat)labelMat));
392: cvLogPolar(&((IplImage)blobEdge), &((IplImage)logPolar), Point2f(blb[0],blb[1]), 80.0);
652: classifier.find_nearest(&((CvMat)samplesAfterPCA), 1, &((CvMat)results));

then this:

ld: warning: ignoring file /Users/[...]/Desktop/3rdParty/nite-bin-macosx-v1.5.0.1/Bin/libXnVNite_1_4_1.so,
file was built for unsupported file format which is not the architecture being linked (i386), which is strange, since Nite is supposed to be 32/64 bit.

Working very well on Chrome, but I need some specific Safari hardware acceleration features.
I really would love this to work :-). Any ideas are very welcome!

Thanks lots!
Tobi.