Skip to content

Error in reference #46

Answered by ltarmcool
ltarmcool asked this question in Q&A
Jun 21, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hi Rudolph,
More information: I downloaded PlatformIO and your codes. I create a new project and manually put all of the library files (EVE.h, EVE_commands.h, etc..) in subFolder Mylib under lib, in src folder I have main.cpp which I copied and pasted your EVE_Test.cpp codes, and tft.c, tft.h, tft_data.c and tft_data.h files. I experienced the same thing, when called function EVE_cmd_dl directly from main.cpp I got that undefined reference error. But I could call that same function in tft.c...Maybe C++ file has difficulty calling C functions??
I notice that you have the C++wrapper for Arduino, should I define that some where in your codes?
Thank you,
Ltarm

P.S I used the dev laptop at wor…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@ltarmcool
Comment options

Comment options

You must be logged in to vote
2 replies
@RudolphRiedel
Comment options

@ltarmcool
Comment options

Answer selected by ltarmcool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants