2026-02-10 14:51 UTC
@PeterSommerlad@mastodon.social
Had another thought:
As you mentioned cmake: What about invoking gcc directly? Can it find the lib this way?
g++ -o main.out -Wall -Werror -pedantic main.cc
if so, then likely the issue is with cmake.
Replies (1)
-
@PeterSommerlad@mastodon.social 2026-02-10 15:38
@hiddenalpha@mastodon.social i tried that some time ago it worked when also passing std.cc directly to the compiler with the main.cpp but failed linking otherwise when compiling just main.cpp. then the recommendation was to use cmake instead. do i tried it now and which seems to fail for the same reason.