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

build error #27

Closed
haesleinhuepf opened this issue Jan 9, 2024 · 3 comments
Closed

build error #27

haesleinhuepf opened this issue Jan 9, 2024 · 3 comments

Comments

@haesleinhuepf
Copy link
Member

Hi @StRigaud ,

I just tried to build clesperantoj_protoype and receive this error:

[ 67%] Building CXX object _deps/clic_lib-build/clic/CMakeFiles/CLIc.dir/src/tier1/cleReplaceIntensitiesKernel.cpp.obj
cleReplaceIntensitiesKernel.cpp
C:\structure\code\clesperantoj_prototype\native\clesperantoj\cppbuild\_deps\clic_lib-src\clic\include\core\cleBackend.hpp(31): warning C4267: 'argument': conversion from 'size_t' to 'cl_uint', possible loss of data
C:\structure\code\clesperantoj_prototype\native\clesperantoj\cppbuild\_deps\clic_lib-src\clic\src\tier1\cleReplaceIntensitiesKernel.cpp(4): fatal error C1083: Cannot open include file: 'cle_replace_intensities.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
[ERROR] Command execution failed.

I suspect I should use a different version/tag for building here. Can you advice?

Thanks!

And happy new year btw.

@haesleinhuepf
Copy link
Member Author

Alternatively, if I build this PR/branch, I receive this error:

[ 90%] Building CXX object CMakeFiles/JCLIc.dir/src/clesperantoj.cpp.obj
clesperantoj.cpp
C:\structure\code\clesperantoj_prototype\native\clesperantoj\src\clesperantoj.cpp(55): error C2661: 'cle::Array::create': no overloaded function takes 6 arguments
C:\structure\code\clesperantoj_prototype\native\clesperantoj\src\clesperantoj.cpp(56): error C3536: 'data': cannot be used before it is initialized
C:\structure\code\clesperantoj_prototype\native\clesperantoj\src\clesperantoj.cpp(56): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'ArrayJ'
C:\structure\code\clesperantoj_prototype\native\clesperantoj\src\clesperantoj.cpp(56): note: No constructor could take the source type, or constructor overload resolution was ambiguous
NMAKE : fatal error U1077: '"C:\Program Files\CMake\bin\cmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
[ERROR] Command execution failed.

@StRigaud
Copy link
Member

StRigaud commented Jan 9, 2024

HNY!

I will have a look when I have 5 min this week

@StRigaud
Copy link
Member

This should be fix by now, closing.

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

2 participants