You are not logged in.

#1 2018-04-03 21:04:05

qlem
Member
Registered: 2017-05-09
Posts: 29

[Cocos2d-x] /usr/bin/ld : cannot find -lpthreads

Hi,

I try to run a cocos2d-x project but i have this ld error while build it  :

/usr/bin/cc  -std=c99 -std=gnu99 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_bebdd.dir/CheckFunctionExists.c.o  -o cmTC_bebdd -lpthreads 
/usr/bin/ld : ne peut trouver -lpthreads
collect2: error: ld a retourné le statut de sortie 1
make[1]: *** [CMakeFiles/cmTC_bebdd.dir/build.make:98: cmTC_bebdd] Error 1
make[1] : on quitte le répertoire « /home/qlem/project/Dommerc/linux-build/CMakeFiles/CMakeTmp »
make: *** [Makefile:126: cmTC_bebdd/fast] Error 2
qlem $> ls -al /usr/lib/libpthread*
-rwxr-xr-x 1 root root 145336 17 janv. 22:09 /usr/lib/libpthread-2.26.so
-rw-r--r-- 1 root root 396314 17 janv. 22:10 /usr/lib/libpthread.a
-rw-r--r-- 1 root root   1716 17 janv. 22:10 /usr/lib/libpthread_nonshared.a
-rw-r--r-- 1 root root    222 17 janv. 22:09 /usr/lib/libpthread.so
lrwxrwxrwx 1 root root     18 17 janv. 22:10 /usr/lib/libpthread.so.0 -> libpthread-2.26.so

How i can fix this ?

Last edited by qlem (2018-04-03 21:04:36)

Offline

#2 2018-04-04 13:18:02

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [Cocos2d-x] /usr/bin/ld : cannot find -lpthreads

pacman -Qi cocos-2d-x-src ?

Is the project compatible with glibc 2.26 ?

full build output may also help, prepend with LC_ALL=C to get english output.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2018-04-04 21:15:25

qlem
Member
Registered: 2017-05-09
Posts: 29

Re: [Cocos2d-x] /usr/bin/ld : cannot find -lpthreads

Hi,

I not installed cocos2d-x from AUR but from official cocos site. I dont know the compatibility with glibc 2.26.
I just generated a new cocos2d-x project and i try to build and run it.

I tried to create a symbolic link like this libpthreads.so -> libpthread.so but it does'nt work.

Here full build output :

