Ok, here's my work transcript from yesterday.  It looks like we still
need to sort out the Mono/OpenNI.dll building and installing.  But this
is some of what I did and the errors I was trying to fix in

added mono-gmcs and libmono-winforms2.0-cil as depends since the package
building done by update-primesense-nite script needs them.

first build attempt failed because it was missing libopenni
/tmp/primesense-nite.6105 /tmp/primesense-nite-nonfree.UyPwDp8h5m
/tmp/primesense-nite.6105 /tmp/primesense-nite-nonfree.UyPwDp8h5m
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor):
-g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin:
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin:
vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor):
-g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package primesense-nite-nonfree
dpkg-buildpackage: source version
dpkg-buildpackage: source changed by Cosimo Alfarano <ka...@debian.org>
 dpkg-source --before-build openni-modules-primesense-nite-nonfree
dpkg-buildpackage: host architecture i386
dpkg-checkbuilddeps: Unmet build dependencies: libopenni (>=
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1335:
dpkg-buildpackage -rfakeroot -D -us -uc failed

second attempt failed at missing quilt

third attempt failed at missing libopenni-dev
g++ -g -O2 -malign-double -O3 -fno-tree-pre -fno-strict-aliasing
-DNDEBUG -msse3 -mssse3 -I../Players -I/usr/include/nite
-I/usr/include/ni -DUSE_GLUT -DXN_SSE -M -MF Release/main.d -MT
"./Release/main.o Release/main.d" ../Players/main.cpp
../Players/main.cpp:8:22: fatal error: XnOpenNI.h: No such file or

fourth attempt was downloading the 64-bit tarball on a 32-bit machine

g++ -o ../Bin/Sample-Players ./Release/main.o ./Release/SceneDrawer.o
./Release/kbhit.o ./Release/signal_catch.o -L../../Bin -lGL  -L../Bin
-lglut -lOpenNI -lXnVNite_1_3_1
/usr/bin/ld: skipping incompatible ../../Bin/libXnVNite_1_3_1.so when
searching for -lXnVNite_1_3_1
/usr/bin/ld: cannot find -lXnVNite_1_3_1
collect2: ld returned 1 exit status

last attempt today failed on missing OpenNI.net.dll
gmcs -out:../Bin/Sample-Boxes.net.exe -target:winexe -unsafe -o+
-r:OpenNI.net.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll
-r:../Bin/XnVNite.net_1_3_1.dll ../Boxes.net/*.cs
error CS0006: cannot find metadata file `OpenNI.net.dll'
Compilation failed: 1 error(s), 0 warnings
make[3]: *** [../Bin/Sample-Boxes.net.exe] Error 1

I think there is a way to stop the primesense-nite installer from
building the examples.  Those are the Mono C# .NET things, so we could
start by leaving the Sample apps out.


pkg-multimedia-maintainers mailing list

Reply via email to