This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Good day to all,
I am using an AM43 Development Kit by Variscite.
First and foremost, I have tried to create a simple Hello World application using these two guides from TI(here) and Variscite(here). I have installed the SDK from Variscite and sourced my environment setup successfully. I have also successfully execute the 'make' command to create the file for the board and transfer the and execute the file to the target. However, When I restart my computer, or open QtCreator and try to create the file from the IDE. I receive an error message stating:
In file included from /opt/qt5devtools/sysroots/cortexa9hf-neon-linux-gnueabi/usr/include/qt5/QtCore/qnamespace.h:37:0,
from /opt/qt5devtools/sysroots/cortexa9hf-neon-linux-gnueabi/usr/include/qt5/QtCore/qobjectdefs.h:41,
from /opt/qt5devtools/sysroots/cortexa9hf-neon-linux-gnueabi/usr/include/qt5/QtCore/qobject.h:40,
from /opt/qt5devtools/sysroots/cortexa9hf-neon-linux-gnueabi/usr/include/qt5/QtCore/QObject:1,
from /opt/qt5devtools/sysroots/cortexa9hf-neon-linux-gnueabi/usr/include/qt5/QtGui/qwindow.h:37,
from /opt/qt5devtools/sysroots/cortexa9hf-neon-linux-gnueabi/usr/include/qt5/QtGui/QWindow:1,
from hellowindow.h:41,
from hellowindow.cpp:41:
/opt/qt5devtools/sysroots/cortexa9hf-neon-linux-gnueabi/usr/include/qt5/QtCore/qglobal.h:39:21: fatal error: cstddef: No such file or directory
If I try to repeat the steps for the manual qmake-make method, It doesn't work however many times I try to repeat it. I have reinstalled my entire Ubuntu 14 three times now and it always did the exact same thing. It only works the first time for every fresh installation. I have checked the directory where qglobal.h is located and it was there, so I don't understand where the error is coming from.
Please feel free to request further information as necessary. I will do my best to provide any clarification.
Kind regards,
Shoaib
Hello Shoaib,
I am assuming you are following the "Hands on with Qt" labs in the following document. The labs have only been tested with TI Processor SDK Linux and we do not test/support the SDK from Variscite.
Regards,
Krunal
Hi Krunal,
Thanks for the reply. And I do agree that the guide does not support the SDK from variscite. However, I am only using them for reference since the steps are almost similar. In that case, would you have an Idea why upon rebooting the Linux Host after installing the SDK for the first time, I get the following error when executing a 'make':
make: arm-linux-gnueabihf-g++: Command not found
make: *** [testapp1.o] Error 127
This error does not appear the first boot and everything works well. Could it be a sourcing issue? Are there some settings that are erased upon rebooting Linux?
Kind regards,
Shoaib
Hello Shoaib,
I am not sure how the variscite SDK is structured but in the TI SDK, our Makefile includes a file called Rules.make. Inside the Rules.make file, we set all the variables(ie cross compile) needed for compiling various components.
Regards,
Krunal