Author Topic: INT, UINT, etc not defined when using Kinect SDK  (Read 4897 times)

majestic 12

  • Guest
INT, UINT, etc not defined when using Kinect SDK
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7699
    • My Best Post
Re: INT, UINT, etc not defined when using Kinect SDK
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline nomad

  • Single posting newcomer
  • *
  • Posts: 3
Re: INT, UINT, etc not defined when using Kinect SDK
« Reply #2 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
« Last Edit: June 27, 2011, 06:34:48 pm by nomad »