cannot build after convert to cpp undefined reference to `_gettimeofday'
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-01 4:22 AM
I've just converted my project to C++ with STM32CubeIDE and now it gives me an error about a "undefined reference to `_gettimeofday'" in libc_nano.a
How do I fix this issue?
Solved! Go to Solution.
Labels:
- Labels:
-
STM32CubeIDE
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-01 5:16 AM
SOLVED: time function was used on some other lib that I didnt know.
for some reason it was building on C but not on C++
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-01 5:16 AM
SOLVED: time function was used on some other lib that I didnt know.
for some reason it was building on C but not on C++
