Skip to content
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

Fail to build #14

Open
Sunning2118 opened this issue Aug 19, 2024 · 1 comment
Open

Fail to build #14

Sunning2118 opened this issue Aug 19, 2024 · 1 comment

Comments

@Sunning2118
Copy link

“E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln”(默认目标) (1) ->
“E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj”(默认目标) (9) ->
(ClCompile 目标) ->
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(306,23): error C2039: "ofstream": 不是 "boost::filesyste
m" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(307,25): error C2039: "ofstream": 不是 "boost::filesyste
m" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(307,25): error C3083: “ofstream”:“::”左侧的符号必须是一种类型 [E:
Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(307,35): error C2039: "out": 不是 "boost::filesystem" 的成
员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(306,60): error C2065: “out”: 未声明的标识符 [E:\Code\luxcorer
ender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(308,25): error C2039: "ofstream": 不是 "boost::filesyste
m" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(308,25): error C3083: “ofstream”:“::”左侧的符号必须是一种类型 [E:
Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(308,35): error C2039: "binary": 不是 "boost::filesystem"
的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(306,60): error C2065: “binary”: 未声明的标识符 [E:\Code\luxco
rerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(309,25): error C2039: "ofstream": 不是 "boost::filesyste
m" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(309,25): error C3083: “ofstream”:“::”左侧的符号必须是一种类型 [E:
Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(309,35): error C2039: "trunc": 不是 "boost::filesystem"
的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(306,60): error C2664: “std::basic_ofstream<char,std::c
har_traits>::basic_ofstreamstd::experimental::filesystem::v1::path(const std::experimental::filesystem::
v1::path &,std::ios_base::openmode,int)”: 无法将参数 1 从“boost::filesystem::path”转换为“const std::experimental::filesys
tem::v1::path &” [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(340,23): error C2039: "ifstream": 不是 "boost::filesyste
m" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(341,25): error C2039: "ifstream": 不是 "boost::filesyste
m" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(341,25): error C3083: “ifstream”:“::”左侧的符号必须是一种类型 [E:
Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(341,35): error C2039: "in": 不是 "boost::filesystem" 的成员
[E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(340,60): error C2065: “in”: 未声明的标识符 [E:\Code\luxcorere
nder\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(341,59): error C2039: "ifstream": 不是 "boost::filesyste
m" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(341,59): error C3083: “ifstream”:“::”左侧的符号必须是一种类型 [E:
Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(341,69): error C2039: "binary": 不是 "boost::filesystem"
的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(340,60): error C2065: “binary”: 未声明的标识符 [E:\Code\luxco
rerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\ocl.cpp(340,60): error C2664: “std::basic_ifstream<char,std::c
har_traits>::basic_ifstreamstd::experimental::filesystem::v1::path(const std::experimental::filesystem::
v1::path &,std::ios_base::openmode,int)”: 无法将参数 1 从“boost::filesystem::path”转换为“const std::experimental::filesys
tem::v1::path &” [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(177,23): error C2039: "ofstream": 不是 "boost::filesyst
em" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(178,25): error C2039: "ofstream": 不是 "boost::filesyst
em" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(178,25): error C3083: “ofstream”:“::”左侧的符号必须是一种类型 [E:
\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(178,35): error C2039: "out": 不是 "boost::filesystem" 的
成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(177,60): error C2065: “out”: 未声明的标识符 [E:\Code\luxcore
render\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(179,25): error C2039: "ofstream": 不是 "boost::filesyst
em" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(179,25): error C3083: “ofstream”:“::”左侧的符号必须是一种类型 [E:
\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(179,35): error C2039: "binary": 不是 "boost::filesystem
" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(177,60): error C2065: “binary”: 未声明的标识符 [E:\Code\luxc
orerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(180,25): error C2039: "ofstream": 不是 "boost::filesyst
em" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(180,25): error C3083: “ofstream”:“::”左侧的符号必须是一种类型 [E:
\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(180,35): error C2039: "trunc": 不是 "boost::filesystem"
的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(177,60): error C2664: “std::basic_ofstream<char,std::
char_traits>::basic_ofstreamstd::experimental::filesystem::v1::path(const std::experimental::filesystem:
:v1::path &,std::ios_base::openmode,int)”: 无法将参数 1 从“boost::filesystem::path”转换为“const std::experimental::filesy
stem::v1::path &” [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(209,23): error C2039: "ifstream": 不是 "boost::filesyst
em" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(210,25): error C2039: "ifstream": 不是 "boost::filesyst
em" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(210,25): error C3083: “ifstream”:“::”左侧的符号必须是一种类型 [E:
\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(210,35): error C2039: "in": 不是 "boost::filesystem" 的成
员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(209,60): error C2065: “in”: 未声明的标识符 [E:\Code\luxcorer
ender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(210,59): error C2039: "ifstream": 不是 "boost::filesyst
em" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(210,59): error C3083: “ifstream”:“::”左侧的符号必须是一种类型 [E:
\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(210,69): error C2039: "binary": 不是 "boost::filesystem
" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(209,60): error C2065: “binary”: 未声明的标识符 [E:\Code\luxc
orerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]
E:\Code\luxcorerender\LuxCore\src\luxrays\utils\cuda.cpp(209,60): error C2664: “std::basic_ifstream<char,std::
char_traits>::basic_ifstreamstd::experimental::filesystem::v1::path(const std::experimental::filesystem:
:v1::path &,std::ios_base::openmode,int)”: 无法将参数 1 从“boost::filesystem::path”转换为“const std::experimental::filesy
stem::v1::path &” [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]

   “E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln”(默认目标) (1) ->
   “E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxcore\luxcore.vcxproj”(默认目标) (6) ->
     E:\Code\luxcorerender\LuxCore\deps\spdlog-1.8.0\include\spdlog/logger.h(285,47): error C2039: "to_string_view"
   : 不是 "fmt" 的成员 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxcore\luxcore.vcxproj]
     E:\Code\luxcorerender\LuxCore\deps\spdlog-1.8.0\include\spdlog/logger.h(285,1): error C3861: “to_string_view”:
    找不到标识符 [E:\Code\luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxcore\luxcore.vcxproj]
@Sunning2118
Copy link
Author

What could be the reason and how to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant