Not applicable
Jul 20, 2017
02:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 20, 2017
02:08 AM
I am using Dave 4.3.2.
I have a C++ project (renamed main.c to main.cpp) and I am trying to link a static library. In Properties / C/C++ General / Paths and Symbols the tab for Library Paths is missing. Even in Properties / C/C++ Build / ARM-GCC C++ Linker the -L section is missing.
I guess this is a bug, because when the main.cpp is re-renamed to main.c, the Library Path tab is in place.
This bug can be reproduced with a fresh DAVE CE project.
Kind regards!
I have a C++ project (renamed main.c to main.cpp) and I am trying to link a static library. In Properties / C/C++ General / Paths and Symbols the tab for Library Paths is missing. Even in Properties / C/C++ Build / ARM-GCC C++ Linker the -L section is missing.
I guess this is a bug, because when the main.cpp is re-renamed to main.c, the Library Path tab is in place.
This bug can be reproduced with a fresh DAVE CE project.
Kind regards!
- Tags:
- IFX
4 Replies
Not applicable
Jul 21, 2017
02:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 21, 2017
02:20 AM
It seems like I am not the first one facing this issue, see:
https://www.infineonforums.com/threads/4317-Dave-4-How-to-include-static-Libraries?referrerid=7922
https://www.infineonforums.com/threads/1126-DAVE-TIP-of-the-day-How-to-build-and-include-a-static-li...
https://www.infineonforums.com/threads/4317-Dave-4-How-to-include-static-Libraries?referrerid=7922
https://www.infineonforums.com/threads/1126-DAVE-TIP-of-the-day-How-to-build-and-include-a-static-li...
Jul 21, 2017
05:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 21, 2017
05:06 AM
We use C++ for the XMC4700 and XMC1404. I see the library tab on our DAVE 4.3.2:
I also have the option in Properties -> C/C++ Build -> Settings in the ARM-GCC C++ Linker -> Libraries section.
I also have the option in Properties -> C/C++ Build -> Settings in the ARM-GCC C++ Linker -> Libraries section.
Jul 21, 2017
06:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 21, 2017
06:29 AM
Hi,
This is a known problem in the current DAVE version.It is going to be solved in the next release.
In the mean time as a work around you can set up the library search path using the -L in the miscellaneous page of the linker properties, in the Other Flags input box.
Regards,
Jesus
This is a known problem in the current DAVE version.It is going to be solved in the next release.
In the mean time as a work around you can set up the library search path using the -L
Regards,
Jesus
Not applicable
Jul 24, 2017
01:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 24, 2017
01:05 AM
Hello Jesus,
thank you very much for your response! I will use the workaround that you have suggested.
Kind regards
Valentina
thank you very much for your response! I will use the workaround that you have suggested.
Kind regards
Valentina