We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
你好,我在编译cxxlinemod的时候,没有报error,请问这个可能是什么造成的呢
[ 12%] Building CXX object CMakeFiles/cxxlinemod_pybind_executable.dir/cxxlinemod.cpp.o /home/syk/code/siemens/pcl-st/6DPose-master/cxxlinemod/cxxlinemod.cpp: In function ‘int main()’: /home/syk/code/siemens/pcl-st/6DPose-master/cxxlinemod/cxxlinemod.cpp:61:15: error: ‘make_unique’ is not a member of ‘std’ auto pr = std::make_unique<poseRefine>(); ^ /home/syk/code/siemens/pcl-st/6DPose-master/cxxlinemod/cxxlinemod.cpp:61:42: error: expected primary-expression before ‘>’ token auto pr = std::make_unique<poseRefine>(); ^ /home/syk/code/siemens/pcl-st/6DPose-master/cxxlinemod/cxxlinemod.cpp:61:44: error: expected primary-expression before ‘)’ token auto pr = std::make_unique<poseRefine>(); ^ /home/syk/code/siemens/pcl-st/6DPose-master/cxxlinemod/cxxlinemod.cpp: In member function ‘void poseRefine::process(cv::Mat&, cv::Mat&, cv::Mat&, cv::Mat&, cv::Mat&, cv::Mat&, int, int)’: /home/syk/code/siemens/pcl-st/6DPose-master/cxxlinemod/cxxlinemod.cpp:160:11: warning: unused variable ‘px_ratio_missing’ [-Wunused-variable] float px_ratio_missing = matToVec(sceneCloud_cropped, modelCloud_cropped, pts_real_ref_temp, pts_real_model_temp); ^ make[2]: *** [CMakeFiles/cxxlinemod_pybind_executable.dir/cxxlinemod.cpp.o] 错误 1 make[1]: *** [CMakeFiles/cxxlinemod_pybind_executable.dir/all] 错误 2 make: *** [all] 错误 2
ubuntu14.04 只修改了CMAKE_PREFIX_PATH,我没有安装cuda,cuda一定需要安装吗 安装包按照说明正常安装了
The text was updated successfully, but these errors were encountered:
make_unique是c++14才有的。不过这里其实也没啥必要,换成new也行。跟cuda没关系
Sorry, something went wrong.
谢谢了!!!! auto pr = std::make_unique<poseRefine>(); 改为 auto pr = std::unique_ptr<poseRefine>(new poseRefine()); 正常运行了
auto pr = std::make_unique<poseRefine>();
auto pr = std::unique_ptr<poseRefine>(new poseRefine());
No branches or pull requests
你好,我在编译cxxlinemod的时候,没有报error,请问这个可能是什么造成的呢
ubuntu14.04
只修改了CMAKE_PREFIX_PATH,我没有安装cuda,cuda一定需要安装吗
安装包按照说明正常安装了
The text was updated successfully, but these errors were encountered: