SUDL icon indicating copy to clipboard operation
SUDL copied to clipboard

cmake 时候出错

Open icyhearts opened this issue 7 years ago • 2 comments

你好,打扰了。准备结合看一下这份代码,cmake的时候出错。操作系统是: uname -a Linux icefire 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3 (2017-12-03) x86_64 GNU/Linux cmake时候的报错为: ` D.Deb[dice@ build]$cmake .. -- The C compiler identification is GNU 6.3.0 -- The CXX compiler identification is GNU 6.3.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 -- optional:-std=c++11 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.0.0") -- Found PROTOBUF Compiler: /usr/bin/protoc CMake Error at proto/CMakeLists.txt:17 (ADD_EXECUTABLE): add_executable called with incorrect number of arguments

CMake Error at proto/CMakeLists.txt:18 (TARGET_LINK_LIBRARIES): Cannot specify link libraries for target "su" which is not built by this project.

-- Configuring incomplete, errors occurred! See also "/home/ice/shareVR/deepLearningCode/kymo/SUDL/build/CMakeFiles/CMakeOutput.log". See also "/home/ice/shareVR/deepLearningCode/kymo/SUDL/build/CMakeFiles/CMakeError.log". ` 请问,这是代码根目录里面的CMakeLists.txt有错误还是什么原因?

icyhearts avatar Dec 20 '17 02:12 icyhearts

i have the same error

azuryl avatar Feb 21 '19 07:02 azuryl

Hi~ I have the same error. Did you solve this problem please? If yes, please tell me .Thank you!

wangjing1012 avatar Apr 15 '22 15:04 wangjing1012