Re: How to create a C++ project in Xcode
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