-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
pcl编译问题 #4425
Comments
Title: pcl compilation problem Xmake versionxmake v2.9.2+master.872ddbd0c Operating system version and architecturewin10 Describe the problemWhen installing pcl with the default settings, it is normal. When vtk=true is added, a compilation error will occur. Expected resultssuccessful link Project configurationadd_rules("mode.debug", "mode.release") Additional information and error logs.xmake\cache\packages\2406\p\pcl\1.14.0\source\io\include\pcl\io\ply\ply_parser.h(101,31): error C2039: "function": is not "std" Members[C:\Users*\A |
上游问题,需要做一个 patch |
Upstream problem, need to make a patch |
Xmake 版本
xmake v2.9.2+master.872ddbd0c
操作系统版本和架构
win10
描述问题
安装pcl默认设置的时候是正常的,当加上vtk=true后会出现编译错误
期待的结果
成功链接
工程配置
add_rules("mode.debug", "mode.release")
add_requires("pcl",{configs = {vtk = true}})
add_requires("boost","vtk")
set_languages("c++20")
target("hello")
set_kind("binary")
add_files("src/*.cpp")
add_packages("boost","vtk")
add_packages("pcl",{configs = {vtk = true}})
附加信息和错误日志
.xmake\cache\packages\2406\p\pcl\1.14.0\source\io\include\pcl\io\ply\ply_parser.h(101,31): error C2039: "function": 不是 "std" 的成员 [C:\Users*\A
ppData\Local.xmake\cache\packages\2406\p\pcl\1.14.0\source\build_f426b0bb\io\pcl_io_ply.vcxproj]
(编译源文件“../../io/src/ply/ply_parser.cpp”)
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\sstream(19,1):
参见“std”的声明
The text was updated successfully, but these errors were encountered: