编译算法时出现在函数‘_start’中: (.text+0x20):对‘main’未定义的引用

软件和网站开发以及相关技术探讨
回复
aimeng100
帖子: 3
注册时间: 2017-04-11 9:41
系统: win10

编译算法时出现在函数‘_start’中: (.text+0x20):对‘main’未定义的引用

#1

帖子 aimeng100 » 2017-04-14 10:42

编译算法iDT,即improved Dense Trajectory 算法地址:http://lear.inrialpes.fr/people/wang/dense_trajectories
出现编译错误,显示在函数‘_start’中:
(.text+0x20):对‘main’未定义的引用
即,
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o:在函数‘_start’中:
(.text+0x20):对‘main’未定义的引用
collect2: error: ld returned 1 exit status
make: *** [release/DenseTrackStab] 错误 1


查看了算法,算法中有对main的定义
opencv和ffmpeg是按照作者的版本配置进行的,之前安装最新的版本有问题,所以降回原来的版本
本Ubuntu版本14.04

求大侠帮忙

具体编译过程
回复