This may be a bit late, but I had this same problem and fixed it today. It turns out that my environment variable PROE_INSTALL_PATH was not set corrrectly.
It needs to be set to the installDir/Common Files\Mxxx folder using the DOS short name. My environment variable now looks like this: C:\PTC_Test\Creo2\COMMON~1\M070 - yours may be different.
Alternative Method:
Set the PROE_INSTALL_PATH to one folder above the protoolkit folder (usually the same as above). Still use the DOS short name. The compiler can then find the folders it needs.
FYI:
To find your DOS short name:
- Open a cmd window
- CD to the install Dir\Common Files\Mxxx folder
- Type:
for %I in (.) do echo %~sI
- You will now see your DOS short name in the cmd window
- Copy it into your environment variable PROE_INSTALL_PATH value