- Jun 6, 2020
- 11,517
- 4,383
Trying to use
When linking in B4R, "undefined reference errors" occur because the c source files are being converted to cpp files.
Have flagged in Inline C that the functions are c code with extern "C" blocks = see below snippet.
Using the Arduino IDE 1.8.13 no issues compiling & linking, i.e. sketch is running ok.
Q: How to link external modules written in plain C.
Error Messages:
Inline C Snippet:
برای دیدن لینک ها باید ثبت نام کنید
external modules, which are written in plain C.When linking in B4R, "undefined reference errors" occur because the c source files are being converted to cpp files.
Have flagged in Inline C that the functions are c code with extern "C" blocks = see below snippet.
Using the Arduino IDE 1.8.13 no issues compiling & linking, i.e. sketch is running ok.
Q: How to link external modules written in plain C.
Error Messages:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید