在没有root的情况下在linux下编译boost [英] compile boost under linux without being root

查看:95
本文介绍了在没有root的情况下在linux下编译boost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在Linux下编译boost而不用写系统文件夹.我需要将头文件和boost的共享库放在我的特定文件夹中.

how i can compile boost under linux without write in system folders. I need to get headers files and shared libraries of boost in one my specific folder.

推荐答案

在Linux上编译Boost时不需要root用户.此外,许多Boost库只是标头,因此不需要编译.另请参见构建和安装库轻松构建并安装以获取更多详细信息.

You don't need to be root to compile Boost on Linux. Moreover, many Boost libraries are header only so no compilation is needed. see also Building and Installing the Library and Easy Build and Install for more details.

这篇关于在没有root的情况下在linux下编译boost的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