About error Invalid value 'coop.plausible.blocks.compilers.gcc.4_2' for GCC_VERSION

Discussion in 'iOS Programming' started by mikezang, Sep 16, 2010.

  1. mikezang macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #1
    I try to compile sample code of "05StockPlotMultiThreaded" in book "iPhone Advanced Projects", it is used open source project "Plausible Blocks", when I compile it, I got error as below, how can I solve this probelm?
    Code:
    Invalid value 'coop.plausible.blocks.compilers.gcc.4_2' for GCC_VERSION
    [WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/main.m of type sourcecode.c.objc.
    [WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/StockPlotAppDelegate.m of type sourcecode.c.objc.
    [WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/RootViewController.m of type sourcecode.c.objc.
    [WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/APYahooDataPullerGraph.m of type sourcecode.c.objc.
    [WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/APYahooDataPuller.m of type sourcecode.c.objc.
    [WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/NSDictionary+APFinancalData.m of type sourcecode.c.objc.
    [WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/NSThread+PLBlocks.m of type sourcecode.c.objc.
    [WARN]Unable to determine concrete GCC compiler for file /Users/mikezang/iPad/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/Classes/NSOperationQueue+PLBlocks.m of type sourcecode.c.objc.
    
     

    Attached Files:

  2. mikezang thread starter macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #2
    ld: warning: directory '/Users/mikezang/Downloads/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/../../../pblocks/iPhone Runtime' following -F not found
    ld: warning: directory '/Users/mikezang/Downloads/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/../../../plblocks/iPhone Runtime' following -F not found
    Undefined symbols:
    ".objc_class_name_NSObject", referenced from:
    .objc_class_name__PLAbstractBlock in PLBlocks(NSBlock.o)
    "_OBJC_CLASS_$__PLConcreteStackBlock", referenced from:
    _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in RootViewController.o
    _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in APYahooDataPuller.o
    (maybe you meant: _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr)
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
     

    Attached Files:

  3. mikezang thread starter macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #3
    I installed PLBlocks SDK, now I got error as below
    Code:
    ld: warning: directory '/Users/mikezang/Downloads/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/../../../pblocks/iPhone Runtime' following -F not found
    ld: warning: directory '/Users/mikezang/Downloads/iPhone_Advanced_Projects-4489/apress/Examples/05StockPlotMultiThreaded/../../../plblocks/iPhone Runtime' following -F not found
    Undefined symbols:
      ".objc_class_name_NSObject", referenced from:
          .objc_class_name__PLAbstractBlock in PLBlocks(NSBlock.o)
      "_OBJC_CLASS_$__PLConcreteStackBlock", referenced from:
          _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in RootViewController.o
          _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr in APYahooDataPuller.o
         (maybe you meant: _OBJC_CLASS_$__PLConcreteStackBlock$non_lazy_ptr)
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    
     

    Attached Files:

Share This Page