Hi!
My colleague did these complementary actions to use MS Visual Studio:
To build JOGL under win32 with Visual Studio Express 2008 (visualstudiov9)
- edit file gluegen.properties to set the property win32.c.compiler=vc9
- in a win cmd, intialize correctp path to msvc9: "c:\Program files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
- from the folder jogl\make launch ant 1.8: ..\..\apache-ant-1.8.1\bin\ant
Modifications to ant files:
- gluegen\make\build.xml : comment out the call to striplibs
- jogl\make\build-jogl.xml, build-nativewindow.xml and build-newt.xml : comment out calls to striplibs
- jogl\make\build-jogl.xml : l1157: add gdi32 in the linker libs list linker.cfg.win32.msvc.jogl
Modifications to source code files:
- gluegen\test\junit\generation\test1.c :
-l163,170: replace void * with char * in methods typeTestAnonSingle and typeTestAnonPointer at the bottom of the file to build with cl.exe
-l124: replace the call to snprintf by a call to sprintf_s (not the right std c++ ..)