• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to create a C++ project in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a C++ project in Xcode


  • Subject: Re: How to create a C++ project in Xcode
  • From: Justin Li <email@hidden>
  • Date: Fri, 13 Mar 2009 21:35:03 +0800

Really thanks for Rush's help.

I imported the source files into Source directory in Xcode, added a new Header directory in Xcode and imported those header files into previous Header directory. 

Also the include search path have be set to the correct path. Here i would like to list the physical directory in my imac (The project name is interfk_v1).

                                           |------ /build/Debug
                                           |------    interfk_v1.xcodeproj
~avs/avs_interfk/interfk_v1/ --------    block.c, block_const.c, image.c, golomb.c ............
                                           |------    block.h, bitstream.h, golomb.h, global.h .........
                                        
I set the header search path to ~avs/as_interfk/interfk_v1.(I think this should be right)

OK, then I build it and one message just jump out:

Building target “interfk_v1” of project “interfk_v1” with configuration “Debug” — (1 error)

Checking Dependencies


Ld /Users/justin/avs/avs_interfk/interfk_v1/build/Debug/interfk_v1 normal i386

    cd /Users/justin/avs/avs_interfk/interfk_v1

    setenv MACOSX_DEPLOYMENT_TARGET 10.5

    /Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/justin/avs/avs_interfk/interfk_v1/build/Debug -F/Users/justin/avs/avs_interfk/interfk_v1/build/Debug -filelist /Users/justin/avs/avs_interfk/interfk_v1/build/interfk_v1.build/Debug/interfk_v1.build/Objects-normal/i386/interfk_v1.LinkFileList -mmacosx-version-min=10.5 -o /Users/justin/avs/avs_interfk/interfk_v1/build/Debug/interfk_v1

Undefined symbols:

  "_PartCalMad", referenced from:

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

      _FastIntegerPelBlockMotionSearch in fast_me.o

ld: symbol(s) not found

collect2: ld returned 1 exit status

Build failed (1 error) 

So, only this one error, is there any people could tell me what's going on with this info?

Many thanks.

Justin
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to create a C++ project in Xcode
      • From: Chris Espinosa <email@hidden>
References: 
 >How to create a C++ project in Xcode (From: Justin Li <email@hidden>)
 >Re: How to create a C++ project in Xcode (From: Rush Manbert <email@hidden>)

  • Prev by Date: Re: Strange directory problem
  • Next by Date: Re: [SOLVED] Shark + xcode + C++
  • Previous by thread: Re: How to create a C++ project in Xcode
  • Next by thread: Re: How to create a C++ project in Xcode
  • Index(es):
    • Date
    • Thread