I downloaded a sample project from this site: http://www.cs.drexel.edu/~mcs171/Wi07/Horstmann/Graphics/Mac/index.html
Everything has gone exactly as planned except I get this error:
Command /Developer/usr/bin/g++-4.2 failed with exit code 1
when trying to run the sample project. I also get this warning:
ld: warning: directory '/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib' following -L not found
and
ld: library not found for -lX11
It says at the beginning that I have to install the X11 libraries, and I don't know what those are or how to do that. Also I think there might be something about a 10.4 sdk, and I have 10.5 and 10.6, not that I know what those are either. Obviously I'm quite inexperienced, and I'm not trying to do anything complicated, so can anyone help me out?
Everything has gone exactly as planned except I get this error:
Command /Developer/usr/bin/g++-4.2 failed with exit code 1
when trying to run the sample project. I also get this warning:
ld: warning: directory '/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib' following -L not found
and
ld: library not found for -lX11
It says at the beginning that I have to install the X11 libraries, and I don't know what those are or how to do that. Also I think there might be something about a 10.4 sdk, and I have 10.5 and 10.6, not that I know what those are either. Obviously I'm quite inexperienced, and I'm not trying to do anything complicated, so can anyone help me out?