Closed Un-ka closed 2 years ago
I increased the size of the swap by one gigabyte. Compilation has moved on. But there was an error:
[ 36%] Linking CXX static library libTestMain.a
[ 36%] Built target TestMain
Scanning dependencies of target BoostSupportTest
[ 40%] Building CXX object test/CMakeFiles/BoostSupportTest.dir/BoostSupportTest.cxx.o
[ 43%] Linking CXX executable BoostSupportTest
/usr/bin/ld: cannot find -ltrompeloeil::trompeloeil
collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/BoostSupportTest.dir/build.make:93: test/BoostSupportTest] Ошибка 1
make[1]: *** [CMakeFiles/Makefile2:343: test/CMakeFiles/BoostSupportTest.dir/all] Ошибка 2
make: *** [Makefile:141: all] Ошибка 2
The test framework libraries are both header-only, thus may require quite some memory.
In case you don't wont to develop, but rather only use the library on your device you can disable tests by the INFLUXCXX_TESTING
option – eg. pass -DINFLUXCXX_TESTING=OFF
on CLI. In that case you don't even need to provide catch and trompeloeil.
@Un-ka Were you able to solve the issue?
ping @Un-ka
I tried to build this library on Raspberry pi 4 with 1Gb RAM. But the compiler is being killed due to consuming all the memory during test builds. Message
previous
dmesg