I am using a library file that has a main function defined.When I compile and link, I get the linker error "Multiple definitions of main" first defined here. It points to the library.a file. Can you please advise as to how I can direct the linker to ignore the library's main and use the one in the CPP file.
Thank you.
Aucun commentaire:
Enregistrer un commentaire