ZLMediaKit / ZLToolKit

一个基于C++11的轻量级网络框架,基于线程池技术可以实现大并发网络IO
MIT License
1.88k stars 571 forks source link

请问:ubuntu16.04编译不通过,什么原因? #220

Open linuxarsenal opened 3 months ago

linuxarsenal commented 3 months ago
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HAVE_MMSG_HDR
-- Performing Test HAVE_MMSG_HDR - Success
-- Looking for sendmmsg
-- Looking for sendmmsg - found
-- Looking for recvmmsg
-- Looking for recvmmsg - found
CMake Error at /usr/share/cmake-3.5/Modules/FindOpenSSL.cmake:335 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:91 (find_package)

CMake Error at /usr/share/cmake-3.5/Modules/FindOpenSSL.cmake:336 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:91 (find_package)

CMake Error at /usr/share/cmake-3.5/Modules/FindOpenSSL.cmake:338 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:91 (find_package)

CMake Error at /usr/share/cmake-3.5/Modules/FindOpenSSL.cmake:340 (list):
  list GET given empty list
Call Stack (most recent call first):
  CMakeLists.txt:91 (find_package)

-- 找到openssl库:"/usr/include",ENABLE_OPENSSL宏已打开
-- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION
-- Performing Test HAVE_MYSQL_OPT_EMBEDDED_CONNECTION - Success
-- Found MySQL: /usr/include/mysql, /usr/lib/x86_64-linux-gnu/libmysqlclient.so
-- MySQL Embedded not found.
-- 找到mysqlclient库:"/usr/include/mysql",ENABLE_MYSQL宏已打开
-- 将链接依赖库:/usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so;/usr/lib/x86_64-linux-gnu/libmysqlclient.so
cp: cannot create regular file '/home/ubuntu/workspace/vsprj/OpenSourceCodes/ZLToolKit/linux_build/bin/': Not a directory
-- 添加测试程序:test_ssl
-- 添加测试程序:test_ringBuffer
-- 添加测试程序:test_shell
-- 添加测试程序:test_pingpong
-- 添加测试程序:test_tcpClient
-- 添加测试程序:test_semaphore
-- 添加测试程序:test_sql
-- 添加测试程序:test_eventPoller
-- 添加测试程序:test_logger
-- 添加测试程序:test_threadPoolBenchmark
-- 添加测试程序:test_noticeCenter
-- 添加测试程序:test_udpSock
-- 添加测试程序:test_resourcePool
-- 添加测试程序:test_ini
-- 添加测试程序:test_creator
-- 添加测试程序:test_threadPool
-- 添加测试程序:test_tcpEchoServer
-- 添加测试程序:test_delayTask
-- 添加测试程序:test_timer
-- 添加测试程序:test_pipe
-- 添加测试程序:test_variant
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/workspace/vsprj/OpenSourceCodes/ZLToolKit/linux_build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.
xia-chu commented 3 months ago

apt-get install libssl-dev试试