[问题] CV hw1

楼主: htl ( E L I T E)   2007-10-12 00:20:45
我要compile我的程式
投影片里没有指定path应该是错的
后来我用以下指令
gcc hw1.c -o hw1 -I/usr/local/vision/include -lm -L/usr/local/vision/linux -lhvision
出现以下讯息
hw1.c: In function 'main':
hw1.c:9: warning: incompatible implicit declaration of built-in function 'exit'
hw1.c:15: warning: incompatible implicit declaration of built-in function 'exit'
/usr/bin/ld: skipping incompatible /usr/local/vision/linux/libhvision.a when searching for -lhvision
/usr/bin/ld: cannot find -lhvision
collect2: ld returned 1 exit status
就算我硬指定library file为libhvision.a还是会错误
想请问大家解决办法
作者: rahab   2007-10-12 00:25:00
换到linux15试试看
楼主: htl ( E L I T E)   2007-10-12 00:36:00
成功了 大感谢!可是你试了几台电脑@@

Links booklink

Contact Us: admin [ a t ] ucptt.com