Hello,
I have a tasvine application written in c++. taskvine.h is enclosed in extern "C" {} and I build like this:
${CXX:-g++10} -o farmfarms \
-I${HOME}/.local/cctools/include/cctools \
-L${HOME}/.local/cctools/lib -ltaskvine -ldttools \
-Lutilities -lutilities \
-lm -lz -lcrypto -lssl
The build succeeds but when I run the application I get:
Usage:
./farmfarms input-file [output-file]
2023/07/06 07:46:47.00 [94474] fatal: ARGC 1: (null)
However I have a usage message in main(). So the usage message I see must be from somewhere else. I'm no c/c++ expert, but this smells like a linking issue.
Does anyone have any ideas on how to fix this?
Thanks,
Roger