asked    Hilary     2018-10-22       c       58 view        1 Answer

[SOLVED] clang error: linker command failed with exit code 1104

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


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  

        answered    Larry     2018-10-22      

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

Your Answer

 2018-10-22         Adolph

taskmanager be killed when canceling failed task

I start flink(bin/ a single machine, and submit a job by flink web UI.If there are something wrong with the job, such as sink mysql table does not exist or wrong keyby field, not only this job failure, I have to cancel failed task, but after cancelling ,the taskmanager seems like be "killed", it disappears in flink web ui.Are there solutions for fault tolerance(taskmanager be killed by failure job) ? The only way is to run flink on yarn? A task failure should never cause a TaskManager to be killed. Please check the TaskManager logs for any exceptions. ...
 yarn                     1 answers                     33 view
 2018-10-22         Quinn

Koa and Create-React-App Router not found

I have project build on top of create-react-app. Now, i want deploy with KoaJS. This is my code: server.jsconst serve = require('koa-static');const logger = require('koa-logger');const Koa = require('koa');const app = new Koa();const port = process.env.SERVER_PORT;app.use(logger());app.use(serve(__dirname + '/build'));app.listen(port);console.log(`Kylin listening ${process.env.SERVER_ENV} on port ${port}`);When i build, deploy and visit index (path: "/"), everything ok. But, when i visit another route, ex: /about, server response "Not found". What wrong? Somebody can help m...
 create-react-app                     1 answers                     33 view
 2018-10-22         Boris

Could not get uid/gid when building Node/Docker

My Dockerfile is using alpine and globally installing react-scripts. When it tries to install it, it fails with "could not get uid/gid" error. I added the "---unsafe-perm" option to the npm install -g command. The docker container is successfully created, but the permissions in the container are messaged up for the installed files. I see the username and group set to 1000 for all of them. I tried adding the following command to the Dockerfile right before the install step but that didn't help.RUN npm -g config set user rootBuild errorError: could not get uid/gid[ 'nobod...
 reactjs                     1 answers                     36 view