hzzc1987 / jnaerator

Automatically exported from code.google.com/p/jnaerator
0 stars 0 forks source link

Can't find Windows.h #87

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Trying to run JNAerator and for some reason it can't find Windows.h.

I can't find a support mail list or other emails, so I'm opening an issue.

Attached is the batch file that I'm using to run JNAerator, and a file with the 
output.

I have verified that Windows.h is in the SDK include directory which is 
specified in the batch file, but it cannot seem to find it.

How can I further diagnose this issue?  As a result of this, I have some 
undefined types in my output, such as:

        /// Undefined type
        public static interface LPBYTE {

        };
        /// Undefined type
        public static interface LPWORD {

        };
        /// Undefined type
        public static interface LPVOID {

        };
        /// Undefined type
        public static interface LPSTR {

        };

Original issue reported on code.google.com by dudeh...@gmail.com on 5 Jun 2011 at 5:12

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

You should try dropping the quotes around your paths :

set VISUAL_STUDIO_HOME=c:\Program Files\Microsoft Visual Studio 10.0
set WINDOWS_SDK_HOME=c:\Program Files\Microsoft SDKs\Windows\v7.0A

(also see here : 
http://stackoverflow.com/questions/307198/remove-quotes-from-named-environement-
variables-in-windows-scripts)

As for the support mailing list, you will find a link to JNA's users mailing 
list from JNAerator's front page :
http://code.google.com/p/jnaerator/

Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 5 Jun 2011 at 9:52

GoogleCodeExporter commented 8 years ago
Dropping the quotes works, thanks.
I'm subscribing to the users@jna.hava.net list, and will ask other questions 
there.
Thanks!

Original comment by dudeh...@gmail.com on 16 Jun 2011 at 10:45

GoogleCodeExporter commented 8 years ago
Cool !
Have fun,
Cheers
--
zOlive

Original comment by olivier.chafik@gmail.com on 17 Jun 2011 at 10:32