Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: majestic 12 on June 22, 2011, 06:36:07 pm

Title: INT, UINT, etc not defined when using Kinect SDK
Post by: majestic 12 on June 22, 2011, 06:36:07 pm
Hi folks,

I'm now to using Code Blocks, but I've been programming in C++ for a while now. I'm having a bit of trouble getting my program to work with the new Kinect SDK. Basically, when I try to build the program when including the NUI Kinect API header I get errors that the INT, UINT, FLOAT, etc types have not been defined. The Kinect SDK is designed for use with Visual Studio in Windows applications, so I'm guessing that some header files which would normally be included are being left out.

If anyone has any idea where to find the necessary headers or libraries I'd appreciate it. A guide on how to get VS/Windows applications running inside Code Blocks would be very useful as well.

Thanks
Title: Re: INT, UINT, etc not defined when using Kinect SDK
Post by: stahta01 on June 22, 2011, 07:06:58 pm
Turn on Full Compiler Logging
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Figure out the name and version of your Compiler.
Figure out your Compiler's header needed to fix your problem.

If you can not figure out how to get Code::Blocks to find your header post the question in this thread if it is still open.

Tim S.
Title: Re: INT, UINT, etc not defined when using Kinect SDK
Post by: nomad on June 27, 2011, 06:31:01 pm
hi
i'm a newbie too, with openNi and kinect (linux)
please google : on openni google groups
then search: in the mailinglist for maiatoday...
this user have make a code::blocks template for OpenNi and Kinect under Linux Ubuntu 10.10
you can download via github a *.tar.gz package
on my pc its running....
PS if you mean the new MS-Kinect SDK for win7 (16.june 2011) then have a look on vs2010 C# or C++
regards nomad