The system is: Linux - 4.15.14-1-ARCH - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc 
Build flags: 
Id flags:  

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is GNU, found in "/home/qlem/project/foo/linux-build/CMakeFiles/3.10.3/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++ 
Build flags: 
Id flags:  

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is GNU, found in "/home/qlem/project/foo/linux-build/CMakeFiles/3.10.3/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_66a44/fast"
/usr/bin/make -f CMakeFiles/cmTC_66a44.dir/build.make CMakeFiles/cmTC_66a44.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_66a44.dir/testCCompiler.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_66a44.dir/testCCompiler.c.o   -c /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_66a44
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_66a44.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_66a44.dir/testCCompiler.c.o  -o cmTC_66a44 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3d6f1/fast"
/usr/bin/make -f CMakeFiles/cmTC_3d6f1.dir/build.make CMakeFiles/cmTC_3d6f1.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_3d6f1.dir/CMakeCCompilerABI.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_3d6f1.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.10/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_3d6f1
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3d6f1.dir/link.txt --verbose=1
/usr/bin/cc     -v -rdynamic CMakeFiles/cmTC_3d6f1.dir/CMakeCCompilerABI.c.o  -o cmTC_3d6f1 
Utilisation des specs internes.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper
Cible : x86_64-pc-linux-gnu
Configuré avec: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Modèle de thread: posix
gcc version 7.3.1 20180312 (GCC) 
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_3d6f1' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQwyNOt.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_3d6f1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../.. CMakeFiles/cmTC_3d6f1.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_3d6f1' '-mtune=generic' '-march=x86-64'
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_3d6f1/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTC_3d6f1.dir/build.make CMakeFiles/cmTC_3d6f1.dir/build]
  ignore line: [make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »]
  ignore line: [Building C object CMakeFiles/cmTC_3d6f1.dir/CMakeCCompilerABI.c.o]
  ignore line: [/usr/bin/cc    -o CMakeFiles/cmTC_3d6f1.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.10/Modules/CMakeCCompilerABI.c]
  ignore line: [Linking C executable cmTC_3d6f1]
  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3d6f1.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/cc     -v -rdynamic CMakeFiles/cmTC_3d6f1.dir/CMakeCCompilerABI.c.o  -o cmTC_3d6f1 ]
  ignore line: [Utilisation des specs internes.]
  ignore line: [COLLECT_GCC=/usr/bin/cc]
  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper]
  ignore line: [Cible : x86_64-pc-linux-gnu]
  ignore line: [Configuré avec: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp]
  ignore line: [Modèle de thread: posix]
  ignore line: [gcc version 7.3.1 20180312 (GCC) ]
  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../:/lib/:/usr/lib/]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_3d6f1' '-mtune=generic' '-march=x86-64']
  link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQwyNOt.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_3d6f1 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../.. CMakeFiles/cmTC_3d6f1.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crtn.o]
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/collect2] ==> ignore
    arg [-plugin] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/liblto_plugin.so] ==> ignore
    arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper] ==> ignore
    arg [-plugin-opt=-fresolution=/tmp/ccQwyNOt.res] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [--build-id] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [--hash-style=gnu] ==> ignore
    arg [-m] ==> ignore
    arg [elf_x86_64] ==> ignore
    arg [-export-dynamic] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
    arg [-pie] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_3d6f1] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/Scrt1.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crti.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtbeginS.o] ==> ignore
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1]
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib]
    arg [-L/lib/../lib] ==> dir [/lib/../lib]
    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../..]
    arg [CMakeFiles/cmTC_3d6f1.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [-lc] ==> lib [c]
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtendS.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crtn.o] ==> ignore
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib] ==> [/usr/lib]
  collapse library dir [/lib/../lib] ==> [/lib]
  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../..] ==> [/usr/lib]
  implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
  implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1;/usr/lib;/lib]
  implicit fwks: []




Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_16640/fast"
/usr/bin/make -f CMakeFiles/cmTC_16640.dir/build.make CMakeFiles/cmTC_16640.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_16640.dir/feature_tests.c.o
/usr/bin/cc   -std=c11 -o CMakeFiles/cmTC_16640.dir/feature_tests.c.o   -c /home/qlem/project/foo/linux-build/CMakeFiles/feature_tests.c
Linking C executable cmTC_16640
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_16640.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_16640.dir/feature_tests.c.o  -o cmTC_16640 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:1c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_e37d5/fast"
/usr/bin/make -f CMakeFiles/cmTC_e37d5.dir/build.make CMakeFiles/cmTC_e37d5.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_e37d5.dir/feature_tests.c.o
/usr/bin/cc   -std=c99 -o CMakeFiles/cmTC_e37d5.dir/feature_tests.c.o   -c /home/qlem/project/foo/linux-build/CMakeFiles/feature_tests.c
Linking C executable cmTC_e37d5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e37d5.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_e37d5.dir/feature_tests.c.o  -o cmTC_e37d5 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_76256/fast"
/usr/bin/make -f CMakeFiles/cmTC_76256.dir/build.make CMakeFiles/cmTC_76256.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_76256.dir/feature_tests.c.o
/usr/bin/cc   -std=c90 -o CMakeFiles/cmTC_76256.dir/feature_tests.c.o   -c /home/qlem/project/foo/linux-build/CMakeFiles/feature_tests.c
Linking C executable cmTC_76256
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_76256.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_76256.dir/feature_tests.c.o  -o cmTC_76256 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:0c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:0c_variadic_macros
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_3e2a1/fast"
/usr/bin/make -f CMakeFiles/cmTC_3e2a1.dir/build.make CMakeFiles/cmTC_3e2a1.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_3e2a1.dir/testCXXCompiler.cxx.o
/usr/bin/c++     -o CMakeFiles/cmTC_3e2a1.dir/testCXXCompiler.cxx.o -c /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_3e2a1
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3e2a1.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_3e2a1.dir/testCXXCompiler.cxx.o  -o cmTC_3e2a1 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_13831/fast"
/usr/bin/make -f CMakeFiles/cmTC_13831.dir/build.make CMakeFiles/cmTC_13831.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_13831.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++     -o CMakeFiles/cmTC_13831.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.10/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_13831
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_13831.dir/link.txt --verbose=1
/usr/bin/c++      -v -rdynamic CMakeFiles/cmTC_13831.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_13831 
Utilisation des specs internes.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper
Cible : x86_64-pc-linux-gnu
Configuré avec: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Modèle de thread: posix
gcc version 7.3.1 20180312 (GCC) 
COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_13831' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbFBJ6O.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_13831 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../.. CMakeFiles/cmTC_13831.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crtn.o
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_13831' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_13831/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTC_13831.dir/build.make CMakeFiles/cmTC_13831.dir/build]
  ignore line: [make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »]
  ignore line: [Building CXX object CMakeFiles/cmTC_13831.dir/CMakeCXXCompilerABI.cpp.o]
  ignore line: [/usr/bin/c++     -o CMakeFiles/cmTC_13831.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.10/Modules/CMakeCXXCompilerABI.cpp]
  ignore line: [Linking CXX executable cmTC_13831]
  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_13831.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/c++      -v -rdynamic CMakeFiles/cmTC_13831.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_13831 ]
  ignore line: [Utilisation des specs internes.]
  ignore line: [COLLECT_GCC=/usr/bin/c++]
  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper]
  ignore line: [Cible : x86_64-pc-linux-gnu]
  ignore line: [Configuré avec: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp]
  ignore line: [Modèle de thread: posix]
  ignore line: [gcc version 7.3.1 20180312 (GCC) ]
  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/]
  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../:/lib/:/usr/lib/]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_13831' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
  link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbFBJ6O.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_13831 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../.. CMakeFiles/cmTC_13831.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crtn.o]
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/collect2] ==> ignore
    arg [-plugin] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/liblto_plugin.so] ==> ignore
    arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/lto-wrapper] ==> ignore
    arg [-plugin-opt=-fresolution=/tmp/ccbFBJ6O.res] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lc] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [--build-id] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [--hash-style=gnu] ==> ignore
    arg [-m] ==> ignore
    arg [elf_x86_64] ==> ignore
    arg [-export-dynamic] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
    arg [-pie] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_13831] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/Scrt1.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crti.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtbeginS.o] ==> ignore
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1]
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib]
    arg [-L/lib/../lib] ==> dir [/lib/../lib]
    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
    arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../..]
    arg [CMakeFiles/cmTC_13831.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
    arg [-lstdc++] ==> lib [stdc++]
    arg [-lm] ==> lib [m]
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [-lc] ==> lib [c]
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/crtendS.o] ==> ignore
    arg [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib/crtn.o] ==> ignore
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../lib] ==> [/usr/lib]
  collapse library dir [/lib/../lib] ==> [/lib]
  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
  collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../..] ==> [/usr/lib]
  implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
  implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1;/usr/lib;/lib]
  implicit fwks: []




