SysError 0

Discussion in 'Mac Programming' started by printf, Apr 11, 2010.

  1. printf macrumors regular

    Aug 27, 2008
    i'm using xcode 3.1.1 on OS X 10.6.2 and i'm trying to compile an adobe photoshop sdk plugin sample project and am getting the following error:
    SysError 0 during open of "PIDefines.h".
    i should note that this is the only error and it's occuring in a resource (.r) file, so this may be 'rez' specific.

    if i manually include the contents of this PIDefines.h header, OR change the include so that it uses a relative path the error obviously goes away. however, there are other includes in this file pointing to the same dir, and many of those have includes pointing to sdk files that i'd have to change, which i'd rather not do.

    i tried setting the Header Search Paths in the project properties but it still can't seem to find it.

    any ideas?
  2. Detrius macrumors 68000

    Sep 10, 2008
    Asheville, NC
    I don't use resources, so I can't say for certain that this will fix your problem, but there is a "Rez Search Paths" build setting. Maybe this is what you need to be changing.

Share This Page