You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I am not used to eclipse but I see several suspicious things:
it seems you are using the '—' character instead of '--' for --cflags and --libs
you are giving some include paths related to your host machine, this is why you have some warnings
contrary to the tutorial, I would put 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.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
The text was updated successfully, but these errors were encountered: