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

When I execute cmake, I get the following error, how to fix it? #2988

Open
pyl3000 opened this issue Oct 26, 2024 · 3 comments
Open

When I execute cmake, I get the following error, how to fix it? #2988

pyl3000 opened this issue Oct 26, 2024 · 3 comments

Comments

@pyl3000
Copy link

pyl3000 commented Oct 26, 2024

https://github.com/onnx/onnx-mlir/blob/main/docs/BuildOnWindows.md

image

FAILED: src/Accelerators/CMakeFiles/OMAccelerator.dir/Accelerator.cpp.obj D:\VisualStudio\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\onnx-mlir\llvm-project\llvm\include -ID:\onnx-mlir\llvm-project\build\include -ID:\onnx-mlir\llvm-project\mlir\include -ID:\onnx-mlir\llvm-project\build\tools\mlir\include -ID:\onnx-mlir\onnx-mlir\include -ID:\onnx-mlir\onnx-mlir -ID:\onnx-mlir\onnx-mlir\build /DWIN32 /D_WINDOWS /WX /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /Zc:preprocessor -D_SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING -DSUPPRESS_THIRD_PARTY_WARNINGS /O2 /Ob2 -std:c++17 -MD -D_GLIBCXX_ASSERTIONS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -DUNICODE -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS /EHsc /GR -UNDEBUG /showIncludes /Fosrc\Accelerators\CMakeFiles\OMAccelerator.dir\Accelerator.cpp.obj /Fdsrc\Accelerators\CMakeFiles\OMAccelerator.dir\OMAccelerator.pdb /FS -c D:\onnx-mlir\onnx-mlir\src\Accelerators\Accelerator.cpp

@AlexandreEichenberger
Copy link
Collaborator

Are you working under windows? Folks at MS have not contributed to this project latetely and the CIs may have stopped working/testing for integration. We have no test machines to check out build errors. Would you be able to work under Linux?

@pyl3000
Copy link
Author

pyl3000 commented Oct 29, 2024

Are you working under windows? Folks at MS have not contributed to this project latetely and the CIs may have stopped working/testing for integration. We have no test machines to check out build errors. Would you be able to work under Linux?

I am using Windows. Okay, I will try using Linux.

@AlexandreEichenberger
Copy link
Collaborator

Sure, and if you have issues there, we can help you out.

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