Can't include file "atlbase.h"

Hi,
I’m trying to compile makepanda
but i’m getting a error :frowning:

------ Build started: Project: makepanda, Configuration: Release Win32 ------
  Generating library cache...
  Generating dependencies...
  [ 31%] Building C++ object built/tmp/vision_composite1.obj
  vision_composite1.cxx
  To compile qedit.h you must install the DirectX 9 SDK, to obtain the dxtrans.h header.
a:\...\panda3d-1.7.0\panda\src\vision\webcamVideoDS.cxx(76): fatal error C1083: Cannot open include file: 'atlbase.h': No such file or directory
  Storing dependency cache.
  Elapsed Time: 42 sec
  
  Build terminated.
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "cd .. & makepanda\makepanda --everything --optimize 3 --installer" exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Any one now how to solve this?

I am using VC 2010 on Vista

Not sure if I am right here, but compiling Panda3D on Windows requires you to have a particular version of the Platform SDK which contains ATL support (if you want to have all modules compiled).

If you don’t need the webcam module you can compile with “–no-directcam” option and current versions of the Windows SDK/Platform SDK. I am using the current Windows SDK and this command:

python makepanda\makepanda.py --everything --no-directcam --no-contrib

More information is in the Panda3D manual:
http://www.panda3d.org/manual/index.php/Tutorial:_Compiling_the_Panda3D_Source_on_Windows