最近的几个小工具安装:
1> Mac 下移动硬盘安装Windows&Ubuntu
最开始用的是VirtualBox, 安装时找不到移动硬盘路径。听朋友说ParallelsDesktop很不错,可以打LOL~ 于是尝试了这个安装。
安装本身并不困难,唯一一个就是 移动硬盘的格式,先用Disk Utility格式成Mac默认格式,再进行安装。
2>
1. brew 安装wget失败
JulietdeMacBook-Pro:~ juliet$ brew install wget
==> Installing wget dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2d_1.yosemite.b
curl: (35) Server aborted the SSL handshake
Error: Failed to download resource "openssl"
Download failed: https://homebrew.bintray.com/bottles/openssl-1.0.2d_1.yosemite.bottle.tar.gz
Warning: Bottle installation failed: building from source.
Error: /usr/local/opt/makedepend not present or broken
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2d_1.yosemite.b
curl: (35) Server aborted the SSL handshake
Error: Failed to download resource "openssl"
Download failed: https://homebrew.bintray.com/bottles/openssl-1.0.2d_1.yosemite.bottle.tar.gz
Warning: Bottle installation failed: building from source.
Error: /usr/local/opt/makedepend not present or broken
Please reinstall makedepend. Sorry :(
原因:被墙了。
2.换一种安装方法
下载一个Wget的源码包,http://www.gnu.org/software/wget/
打开terminal; tar zxvf wget-1.16.tar.gz
cd 解压后的目录
输入以下命令:
./configure –with-ssl=openssl
make
3> 安装OpenCV报错:
make
sudo make install
安装成功。
comparison of array 'this->latestPoints' not equal to a null pointer is alwa... 2error
解决方法:
find 并替换文件:calibfilter.cpp 的内容
(网上有个帖子有calibfilter.cpp 详细更改方法,抱歉找不到地址了)
4>
安装caffe
途中安装glog,,,./configure 了,make报错:
./src/glog/stl_logging.h:56:11: fatal error: 'ext/slist' file not found
include
^
2 warnings and 1 error generated.
make: *** [stl_logging_unittest-stl_logging_unittest.o] Error 1
途中安装glog,,,./configure 了,make报错:
./src/glog/stl_logging.h:56:11: fatal error: 'ext/slist' file not found
include
^
2 warnings and 1 error generated.
make: *** [stl_logging_unittest-stl_logging_unittest.o] Error 1
这个发在csdn里的问题,没人鸟我。但是!终于自己解决了这个问题。
解决办法:
./configure
make -stdlib=libstdc++
make install
搞定,~欢呼!~~
问题产生原因: MAC OSX将libstdc++ 更改为 libc++
我猜,,所有'ext/slist' file not found的问题,均通过添加 '-stdlib=libstdc++' 解决
因为自己是小白,就step by step吧!