Closed VincentCheungM closed 7 years ago
I should be like following:
`pwd`
cmake -DCMAKE_INSTALL_PREFIX="$(pwd)/../" ..
why a problem "directory does not appear to contain CMakeLists.txt."?
cmake depends on a CMakeLists.txt, and cmake will find the current directory for this CMakeLists.txt. So, when you run cmake, check if current directory has one or not(error occurs). Besides, we use cmake ..
in our project because we want to build out-of-source(in an independent build directory), and the CMakeLists.txt located at this build parent directory, so we use ..
why a problem "make: *** No targets specified and no makefile found. Stop."? and should I Configure the experimental environment in the file "Velodyne_viewer"?
cmake finally generate a Makefile
if no error occurs(in the directory you run cmake
), while Makefile is use by make
. make
is very similar to cmake
, instead finding Makefile
....
All this is mentioned in this Wiki, hope you develop a habit: read what clearly first, understand why second(Google will help), then how to do becomes easy.
No, I follow your steps without a "Makefile" file...
Only a "CMakefiles"
You make sure that there is no any error occurred in your cmake
command??? maybe lost some dependencies
really; I can't find the problem....I only have Cmakefiles;;
I cmake the file "CmakeList.txt" and get CMakeFiles and a CMakeCache.txt ,en
You can put some screenshot(directly ctrl+V to upload here...), I want to see your cmake
print info, your currrent directory ls
info
I send a mail of qq I'm sorry.
@Kun-Lee Please do read the Wiki carefully first.... follow the wiki, do not meet any problem with great probability.....Thanks!
a problem "Cmake error at Cmakelists.txt:36" is "add_subdirectory(src bin)" why do with?plz.
请截图吧 最好包括运行的命令 所在目录情况 运行结果 谢谢
@Kun-Lee Why you said: a problem "Cmake error at Cmakelists.txt:36"
????
It was before I built the file "build" outside.Now I put "build" in "Velodyne_viewer".it has new error.
I think you can easily read the above CMake Error
and install corresponding dependency(glut) as Wiki said to fix your problem....
Don't do something wrong that make you in trouble before understanding the command cmake & make
no no no you see;
why can't python?
while make and make install an error appear.I can't understand here?
无所谓 能跑就行了。。。程序已经成功生成了
可是很奇怪的是 我后面 点开.pcap跑出一个wireshake 点开view那个也只有全屏都是黑的 没有一个点?不是这个错误?
给你们的代码不可能实现了解析,需要你们自己实现
@Kun-Lee 你是说点开pcap跑出一个wireshark,点开view只有一个矩形框?你需要通过运行那个python脚本来回拨pcap,同时打开viewer才有那个点。至于你python报的错就是系统没有numpy这个库。
是先运行viewer放着 然后按照那个步骤来运行python脚本吗?
@Kun-Lee viewer只是viewer。还需要数据才能显示,从群众中来到群众中去,数据从pcap
中来到viewer
中去,那个python脚本就用于播放数据。
From the step 2 in wiki, the path of
install prefix doesn't exist
, is "pwd
" should be "$(pwd)
"? I have not tried yet, @Durant35