tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Undebuggable meson vs numpy



Reading the docs, I found

meson setup --errorlogs builddir

The output then says


Checking for type "complex float" : NO

meson.build:14:4: ERROR: Problem encountered: "complex.h" header does not include complex type complex float

A full log can be found at /path/to/builddir/meson-logs/meson-log.txt


and inside there are details about the test program and the compiler
flags, and the result.



-----------
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Running compile:
Working directory:  /path/to/builddir/meson-private/tmpcuqk21j2
Code:
#include <complex.h>
        void bar(void) {
            (void) sizeof(complex float);
        }
-----------
Command line: `c++ /path/to/builddir/meson-private/tmpcuqk21j2/testfile.cpp -o /path/to/builddir/meson-private/tmpcuqk21j2/output.obj -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive
` -> 1
stderr:
In file included from /path/to/builddir/meson-private/tmpcuqk21j2/testfile.cpp:1:
/usr/include/complex.h:1:2: error: #error manual error
    1 | #error manual error
      |  ^~~~~
-----------
Checking for type "complex float" : NO


Cheers,
 Thomas


Home | Main Index | Thread Index | Old Index