Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 603496 Details for
Bug 705586
sci-libs/mathgl-2.4.1: CMake Error at CMakeLists.txt:547: You have to enable OpenGL if you plan to use GLUT.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
CMakeError.log
CMakeError.log (text/plain), 3.88 KB, created by
Toralf Förster
on 2020-01-16 19:25:57 UTC
(
hide
)
Description:
CMakeError.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-01-16 19:25:57 UTC
Size:
3.88 KB
patch
obsolete
>Determining if the function sin exists failed with the following output: >Change Dir: /var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/gmake cmTC_02a2e/fast && /usr/bin/gmake -f CMakeFiles/cmTC_02a2e.dir/build.make CMakeFiles/cmTC_02a2e.dir/build >gmake[1]: Entering directory '/var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp' >Building C object CMakeFiles/cmTC_02a2e.dir/CheckFunctionExists.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=sin -o CMakeFiles/cmTC_02a2e.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c ><command-line>: warning: conflicting types for built-in function âsinâ; expected âdouble(double)â [-Wbuiltin-declaration-mismatch] >/usr/share/cmake/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro âCHECK_FUNCTION_EXISTSâ > 7 | CHECK_FUNCTION_EXISTS(void); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/share/cmake/Modules/CheckFunctionExists.c:1:1: note: âsinâ is declared in header â<math.h>â > +++ |+#include <math.h> > 1 | #ifdef CHECK_FUNCTION_EXISTS >Linking C executable cmTC_02a2e >/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_02a2e.dir/link.txt --verbose=1 >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -DCHECK_FUNCTION_EXISTS=sin -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/cmTC_02a2e.dir/CheckFunctionExists.c.o -o cmTC_02a2e >/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_02a2e.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `sin' >collect2: error: ld returned 1 exit status >gmake[1]: *** [CMakeFiles/cmTC_02a2e.dir/build.make:87: cmTC_02a2e] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:121: cmTC_02a2e/fast] Error 2 > > > >Performing C++ SOURCE FILE Test MGL_HAVE_C99_COMPLEX failed with the following output: >Change Dir: /var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/gmake cmTC_4b9a1/fast && /usr/bin/gmake -f CMakeFiles/cmTC_4b9a1.dir/build.make CMakeFiles/cmTC_4b9a1.dir/build >gmake[1]: Entering directory '/var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp' >Building CXX object CMakeFiles/cmTC_4b9a1.dir/src.cxx.o >/usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -O2 -pipe -march=native -DMGL_HAVE_C99_COMPLEX -o CMakeFiles/cmTC_4b9a1.dir/src.cxx.o -c /var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx >/var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx: In function âint main(int, char**)â: >/var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx:5:19: error: unable to find numeric literal operator âoperator""iâ > 5 | double _Complex i=1.0i; > | ^~~~ >/var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx:5:19: note: add âusing namespace std::complex_literalsâ (from <complex>) to enable the C++14 user-defined literal suffixes >/var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp/src.cxx:5:19: note: or use âjâ instead of âiâ for the GNU built-in suffix >gmake[1]: *** [CMakeFiles/cmTC_4b9a1.dir/build.make:66: CMakeFiles/cmTC_4b9a1.dir/src.cxx.o] Error 1 >gmake[1]: Leaving directory '/var/tmp/portage/sci-libs/mathgl-2.4.1/work/mathgl-2.4.1_build/CMakeFiles/CMakeTmp' >gmake: *** [Makefile:121: cmTC_4b9a1/fast] Error 2 > > >Source file was: >#include <complex> >#include <complex.h> >int main(int argc, char *args[]) >{std::complex<double> c(2.0, 1.0); >double _Complex i=1.0i; >double _Complex *a = reinterpret_cast<double _Complex *>(&c); >std::complex<double> b(*a);return 0;}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 705586
:
603494
| 603496 |
603498
|
603500
|
603502
|
603504
|
603506
|
603508
|
603510