Ubuntu下Crtmp服务器的搭建及过程中遇到的问题解决方法

1.工具准备

openssl包 以及crtmpserver包


2. sudo apt -get install  cmake


3.进入openssl解压的文件夹

sudo  make 

make install

4.进入crtmpserver解压的文件包

cd builder/cmake

cmake .

cmake失败 出现的问题

一.     looking for openssl headers - not found

解决方法:  sudo apt -get instll libssl-dev

二:-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND 
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. 
CMake Error: Internal CMake error, TryCompile configure of cmake failed 
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken 
CMake Error: The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a simple test program. 
It fails with the following output: 
CMake will not be able to correctly generate this project. 
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. 
-- Configuring done 

解决方法:  1. sudo apt-get install g++

2.cmake -D CMAKE_CXX_COMPILER="g++" cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX:PATH="/usr/local"         


mounted seceinfofs 


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值