gluegen WindowsDynam icLinkerImpl_JNI.c Cannot open include file: 'windows.h'

[cc] C:\jiapei\MyPrograms\Eclipse\gluegen\src\native\windows\WindowsDynam
icLinkerImpl_JNI.c ( 8 ) : fatal error C1083: Cannot open include file: ‘windows.h’
: No such file or directory

My question is how to compile gluegen?

Whenever I tried to compile it by just typing “ant” in the make folder, it gives me such a error message. In fact, I am running Visual Studio 2008 Command Prompt !!!

which means, I have the Visual Studio environments enabled already.

Please do help!!!

Thanks.

Best Regards
JIA Pei

Progressed a bit:

Now, my problem becomes:

gluegen.build.gluegen-rt-cdc:
    [javac] Compiling 17 source files to C:\jiapei\MyPrograms\Eclipse\gluegen\bu
ild\classes-cdc
    [javac] C:\jiapei\MyPrograms\Eclipse\gluegen\src\java\com\sun\gluegen\runtim
e\CPU.java:103: cannot access java.lang.StringBuilder
    [javac] class file for java.lang.StringBuilder not found
    [javac]           throw new RuntimeException("Please port CPU detection (32/
64 bit) to your platform (" + os + "/" + cpu + ")");
    [javac]
                                             ^

It looks like it’s a problem caused by Java upgrading ( from 1.4 to 1.5above)
Please refer to
http://hi.baidu.com/addoil98/blog/item/ec9bdaa9466d9ef51f17a250.html

So, what to do next?

Cheers