• 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: Fail build on command line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Fail build on command line (From: "Carl Smith" <email@hidden>)

  • Prev by Date: Re: Code Completion on Tab Only
  • Next by Date: Warning: Multiple build commands for output file
  • Previous by thread: Fail build on command line
  • Next by thread: Warning: Multiple build commands for output file
  • Index(es):
    • Date
    • Thread