Hi guys,
Thanks for the responses. Yes, I followed the directions at:
and my CMake set up followed what is on that page (and in the pic here:
http://img254.imageshack.us/img254/6277/26349211.png). The first time I created the makefile, I had CPP, Fakenect and the other options selected, and tried building in viz studio and failed, but that shouldn't affect subsequent generates and builds, right?
I redownloaded pthreads from the ftp (instead of the exe got the individual files), but as expected that made no difference.
When I use the MSVC version of libusb, I get 78 errors, with a whole bunch of libusb errors. So, in the makefile I'm using MSVCx64 for libusb which gets rid of those errors. Maybe there's an incompatibility between MSVCx64 and pthreads?
I've tried using the pthreadVCE2.lib/dll files, but that still yields the 61 errors :P.
Yes, I'm pointing to the folder not the header file. By removing "pthreads.h", I meant that I temporarily renamed it the file to "_pthreads.h", and tried building the solution in Visual Studio - which is when the 61 errors collapse into the following 5 errors:
Error 7 error C1083: Cannot open include file: 'pthread.h': No such file or directory \libfreenect\wrappers\c_sync\libfreenect_sync.c 27 1 freenect_sync
Error 14 error C1083: Cannot open include file: 'pthread.h': No such file or directory \libfreenect\wrappers\c_sync\libfreenect_sync.c 27 1 freenect_sync_static
Error 23 error C1083: Cannot open include file: 'pthread.h': No such file or directory \libfreenect\examples\glview.c 34 1 glview
Error 24 error LNK1104: cannot open file '..\lib\Debug\freenect_sync.lib' \build\examples\LINK tiltdemo
Error 25 error LNK1104: cannot open file '..\lib\Debug\freenect_sync.lib' \build\examples\LINK glpclview
I'm pretty sure all my dependencies are set up correctly. Which made me think there was something wrong with my pthreads.h file, but now I suspect there might be an incompatibility with the libusb MSVCx64?
Any ideas?
Thanks again :D
Ali