Notice: MediaWiki has been updated. Report any rough edges to marcan@marcan.st

Difference between revisions of "Getting Started Windows"

From OpenKinect
Jump to: navigation, search
(there were 2 step 2s.)
Line 17: Line 17:
 
You will get three folders, namely c:, csharp, platform
 
You will get three folders, namely c:, csharp, platform
  
Step 2: Run CMake and point as source directory the aforementioned c folder (where it has the first CMakeList.txt)
+
Step 3: Run CMake and point as source directory the aforementioned c folder (where it has the first CMakeList.txt)
  
Step 3: Use the configure option, select your C complier and let it run. It will point out several mistakes that will be presented as red in the CMake Gui. You must correct these problems. For the libfreenect header you must point at c/include, for USB header c/dependencies/include and so on...
+
Step 4: Use the configure option, select your C complier and let it run. It will point out several mistakes that will be presented as red in the CMake Gui. You must correct these problems. For the libfreenect header you must point at c/include, for USB header c/dependencies/include and so on...
  
Step 4: Finally accomplish configure and generate files (CMake-> configure, CMake-> generate)
+
Step 5: Finally accomplish configure and generate files (CMake-> configure, CMake-> generate)
  
 
Ok the first part is done!
 
Ok the first part is done!
  
Step 5: download Libusb-win32 and use the wizard program in order to create the drivers. You should create three drivers (Motor, Camera, Audio - not always in this order, read!). Use the install driver option inside the Libusb-win32 wizard program.
+
Step 6: download Libusb-win32 and use the wizard program in order to create the drivers. You should create three drivers (Motor, Camera, Audio - not always in this order, read!). Use the install driver option inside the Libusb-win32 wizard program.
  
 
Ok the second part is done!
 
Ok the second part is done!
  
Step 6: open Visual Studio solution and build this project. Run Debug and you should see the tilt servo moving upwards - downwards. Ok this is a start! That is all for now.
+
Step 7: open Visual Studio solution and build this project. Run Debug and you should see the tilt servo moving upwards - downwards. Ok this is a start! That is all for now.

Revision as of 03:59, 5 December 2010

Getting Started in Windows

For windows users there is a Binary available here http://blokmodular.com/dev/Kinect-v14-withsource.zip (the v14 demo is the last to use "simple gl".) http://blokmodular.com/dev/Kinect-v15-withsource.zip (warning: the v15 demo is rather opengl-heavy.)

[1]

In the following, the process in order to create the drivers for Kinect in Windows and to run the example servo moving program will be presented.

The guidelines where first given by the user Majorityyy, who i thank!

Step 1: Download CMAKE (Cross-Platform Make) and make sure you have a working C compiler (example MinGW)

Step 2: Download the the master branch and all the Dependencies (see Issues > Pull Requests)

You will get three folders, namely c:, csharp, platform

Step 3: Run CMake and point as source directory the aforementioned c folder (where it has the first CMakeList.txt)

Step 4: Use the configure option, select your C complier and let it run. It will point out several mistakes that will be presented as red in the CMake Gui. You must correct these problems. For the libfreenect header you must point at c/include, for USB header c/dependencies/include and so on...

Step 5: Finally accomplish configure and generate files (CMake-> configure, CMake-> generate)

Ok the first part is done!

Step 6: download Libusb-win32 and use the wizard program in order to create the drivers. You should create three drivers (Motor, Camera, Audio - not always in this order, read!). Use the install driver option inside the Libusb-win32 wizard program.

Ok the second part is done!

Step 7: open Visual Studio solution and build this project. Run Debug and you should see the tilt servo moving upwards - downwards. Ok this is a start! That is all for now.