Detecting CXX [-std=c++1z] compiler features compiled with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_e8f48/fast"
/usr/bin/make -f CMakeFiles/cmTC_e8f48.dir/build.make CMakeFiles/cmTC_e8f48.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_e8f48.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++1z -o CMakeFiles/cmTC_e8f48.dir/feature_tests.cxx.o -c /home/qlem/project/foo/linux-build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_e8f48
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e8f48.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_e8f48.dir/feature_tests.cxx.o  -o cmTC_e8f48 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


    Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_6c478/fast"
/usr/bin/make -f CMakeFiles/cmTC_6c478.dir/build.make CMakeFiles/cmTC_6c478.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_6c478.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++14 -o CMakeFiles/cmTC_6c478.dir/feature_tests.cxx.o -c /home/qlem/project/foo/linux-build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_6c478
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6c478.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_6c478.dir/feature_tests.cxx.o  -o cmTC_6c478 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


    Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_29399/fast"
/usr/bin/make -f CMakeFiles/cmTC_29399.dir/build.make CMakeFiles/cmTC_29399.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_29399.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++11 -o CMakeFiles/cmTC_29399.dir/feature_tests.cxx.o -c /home/qlem/project/foo/linux-build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_29399
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_29399.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_29399.dir/feature_tests.cxx.o  -o cmTC_29399 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f2f05/fast"
/usr/bin/make -f CMakeFiles/cmTC_f2f05.dir/build.make CMakeFiles/cmTC_f2f05.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building CXX object CMakeFiles/cmTC_f2f05.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++98 -o CMakeFiles/cmTC_f2f05.dir/feature_tests.cxx.o -c /home/qlem/project/foo/linux-build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_f2f05
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f2f05.dir/link.txt --verbose=1
/usr/bin/c++       -rdynamic CMakeFiles/cmTC_f2f05.dir/feature_tests.cxx.o  -o cmTC_f2f05 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:0cxx_alias_templates
    Feature record: CXX_FEATURE:0cxx_alignas
    Feature record: CXX_FEATURE:0cxx_alignof
    Feature record: CXX_FEATURE:0cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:0cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:0cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:0cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:0cxx_default_function_template_args
    Feature record: CXX_FEATURE:0cxx_defaulted_functions
    Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:0cxx_delegating_constructors
    Feature record: CXX_FEATURE:0cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:0cxx_explicit_conversions
    Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:0cxx_extern_templates
    Feature record: CXX_FEATURE:0cxx_final
    Feature record: CXX_FEATURE:0cxx_func_identifier
    Feature record: CXX_FEATURE:0cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:0cxx_inheriting_constructors
    Feature record: CXX_FEATURE:0cxx_inline_namespaces
    Feature record: CXX_FEATURE:0cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:0cxx_local_type_template_args
    Feature record: CXX_FEATURE:0cxx_long_long_type
    Feature record: CXX_FEATURE:0cxx_noexcept
    Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:0cxx_nullptr
    Feature record: CXX_FEATURE:0cxx_override
    Feature record: CXX_FEATURE:0cxx_range_for
    Feature record: CXX_FEATURE:0cxx_raw_string_literals
    Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:0cxx_right_angle_brackets
    Feature record: CXX_FEATURE:0cxx_rvalue_references
    Feature record: CXX_FEATURE:0cxx_sizeof_member
    Feature record: CXX_FEATURE:0cxx_static_assert
    Feature record: CXX_FEATURE:0cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:0cxx_thread_local
    Feature record: CXX_FEATURE:0cxx_trailing_return_types
    Feature record: CXX_FEATURE:0cxx_unicode_literals
    Feature record: CXX_FEATURE:0cxx_uniform_initialization
    Feature record: CXX_FEATURE:0cxx_unrestricted_unions
    Feature record: CXX_FEATURE:0cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:0cxx_variadic_macros
    Feature record: CXX_FEATURE:0cxx_variadic_templates
