Closed tcsabina closed 4 years ago
Hi,
I am not used to eclipse but I see several suspicious things:
pkg-config libegt --libs
in Cross G++ Linker -> Miscellaneous -> Linker flags. I don't know how eclipse behaves but I fear having it in Libraries may prevent the expansion of the pkg command and may add an extra -l.Hope it helps
Regards
Hi,
Thanks so much for the reply. I was able to solve this base on your instructions. The problem was indeed the '—' character instead of '--'.
Here again the code snippet from the tutorial again:
pkg-config libegt —libs
This is a pure copy+paste, so this is wrong on the tutorial page. And someone like me, less familiar with the usage an command line parameters of pkg-config, can easily overlook this.
Is there a way to let the page be updated?
Regards, Tamas
Sure, I will report the issue.
Hi,
I am trying to setup my host system according to https://microchip.wikidot.com/32mpu:egt-eclipse.
egt is compiled and installed on the host (Linux Mint 19.2). All examples are working.
Sample project compilation in Eclipse stops at linking:
I have seen #5 , but I am not really able to follow the suggestion in there. It seems that there has been some changes in the tutorial, as we need to use pkg-config, (which is not visible in #5 ), and there is no Makefile.am anymore. I tried various ways to link on the command line with change the order of the parameters, but it seems to me that libegt is never being picked up.