torch / torch7

http://torch.ch
Other
8.97k stars 2.38k forks source link

Build error!! #1122

Open HonglianJiang opened 6 years ago

HonglianJiang commented 6 years ago

Anyboy have this build error? ..... ..... Linking C shared library libTH.so [ 58%] Built target TH [ 61%] Generating random.c /bin/sh: 1: /home/pj_share/disk/workspace_jhl/zhouxingyi/torch7/random.lua: Permission denied make[2]: [random.c] Error 126 make[1]: [CMakeFiles/torch.dir/all] Error 2 make: *** [all] Error 2

tastyminerals commented 6 years ago

Well, it says what it says. You have no permission to write into your workspace. This is not a Torch issue.

Alamincse12 commented 6 years ago

Build Error .How to recover? In file included from /home/alamin/torch/pkg/torch/lib/TH/THVector.c:3:0: /home/alamin/torch/pkg/torch/lib/TH/generic/THVectorDispatch.c: In function ‘THFloatVector_vectorDispatchInit’: /home/alamin/torch/pkg/torch/lib/TH/generic/simd/simd.h:114:3: error: inconsistent operand constraints in an ‘asm’ asm volatile ( "cpuid\n\t" ^ /home/alamin/torch/pkg/torch/lib/TH/generic/simd/simd.h:114:3: error: inconsistent operand constraints in an ‘asm’ asm volatile ( "cpuid\n\t" ^ make[2]: [lib/TH/CMakeFiles/TH.dir/THVector.c.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [lib/TH/CMakeFiles/TH.dir/all] Error 2 make: [all] Error 2

Error: Build error: Failed building. eror2