Compilling Panda with Visual Studio 2005 Express

So I thought it would be a good time to have the head of the panda tree fully support visual c++ 2005 express.

I’ve commited two changes to the ppremake tree. the regex one is a name change of errcode to error_code, because errcode is a visual studio identifier, and our declaration format gets all confused). The other
one is a buffer overflow issue that it seemed to run into whenever I tried to run ppremake.

Checking in gnu_regex.c;
/cvsroot/panda3d/ppremake/gnu_regex.c,v <-- gnu_regex.c
new revision: 1.3; previous revision: 1.2
done

Checking in ppCommandFile.cxx;
/cvsroot/panda3d/ppremake/ppCommandFile.cxx,v <-- ppCommandFile.cxx
new revision: 1.31; previous revision: 1.30
done

anywho, to compile ppremake:

-grab the ppremake tree from cvs
-open the solution in Visual C++ 2005 express. You’ll get a conversion notice which shouldn’t have any effect.
-make sure you’ve got the platform sdk installed, and that visual studio knows about it
(either through the INCLUDE and LIB environment variables, or by adding directories in the
Tools->Options…->Projects and Solution->Visual C++ directories)
-make sure you are in release version
-build away!

I’ll commit changes for a compile-from-scratch no-package panda build tomorrow