Determining if the include file pthread.h exists passed with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_81257/fast"
/usr/bin/make -f CMakeFiles/cmTC_81257.dir/build.make CMakeFiles/cmTC_81257.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_81257.dir/CheckIncludeFile.c.o
/usr/bin/cc   -std=c99 -std=gnu99 -fPIC    -o CMakeFiles/cmTC_81257.dir/CheckIncludeFile.c.o   -c /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_81257
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_81257.dir/link.txt --verbose=1
/usr/bin/cc  -std=c99 -std=gnu99 -fPIC     -rdynamic CMakeFiles/cmTC_81257.dir/CheckIncludeFile.c.o  -o cmTC_81257 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »


Determining if the function pthread_create exists in the pthread passed with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ed613/fast"
/usr/bin/make -f CMakeFiles/cmTC_ed613.dir/build.make CMakeFiles/cmTC_ed613.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_ed613.dir/CheckFunctionExists.c.o
/usr/bin/cc   -std=c99 -std=gnu99 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_ed613.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_ed613
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed613.dir/link.txt --verbose=1
/usr/bin/cc  -std=c99 -std=gnu99 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_ed613.dir/CheckFunctionExists.c.o  -o cmTC_ed613 -lpthread 
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »

Here full build error output :

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_14810/fast"
/usr/bin/make -f CMakeFiles/cmTC_14810.dir/build.make CMakeFiles/cmTC_14810.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_14810.dir/CheckSymbolExists.c.o
/usr/bin/cc   -std=c99 -std=gnu99 -fPIC    -o CMakeFiles/cmTC_14810.dir/CheckSymbolExists.c.o   -c /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_14810
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_14810.dir/link.txt --verbose=1
/usr/bin/cc  -std=c99 -std=gnu99 -fPIC     -rdynamic CMakeFiles/cmTC_14810.dir/CheckSymbolExists.c.o  -o cmTC_14810 
CMakeFiles/cmTC_14810.dir/CheckSymbolExists.c.o : Dans la fonction « main » :
CheckSymbolExists.c:(.text+0x1b) : référence indéfinie vers « pthread_create »
collect2: error: ld a retourné le statut de sortie 1
make[1]: *** [CMakeFiles/cmTC_14810.dir/build.make:98: cmTC_14810] Error 1
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
make: *** [Makefile:126: cmTC_14810/fast] Error 2

File /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1be98/fast"
/usr/bin/make -f CMakeFiles/cmTC_1be98.dir/build.make CMakeFiles/cmTC_1be98.dir/build
make[1] : on entre dans le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
Building C object CMakeFiles/cmTC_1be98.dir/CheckFunctionExists.c.o
/usr/bin/cc   -std=c99 -std=gnu99 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_1be98.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_1be98
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1be98.dir/link.txt --verbose=1
/usr/bin/cc  -std=c99 -std=gnu99 -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_1be98.dir/CheckFunctionExists.c.o  -o cmTC_1be98 -lpthreads 
/usr/bin/ld : ne peut trouver -lpthreads
collect2: error: ld a retourné le statut de sortie 1
make[1]: *** [CMakeFiles/cmTC_1be98.dir/build.make:98: cmTC_1be98] Error 1
make[1] : on quitte le répertoire « /home/qlem/project/foo/linux-build/CMakeFiles/CMakeTmp »
make: *** [Makefile:126: cmTC_1be98/fast] Error 2

Offline

#4 2018-04-05 08:13:32

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: [Cocos2d-x] /usr/bin/ld : cannot find -lpthreads

For clarity :

You downloaded cocos2d-x-3.16.zip from http://www.cocos2d-x.org/download (top left choice) ?

What instructions are you following to build cocos-2d-x ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2018-04-05 20:19:13

qlem
Member
Registered: 2017-05-09
Posts: 29

Re: [Cocos2d-x] /usr/bin/ld : cannot find -lpthreads

Lone_Wolf wrote:

You downloaded cocos2d-x-3.16.zip from http://www.cocos2d-x.org/download (top left choice) ?

Yes.

Lone_Wolf wrote:

What instructions are you following to build cocos-2d-x ?

I have generated a new cocos project like this :

qlem $> cocos new foo -l cpp
> Copy template into /home/qlem/project/foo
> Copying Cocos2d-x files...
> Rename project name from 'HelloCpp' to 'foo'
> Replace the project name from 'HelloCpp' to 'foo'
> Replace the project package name from 'org.cocos2dx.hellocpp' to 'org.cocos2dx.foo'
> Replace the Mac bundle id from 'org.cocos2dx.hellocpp' to 'org.cocos2dx.foo'
> Replace the iOS bundle id from 'org.cocos2dx.hellocpp' to 'org.cocos2dx.foo'

And i try to build and run it like this :

qlem $> cocos run -p linux
Building mode: debug
running: 'cmake -DCMAKE_BUILD_TYPE=Debug -DDEBUG_MODE=ON ..'

-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
It appears you are building natively for Linux with GCC
-- chipmunk CHIPMUNK_LIBRARIES: /home/qlem/project/foo/cocos2d/external/chipmunk/prebuilt/linux/64-bit/libchipmunk.a
-- curl CURL_LIBRARIES: 
-- freetype2 FREETYPE_LIBRARIES: /home/qlem/project/foo/cocos2d/external/freetype2/prebuilt/linux/64-bit/libfreetype.a
-- jpeg JPEG_LIBRARIES: /home/qlem/project/foo/cocos2d/external/jpeg/prebuilt/linux/64-bit/libjpeg.a
-- png PNG_LIBRARIES: 
-- tiff TIFF_LIBRARIES: /home/qlem/project/foo/cocos2d/external/tiff/prebuilt/linux/64-bit/libtiff.a
-- webp WEBP_LIBRARIES: /home/qlem/project/foo/cocos2d/external/webp/prebuilt/linux/64-bit/libwebp.a
-- websockets WEBSOCKETS_LIBRARIES: /home/qlem/project/foo/cocos2d/external/websockets/prebuilt/linux/64-bit/libwebsockets.a
-- openssl OPENSSL_LIBRARIES: /home/qlem/project/foo/cocos2d/external/openssl/prebuilt/linux/64-bit/libssl.a;/home/qlem/project/foo/cocos2d/external/openssl/prebuilt/linux/64-bit/libcrypto.a
-- bullet BULLET_LIBRARIES: /home/qlem/project/foo/cocos2d/external/bullet/prebuilt/linux/64-bit/libBulletDynamics.a;/home/qlem/project/foo/cocos2d/external/bullet/prebuilt/linux/64-bit/libBulletCollision.a;/home/qlem/project/foo/cocos2d/external/bullet/prebuilt/linux/64-bit/libBulletMultiThreaded.a;/home/qlem/project/foo/cocos2d/external/bullet/prebuilt/linux/64-bit/libLinearMath.a;/home/qlem/project/foo/cocos2d/external/bullet/prebuilt/linux/64-bit/libMiniCL.a
-- fmod FMOD_LIBRARIES: /home/qlem/project/foo/cocos2d/external/linux-specific/fmod/prebuilt/64-bit/libfmod.so;/home/qlem/project/foo/cocos2d/external/linux-specific/fmod/prebuilt/64-bit/libfmod.so
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- OpenGL include dirs: /usr/include
-- Found GLEW: /usr/include  
-- GLEW include dirs: /usr/include
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
-- PkgConfig not found, if you have only static glfw library, you build can fail
-- Found GLFW3: /usr/lib/libglfw.so  
-- GLFW3 include dirs: /usr/include/GLFW
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- SQLite3 include dirs: /usr/include
-- FMOD include dirs: /home/qlem/project/foo/cocos2d/external/linux-specific/fmod/include
-- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
-- checking for one of the modules 'fontconfig'
CMake Error at cocos2d/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
  Could NOT find Fontconfig (missing: FONTCONFIG_FOUND)
Call Stack (most recent call first):
  cocos2d/cmake/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
  cocos2d/cmake/Modules/FindFontconfig.cmake:13 (find_package_handle_standard_args)
  cocos2d/cmake/Modules/CocosBuildHelpers.cmake:44 (find_package)
  cocos2d/cmake/Modules/BuildModules.cmake:22 (cocos_find_package)
  cocos2d/CMakeLists.txt:98 (BuildModules)


-- Configuring incomplete, errors occurred!
See also "/home/qlem/project/foo/linux-build/CMakeFiles/CMakeOutput.log".
See also "/home/qlem/project/foo/linux-build/CMakeFiles/CMakeError.log".
Error running command, return code: 1.

Offline

#6 2018-04-05 21:18:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,860
Website

Re: [Cocos2d-x] /usr/bin/ld : cannot find -lpthreads

Looks like you don't have base-devel installed. This is a requisite for building most packages/projects.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB