Skip to main content
Participant
April 12, 2010
Question

SysError 0 during open of "PIDefines.h".

  • April 12, 2010
  • 2 replies
  • 885 views

i'm stumped on this. i got the sample dissolve project working out of the box on xp, but the xcode version fails with the error: SysError 0 during open of "PIDefines.h". this is in reference to line 11 in Dissolve.r: #include "PIDefines.h"

if i right-click on the Dissolve.r file in the Groups & Files tree-view section, and run Compile it seems to succeed on its own. However, the project does not.

i'm using xcode 3.1.1 on OS X 10.6.2

if i manually include the contents of PIDefines.h and comment out the #include itself, the error will come up again for the next #include. and if i comment that one out, it comes up for the next.

any ideas?

This topic has been closed for replies.

2 replies

kona076Author
Participant
April 13, 2010

the problem, as it turns out is related to the location of the sdk on the file system. I normally set my projects up under \Developer\Projects, which is where the compilation failed. moving the sdk and project into Documents (/Users/foo/Documents) resulted in a successful compilation.

i'm more of a win32 programmer, so if anyone has any insight as to why that fixed it, i'd certainly like to know.

Chris Cox
Legend
April 13, 2010

Somewhere you specified a hard coded path instead of a relative path.

Just open up the project in a text editor and see where you got the paths messed up.

Chris Cox
Legend
April 12, 2010

MacOS 10.6.x requires XCode 3.2.x

And it sounds like there is a problem with the project or some files on disk.