Skip to content

How to export a C API from my C++ shared lib that my C-only executable can link without linker error "undefined reference"? #14123

Closed Answered by metaleap
metaleap asked this question in Q&A
Discussion options

You must be logged in to vote

#include "mylib.h" was missing in mylib.cpp...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by metaleap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant