问题描述
我正在尝试进行MacBook Pro的开发.
I have a MacBook Pro that I'm trying to do some development on.
我有一个要构建的程序,当我使用make
进行构建时,出现找不到命令"错误.我做了一些谷歌搜索和堆栈溢出搜索,但看起来这不是一个普遍的问题.为什么我没有安装make
以及如何获取它?
I have a program I want to build, and when I went to use make
to build it, I got a "command not found" error. I did some googling and Stack Overflow searches and it doesn't look like this is a common problem. Why don't I have make
installed and how do I get it?
我特别困惑,因为我知道我最近(在过去一个月左右)使用这台笔记本电脑时就使用了它.
I'm extra confused, because I know I used it relatively recently (in the past month or so) when I was on this laptop.
推荐答案
您是否安装了Apple开发人员工具?如果键入gcc -v会发生什么?
Have you installed the Apple developer tools?What happens if you type gcc -v ?
好像没有下载开发资料.您可以从 http://developer.apple.com/
It look as if you do not have downloaded the development stuff. You can get it for free (after registration) from http://developer.apple.com/
这篇关于在OS X上使用'make'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!