Search results

  1. W

    Can't find crt0.o

    crt.o is the C runtime library. It should definitely be on your system in /usr/lib. If it's not, something got hosed with your developer install. Try uinstalling the developer tools and reinstalling. Wade
  2. W

    Quick sudoers question.

    Try "sudo -s". Wade
  3. W

    About Carbon and Xcode ?

    To be more specific, XCode can only produce Mach-O format executables, which run only on CFM. CodeWarrior must be used to produce CFM format executables, which run on OS X or OS 9. Developing for less than OS X these days is a waste of resources. While OS 9 users still exist, their numbers...
  4. W

    beginning X Window Programming

    How about this: http://cbbrowne.com/info/x.html
  5. W

    Problems to add lib3delight

    Those are not errors, they're warnings, and not really of any consequence. Did you actually try using the library? It should work. Wade
  6. W

    Where is NUMLOCK on G5 keyboard?

    When using different systems, you should always buy KVM's that have a hardware switch to switch between them. Wade
  7. W

    spaces in file names and $1

    You need to escape your spaces when you run the command. So, it's either: ./myscript "pathname with\spaces.txt" or ./myscript pathname\ with/spaces.txt That will prevent the shell from trying to break the pathname up. Wade
  8. W

    Compiling X11 program with g++

    The X11 SDK is not installed by default. So they're not in a different location, they just don't exist. If memory serves, you can install them by running the latest XCode installer and do a custom install. Wade
  9. W

    XCODE question

    Don't compare ANYTHING to MSVC. MSVC will compile almost anything, without complaint. By far the compiler that adheres best to the standards is CodeWarrior, followed by gcc, followed way behind by MSVC. We've uncovered countless bugs that CodeWarrior flagged and MSVC compiled without...
  10. W

    Mac OS 9

    Well, it's not a matter of writing it. That's the easy part. Trying to debug it through constant crashes and continually having to reboot between OS X and OS 9 to do your development is what makes it so painful. I guess if someone has never upgraded to OS X, or has enough money to have a...
  11. W

    Mac OS 9

    There are lots of folks that could do it. Whether they will or not is another matter. Myself, I will never do another OS 9 project. Unless you're paying at least double the normal rate, it's just not worth it.
  12. W

    Troubles with C's MySQL API

    belaran% gcc -L/usr/local/mysql/lib/libmysqlclient.a -L/usr/local/mysql/include/mysql.h main.c ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: _mysql_init _mysql_options _mysql_real_connect You're still not understanding the usage of the different...
  13. W

    Newbie needs help on simple app

    - (IBAction)add:(id)sender // it shall add 50$ to the "dept" (= textbox) { [dept setIntValue:[dept intValue] + 50]; } - (IBAction)subtract:(id)sender // it shall subtract 50$ from the "dept" (=textbox) if "dept ? 0" (its not possibleto get below 0) { int curValue = [dept...
  14. W

    ld (lcrt) error message

    Did the xcode CD come with Panther? Is it possible you got a copy of the XCode preview CD for Jaguar or something? crt1.o is one of the runtime files and should definitely exist in /usr/lib. If it does not, the only guess I can make is that your XCode install was somehow corrupted. Wade
  15. W

    Troubles with C's MySQL API

    You're getting confused between libraries and headers. Adding the mysql.h header will allow your program to compile, but it doesn't do anything for the linking. Exactly. See the "ld: Undefined symbols:"? That's the linker. It's telling you you have not linked with the library that...
  16. W

    linking problems

    Try this: Do a "Clean all" and then rebuild. If it still doesn't work, do a: ranlib /Projects/CMAQ_v4.3/lib/stenex/Darwin/libsef90.a then clean all and rebuild. BTW, I wouldn't advise storing your projects at the root of the drive. They'd be better off as a subdirectory of your...
  17. W

    Troubles with C's MySQL API

    Do "man gcc" and pay particular attention to the -I option. Wade
  18. W

    C++ and XCode Question

    Keep in mind however that that is a solution for running in XCode only. If you want to actually send your application to someone, you'll need to learn how to discover the path to yourself and set your own working directory programmatically. Wade
  19. W

    Question About Developer Memberships

    Nope. It varies from bug to bug. On most bugs you'll get no response - especially those they can easily reproduce inside Apple - hopefully one day it will just show up fixed. On bugs where you appear to be one of the few that can reproduce the problem, you'll get a call.
  20. W

    Problems with the ncurses library...

    Uh, when you delete files from project builder, choose "Delete References" NOT "delete references and files". Use my profile to email me and I'll send you a copy of the files again. If you like, I'll also create a quick project that uses ncurses. Wade
Back
Top