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

g++版本咨询 #13

Closed
kuhung opened this issue Jan 4, 2018 · 2 comments
Closed

g++版本咨询 #13

kuhung opened this issue Jan 4, 2018 · 2 comments

Comments

@kuhung
Copy link

kuhung commented Jan 4, 2018

您好,我按readme操作,在Ubuntu14.04上运行bash build.sh ,总是会报错。报错内容如下

/usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h: In function ‘__m128i _mm_cvtepi16_epi64(__m128i)’:
/usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:508:59: error: cannot convert ‘__v8hi {aka short int}’ to ‘__vector(8) short int’ for argument ‘1’ to ‘__vector(2) long long int __builtin_ia32_pmovsxwq128(__vector(8) short int)’
   return (__m128i) __builtin_ia32_pmovsxwq128 ((__v8hi)__X);
                                                           ^
/usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h: In function ‘__m128i _mm_cvtepi8_epi16(__m128i)’:
/usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:514:60: error: cannot convert ‘__v16qi {aka char}’ to ‘__vector(16) cha^Cmake[2]: *** wait: 没有子进程。 停止。

目前我的cmake版本是3.2.2,g++版本是5.4.1。我有在谷歌检索类似内容,但都没有答案。初步推断是g++的版本问题。因而想向您咨询g++版本。

@Kipsora
Copy link
Collaborator

Kipsora commented Jan 5, 2018

My configuration is listed below and I can normally execute the program.

$ uname -a
Linux Kipsora-All-Series 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4
15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609

$ cmake --version
cmake version 3.5.1

@YixuanBan
Copy link

Hi, I have the same problem, how did you fix it finally?

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

3 participants