Open
Description
The compilation on my machine was failing because of missing c++ standard library headers:
xxxxxxx@Huberts-MacBook-Air libuldaq-1.2.1 % make
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in src
CXX CtrInfo.lo
In file included from CtrInfo.cpp:7:
In file included from ./CtrInfo.h:10:
./ul_internal.h:11:10: fatal error: 'cstring' file not found
11 | #include <cstring>
| ^~~~~~~~~
1 error generated.
make[2]: *** [CtrInfo.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I had to specify:
/configure LDFLAGS="-L/opt/homebrew/lib" CPPFLAGS="-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1"
on configure step to get it to compile.
Metadata
Metadata
Assignees
Labels
No labels