Ahmed
Ahmed

Reputation: 15069

Mac OS X Lion does not have /usr/include folder?

I have been trying to use SQLite API in a C++ program but I can not find the SQLite include files. I was told in this post Mac OSX sqlite api for C++ that sqlite is alerady present on Mac OS X and headers can be found /usr/include.

I have a recently purchased MacBook Pro with Mac OS X Lion, Xcode 4.3.2 and there is no include folder in the /usr folder. /usr contains

  X11
  X11R6
  bin
  clang-ide
  lib
  libexec
  local
  sbin
  share
  standalone

Any suggestions?

Upvotes: 4

Views: 5990

Answers (1)

Kurt Revis
Kurt Revis

Reputation: 27994

You need to download and install the Xcode command-line tools. That link shows you how to do it from within Xcode.

Upvotes: 8

Related Questions