0

Hi I'm rather new to Windows command prompt(have only been using Linux-based OS)

I'm trying to install OpenBLAS for Windows according to this tutorial.

When I tried running step 6

cmake .. -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_WITHOUT_LAPACK=no -DNOFORTRAN=0 -DDYNAMIC_ARCH=ON -DCMAKE_BUILD_TYPE=Release

I get the following error

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: C:/ProgramData/Anaconda3/Library/bin/clang-cl.exe Build flags: /DWIN32;/D_WINDOWS;/W3 Id flags:

The output was: 1104 LINK : fatal error LNK1104: ファイル 'libcmt.lib' を開くことができません。 clang-cl.exe: error: linker command failed with exit code 1104 (use -v to see invocation)

Run Build Command:"C:/ProgramData/Anaconda3/Library/bin/ninja.exe" "cmTC_e55c4" [1/2] Building C object CMakeFiles\cmTC_e55c4.dir\testCCompiler.c.obj

[2/2] Linking C executable cmTC_e55c4.exe

FAILED: cmTC_e55c4.exe

cmd.exe /C "cd . && C:\ProgramData\Anaconda3\Library\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_e55c4.dir --manifests -- C:\PROGRA~2\MICROS~2\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_e55c4.dir\testCCompiler.c.obj /out:cmTC_e55c4.exe /implib:cmTC_e55c4.lib /pdb:cmTC_e55c4.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."

RC Pass 1: command "rc /foCMakeFiles\cmTC_e55c4.dir/manifest.res CMakeFiles\cmTC_e55c4.dir/manifest.rc" failed (exit code 0) with the following output: 隰悶・・ョ螢ケ・・ケァ蠕娯螺郢晁シ斐<郢ァ・、郢晢スォ邵コ迹夲スヲ荵昶命邵コ荵晢ス顔クコ・セ邵コ蟶呻ス鍋クイ繝サ ninja: build stopped: subcommand failed.

Random but also,I don't know why it's outputting Chinese characters in the end...(my system language is set to Japanese and not Chinese)

1 Answer 1

0

Sorry for late answer - you should also add -DCMAKE_RC_COMPILER=llvm-rc (don't remember correct name)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.