-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ch5 imageBasics程序make时报错 #42
Comments
你的cmakelist怎么写了?链到Eigen上去了吗? |
感谢高博的回复!
我运行从您的仓库中git clone过来的代码也是报同样的错误。 |
你上面贴的错误和opencv应该没关系。这个cmakelist也会报eigen的链接错误吗? |
是的,用这个cmakelists也会报eigen的错误。然后我重新做了下ch3的useEigen,没有问题。 ch5的这个程序cmake时有一个warning,而且这个warning重复出了十多次,下面我只贴出了一段这样的waring。会不会是我的cmake的问题?
|
问题解决了!我改了cmakelist的写法,新的cmakelist如下:
就是把
是参考了这个链接https://stackoverflow.com/questions/12249140/find-package-eigen3-for-cmake 但是message输出的信息也是 |
在做第五讲的OpenCV基本操作的实践,程序make时报错如下:
一开始有更多的类似/usr/bin/ld: 找不到 -l*** 的错误,但是通过建立相应的.so文件软链接的方式消除了。不过这个Eigen库不是没有.so文件吗,实在不知道怎么解决了。还望知道的朋友解答一下
The text was updated successfully, but these errors were encountered: