Comments (7)
Thanks for the report. The user color function is not used anywhere so I removed it in the two referenced commits (not tested). This should do the trick.
from omicron.
Wow! That was quick! Thanks.
But the build still fails later on. OpenNIService seems to rely on 'Colors':
..../omicron/src/omicron/omicron/OpenNIService.cpp:756:17: error: use of undeclared identifier
'nColors'; did you mean 'nColorID'?
nColorID = nColors;
^~~~~~~
nColorID
..../omicron/src/omicron/omicron/OpenNIService.cpp:753:14: note: 'nColorID' declared here
XnUInt32 nColorID = label % nColors;
^
..../omicron/src/omicron/omicron/OpenNIService.cpp:763:35: error: use of undeclared identifier 'Colors'
pDestImage[0] = nHistValue * Colors[nColorID][0];
^
..../omicron/src/omicron/omicron/OpenNIService.cpp:764:35: error: use of undeclared identifier 'Colors'
pDestImage[1] = nHistValue * Colors[nColorID][1];
^
..../omicron/src/omicron/omicron/OpenNIService.cpp:765:35: error: use of undeclared identifier 'Colors'
pDestImage[2] = nHistValue * Colors[nColorID][2];
^
7 errors generated.
make[2]: *** [src/omicron/CMakeFiles/omicron.dir/omicron/OpenNIService.cpp.o] Error 1
make[1]: *** [src/omicron/CMakeFiles/omicron.dir/all] Error 2
make: *** [all] Error 2
from omicron.
mh that's what happens when I commit stuff without testing build. I re-added the floating point color array used in that function. Test again, it should work.
from omicron.
Still has a couple of errors :
..../omicron/src/omicron/omicron/OpenNIService.cpp:243:22: error: use of overloaded operator '[]' is
ambiguous (with operand types 'Setting' (aka 'libconfig::Setting') and 'char [50]')
Setting& st = srt[buffer];
..../omicron/src/omicron/omicron/OpenNIService.cpp:252:22: error: use of overloaded operator '[]' is
ambiguous (with operand types 'Setting' (aka 'libconfig::Setting') and 'char [50]')
Setting& st = srt[buffer];
2 errors generated.
make[2]: *** [src/omicron/CMakeFiles/omicron.dir/omicron/OpenNIService.cpp.o] Error 1
make[1]: *** [src/omicron/CMakeFiles/omicron.dir/all] Error 2
make: *** [all] Error 2
from omicron.
try now
from omicron.
Awesome! It builds without errors. Thanks a lot!
Will experiment with OpenNI soon.
from omicron.
glad it worked! Let me know if you have any further issues.
from omicron.
Related Issues (17)
- SoundAPI not receiving all notify messages when using /status
- OmicronAPI connectToTracker() fail check
- oinputserver client disconnect check HOT 2
- Intel Perceptual Computing SDK support
- SAGE 6DOF Wand Pointer HOT 1
- SAGE Touch Gestures
- AssetCache file update command
- AssetCache - Zero byte files and forcing overwrite HOT 1
- SoundAPI - Volume Rolloff
- Feature Request: OSX Support HOT 12
- Deprecated stuff cleanup
- Sound API move
- WIn64 support
- Omicron build fails when Kinect SDK is installed HOT 3
- Make argument helper more robust HOT 1
- PQService for Linux HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omicron.