WhatMeWorry
2005.06.21, 05:17 PM
Another stupid question, but please, humiliate me. :)
I'm getting rid of my Targa files in my old OS 9 application and I'm trying to
move over to PNG files. I went into fink and downloaded the libpng3 package.
In my Xcode project main.cpp file, I inserted a #include <png.h>
The compiler keeps complaining about not finding png.h file. So,
I went into
Project Info -> Collection -> Header Search Paths and entered
/sw/include/libpng12
But the compiler is still not finding png.h Is /sw/include/libpng12 the "real"
path. I noticed in the Finder, the path for png.h shows:
Macintosh HD/sw/include/libpng12/png.h
Should I be including the Hard Drive in my paths or is it ignored? If so,
what string does Macintosh HD become? Is it "Macintosh_HD" ?
thanks.
I'm getting rid of my Targa files in my old OS 9 application and I'm trying to
move over to PNG files. I went into fink and downloaded the libpng3 package.
In my Xcode project main.cpp file, I inserted a #include <png.h>
The compiler keeps complaining about not finding png.h file. So,
I went into
Project Info -> Collection -> Header Search Paths and entered
/sw/include/libpng12
But the compiler is still not finding png.h Is /sw/include/libpng12 the "real"
path. I noticed in the Finder, the path for png.h shows:
Macintosh HD/sw/include/libpng12/png.h
Should I be including the Hard Drive in my paths or is it ignored? If so,
what string does Macintosh HD become? Is it "Macintosh_HD" ?
thanks.