Skip to main content
Search titles, bodies, and author names
Found 65,871 posts across 1 forum.

java-compiling-error-msg-questions :) — #1

hi, i've some questions about some error msg's i got when i tried to compile my java-project. what does the following error msg's say? 1. don't know how to make /Volumes/OSX/C…
MacNN Development

keyDown — #1

I can't figure out how to make a Cocoa app handle keyDown (or for that matter, any) events. Could someone tell me how I would set up a keyDown catching thing? Thanks.
MacNN Development by parallax

how hardware dependant are carbon? — #1

just how dependant on ppc hardware are the carbon language? is there any API calls that just won't work on other hardware? What i'm thinking is how difficult it would be to have …
MacNN Development

how hardware dependant are carbon? — #2

Dependant on hardware? About as hardware dependant as C++. All carbon is is just a set of C++ API's to write to. If you want to use carbon on another platform you'll have to port a…
MacNN Development

how hardware dependant are carbon? — #4

No, it is not easy. What you're talking about is porting a huge chunk of Mac OS X to x86. Even with access to the original source code, this is very difficult due to all sorts of s…
MacNN Development

how hardware dependant are carbon? — #5

Except that Apple has already ported a large chunk of the Mac OS X code from Intel to PPC in the first place, and it's been rumoured that Apple has OS X for Intel working internall…
MacNN Development

Exceptions — #1

I was wondering what would be a good thing to do if I was ever given a null pointer when I tried to allocate something. I'd assume that there'd be no point in putting an alert on t…
MacNN OS 9

Exceptions — #2

Well, when I get a NullPointerException I log it to stderr via Exception.printStackTrace()... Oh, wait a minute. You might not be programming in Java. Sorry, couldn't resist :-)…
MacNN OS 9

Exceptions — #3

Don't be too proud of java. Doesn't stderr just throw it into the console? I could do the same thing in C. I think that the default behaviour of printf, if I'm not running a progra…
MacNN OS 9

Exceptions — #4

The only time a memory allocation will fail on OS X is when: (a) all the RAM is being used, (b) all swap space on all drives is completely full, and (c) there are no pages in memor…
MacNN OS 9

Exceptions — #5

Quote: Originally posted by gregomni: The only time a memory allocation will fail on OS X is when: (a) all the RAM is being used, (b) all swap space on all drives is com…
MacNN OS 9

Exceptions — #6

I guess that I have a question about unix memory management then. Suppose that I have opened and closed a whole bunch of programs so the memory is pretty fragmented. There's nothi…
MacNN OS 9

Exceptions — #7

Thanks. I guess that Unix is a lot smarter than I thought that it was.
MacNN OS 9

Problems compiling program. — #1

When I do "c++ virtfunc.cpp" I get: Quote: In file included from /usr/include/gcc/darwin/2.95.2/g++/libio.h:30, from /usr/include/gcc/darwin/2.95.2/g++/streambuf.h:36, from /…
MacNN Troubleshooting by Ekim Neems

Problems compiling program. — #2

Can you post a copy of the file? I could give it a shot. What system calls are you making. It sounds like you might need to link with the system framework or something.
MacNN Troubleshooting by PerfectlyNormalBeast

Problems compiling program. — #3

Well, I actually don't have the files it's referring to. I don't even have a /sys/ directory within that g++ directory. So for some reason I'm missing files. This is very strange i…
MacNN Troubleshooting by Ekim Neems

Problems compiling program. — #4

Quote: Originally posted by Ekim Neems: <STRONG>Well, I actually don't have the files it's referring to. I don't even have a /sys/ directory within that g++ direct…
MacNN Troubleshooting by Angus_D

Problems compiling program. — #5

I know what he meant. What I'm saying is that the error I'm getting makes sense... those header files it's searching for don't exist -- I had a problem installing Fink (the pkg do…
MacNN Troubleshooting by Ekim Neems
mp.ls