User forums > Using Code::Blocks
"undefined reference to ..." Error
wtbrannan:
Hello Tim,
I believe I found it. The solution seems so simple but just one of those "beginner" omissions.
Note for everyone else:
If your program is written in C++ and the lib is in C, then you must wrap the #include statement with extern "C" {[include.h file]}
Thanks for your help once again.
Bill
Navigation
[0] Message Index
[*] Previous page
Go to full version