Menu

Mac OSX 10.4 - XCode Projects ?

Help
franKeeN
2007-08-09
2013-04-22
  • franKeeN

    franKeeN - 2007-08-09

    Hi,

    has anyone tried to provide xcodeproj's for cppunit yet?

    I got quiete far, compiles all

    1)
      with around three minor 1-2 letter fixes (which I am happy to share..) and
      mostly default xcode settings except disabling "treat warnings as errors" since
      a lot of warnings about all those virtual constructors come up...:

      ../../include/cppunit/extensions/TestFixtureFactory.h:17:
      warning: 'class CppUnit::TestFixtureFactory' has virtual functions but non-virtual destructor

    ==> is there any more elegant solution to specifically subpress these warnings
       (like those warning pragma's under windows visual studio?)

    2)
    This problem is quite simple but fatal:

    DllMain.cpp won't (naturally, targeted specifically at windows) compile

    If I remove DllMain.cpp from the to-be-compiled files, I get no more compile complaints but
    (naturally) get a linker error:

    /usr/bin/ld: Undefined symbols:
    _main
    /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../crt1.o reference to undefined _main
    collect2: ld returned 1 exit status

    so in short:

    What is the counterpart for a Mac Framework of what "BOOL APIENTRY" etc is for Win?
    What file would I need to include, etc? do I need to add a ressource file? ...
    I am clueless...

    PLEASE HELP, THANX YOU

    - Frank

     
    • franKeeN

      franKeeN - 2007-08-09

      please ignore thread,

      I should have settled for a library project
      (rather than trying to build an executable...)

      Frank

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.