error: ‘chdir’ was not declared in this scope

装软件superpose3D时遇到这个错误,解决方法是添加如下行到文件的开头:

#include <unistd.h>

猜你喜欢

转载自www.cnblogs.com/wq242424/p/13166777.html