|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
We cannot find Windows.h
Our team has never used image processing before. We are using windriver and the code generated for us by the NI Vision assistant and the code for processing the axis camera image was exported as c so we changed it to c++. We then changed the import of the machine file to #include "nimachinevision.h"
but when we build the code we get, #include <windows.h>, windows.h: No such file or directory. Where can I find the windows.h file? |
|
#2
|
|||||
|
|||||
|
Re: We cannot find Windows.h
You will need to download the Microsoft Windows SDK. http://www.microsoft.com/en-us/downl...s.aspx?id=8279
|
|
#3
|
|||
|
|||
|
Thank you
![]() |
|
#4
|
|||
|
|||
|
Re: We cannot find Windows.h
How do we apply it to windriver?
|
|
#5
|
||||
|
||||
|
Re: We cannot find Windows.h
Try commenting out the "windows.h" include and adding the following:
Code:
#include <stdio.h> |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|