I'm trying to build on my Mac. OSX 10.6.6, Macbook, Intel, dual core,
pretty reasonable machine, I think.
When I run the ./RedistMaker tool on just what I check out of
githunb, I get:
*********************************
* PrimeSense OpenNI Redist *
* 2011-01-09 17:32:21 *
*********************************
* Taking version...
.23sion is 1
* Building OpenNI...
../../../../Source/OpenNI/XnBaseNode.cpp:1: error: -malign-double
makes no sense in the 64bit mode
make[1]: *** [Release/XnBaseNode.o] Error 1
make: *** [OpenNI] Error 2
g++ -MD -MP -MT "./Release/XnBaseNode.d Release/XnBaseNode.o" -c -
malign-double -fPIC -fvisibility=hidden -O2 -DNDEBUG -msse3 -
I../../../../Include -I../../../../Source -I../../../../Source/
External/TinyXml -DXN_EXPORTS -o Release/XnBaseNode.o ../../../../
Source/OpenNI/XnBaseNode.cpp
When I search out the -malign-double occurence (in /Platform/Linux-x86/
Build/CommonMakefile) and remove it, I get a huge pile of compile
errors from Redistmaker. Notably:
* Building OpenNI...
In file included from ../../../../Include/XnOS.h:32,
from ../../../../Include/XnDataTypes.h:32,
from ../../../../Include/XnBaseNode.h:31,
from ../../../../Source/OpenNI/XnBaseNode.cpp:25:
../../../../Include/XnPlatform.h:70:3: error: #error OpenNI Platform
Abstraction Layer - Unsupported Platform!
In file included from ../../../../Include/XnStatusCodes.h:32,
from ../../../../Include/XnMacros.h:32,
from ../../../../Include/XnOS.h:33,
from ../../../../Include/XnDataTypes.h:32,
from ../../../../Include/XnBaseNode.h:31,
from ../../../../Source/OpenNI/XnBaseNode.cpp:25:
../../../../Include/XnStatus.h:38: error: ‘XnUInt32’ does not name a
type
../../../../Include/XnStatus.h:41: error: ‘XnStatus’ does not name a
type
and lots of stuff that looks like that.
I work mostly in Java and Python, so maybe there's a bunch of stuff
that I just don't know to do in C++ land, but I think I did everything
according to what the README said. I assumed the Linux instructions
applied to OSX.
On Jan 8, 4:56 pm, matti <
matti.niinim...@gmail.com> wrote:
> Hi,
>
> I'm having trouble getting any of the examples to work.
>
> I always get the following error:
> Open failed: File not found!
> Press any key to continue . . .
>
> I've tried compiling and reinstalling everything multiple times, but
> without success.
>
> I'm on a 15" MBP (Early 2008/ MacBook Pro 4,1)
>
> Any help is much appreciated.
>
> Matti
>
> On Jan 7, 3:12 am, avin <
avinb...@gmail.com> wrote:
>
> > Hello all,
>
> > I have released a new version of my SensorKinect driver for OpenNI.
>
> > It includes all recent changes from the unstable branch of PrimeSense:
> > 1) MacOSX support
> > 2) MultiSensor support (Didn't test it, I only have one sensor).
> > 3) Added binary installers for Mac & Linux.
>
> > It's located in:
https://github.com/avin2/SensorKinect/tree/unstable
> > Precompiled bins at:
https://github.com/avin2/SensorKinect/tree/unstable/Bin
>
> > To use it you will need to install the new unstable released of OpenNI
> > unstable and NITE unstable:
http://www.openni.org/downloadfiles/openni-binaries/20-latest-unstabl......