- 博客(7)
- 资源 (17)
- 收藏
- 关注
转载 gcc相关
转自https://www.cnblogs.com/benio/archive/2010/10/25/1860394.htmlgcc -l参数和-L参数-l参数就是用来指定程序要链接的库,-l参数紧接着就是库名,那么库名跟真正的库文件名有什么关系呢?就拿数学库来说,他的库名是m,他的库文件名是libm.so,很容易看出,把库文件名的头lib和尾.so去掉就是库名了 好了现在我们知道怎么得到库名,当...
2018-05-28 16:14:05 154
转载 Python调用C++
12345678/***gcc -o libpycall.so -shared -fPIC pycall.c*/ #include <stdio.h> #include <stdlib.h> int foo(int a, int b) { printf("you input %d and %d\n", a, b); return a+b; } Python调用动态...
2018-05-26 14:31:33 477
原创 cannot uninstall a distutils installed project'
在安装jupyter notebook的时候,遇到了这个问题,于是上网搜索,搜到了靠谱答案github解决方案sudo pip install --ignore-installed tornado即可
2018-05-16 14:45:42 18214 1
原创 mxnet ubuntu安装
安装一些必要的依赖项git clone --recursive https://github.com/dmlc/mxnetcd mxnetcp make/config.mk .vim config.mkUSE_CUDA = 1USE_CUDA_PATH = /usr/local/cudaUSE_CUDNN = 1USE_CPP_PACKAGE=1make -j4cd python; sudo py...
2018-05-12 17:00:18 401
原创 FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is depr
FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`. from ._conv import re...
2018-05-09 11:40:59 381
转载 ubuntu 修改hosts生效
Method 1Install first the nscd daemon with this command from the terminal:sudo apt-get install nscdThen clear your DNS data with this command:sudo /etc/init.d/nscd restartMethod 2You can also try to f...
2018-05-04 11:41:02 3737
Visual 3D Modeling from Images(tutorial)
2015-08-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人