4 Mar
2021
4 Mar
'21
6:38 p.m.
Hello Boost users
I have here a strange problem which occurs only if I try to build with precompiled headers using CMake. I've configured the project for use with dynamically linking. The error is:
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/crt1.o: in function `_start': (.text+0x24): undefined reference to `main'
Something obvious?
Thanks in advance
The project's reduce is:
[...] attached a minimal example. So it can be reproduced.