Re: Fail build on command line
Re: Fail build on command line
- Subject: Re: Fail build on command line
- From: Chris Espinosa <email@hidden>
- Date: Mon, 18 Dec 2006 15:43:27 -0800
On Dec 18, 2006, at 2:51 PM, Carl Smith wrote: I am having a problem when I run a build using the command line for xcode. The problem is I am using the function RAND_bytes from the openssl/rand.h file and when I build my project from the command line using: xcodebuild clean build –project Myproject.xcodeproj – configuration Deployment TARGET_BUILD_DIR=/c/myprojects I get an error of “undefined symbols: _RAND_bytes”. But when I run a compile from xcode it builds with no errors. I can build in both Deployment and Development under Xcode GUI with no errors. Anyone run into this problem before or have any ideas for my command line compile?
Where does your target expect the openssl library to be? If it expects it in the TARGET_BUILD_DIR that you're explicitly overriding on the command line, that may be the problem.
Chris |
_______________________________________________
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