Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

macos

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?

like image 913
Ahmed Avatar asked Feb 17 '23 15:02

Ahmed


1 Answers

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

like image 63
Kurt Revis Avatar answered Feb 27 '23 21:02

Kurt Revis