I just tried to build jogl 1.1b04 from scratch with Ant using VC++ from Visual Studio .NET 2003. VC++ is version 13.10.3077.
It complains that intptr_t is not defined in BufferUtils.c:
#ifdef _MSC_VER
/* This typedef is only needed for VC6 */
#if _MSC_VER <= 1200
typedef int intptr_t;
#endif
#else
#include <inttypes.h>
#endif
JNIEXPORT jobject JNICALL
Java_net_java_games_jogl_util_BufferUtils_bufferOffset0(JNIEnv* env, jclass unused, jint offset) {
return (*env)->NewDirectByteBuffer(env, (void*) (intptr_t) offset, 0);
}
Seems its not just versions <= 1200 which need intptr_t to be defined. Replacing #if _MSC_VER <= 1200 with #if _MSC_VER <= 1400 everywhere cured the prob.
David