From: ASSI <Str...@ne...> - 2019-11-06 05:40:58
|
Marcus Calhoun-Lopez writes: > The source of the error is as follows: > *) In the file gnuplot-5.2.7/src/Makefile.in, there is the line of code > DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) > *) The -I switch means that Clang (and GCC) search $(top_builddir) before the default include directions. > *) Clang (and GCC) have a file called version in the default included directories (likely to be part of the C++20 standard). > *) On case-insensitive file systems (like the the default macOS file system), the files version and VERSION are the same. > *) In $(top_builddir), there is a file called VERSION. > *) gnuplot indirectly has an #include <version>. > *) Instead of finding version in the default include directories, it finds the file VERSION in $(top_builddir). > *) This causes an error. So this is likely only a problem if you do an in-tree build, can you try to build out-of-tree instead and see if that error goes away? > If -I$(top_builddir) is replaced with -idirafter$(top_builddir), the problem goes away. That's changing the search order which may have different problems. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves |