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.
Hi,
I have a Beaglebone black and I have setup a dev environment using CCSv6 I had cross compiler support (using arm-linux-gnuabihf) , rse and gdb working. I have a virtual OS with Ubuntu 16.04. I was able to step through example code on the arm and everything was great.....
Then I tried setting up a PRU project to build (I have the complier and pru support installed), it was buidling ok, then when I was trying to export these compiler settings to another project I must have managed to destroy all the cross compiler configuration I had set up. No idea how I managed it.
1) I builded a prevoiusly working cross compiled ARM code and it reported build error. The detail was Error running CDT Builder, configuration Debug (Java.lang.NullPointerException).
2) So I thought go to the Project->Properties->C/C++ Build-> Settings, in there I get a pop up saying there are invalid values (java.lang.NullPointerException). Once I acknowledge error I finally get to the Cross GCC/G++/ Complier settings and it is blank. So I released I'd screwed up the cross compiler. Tried to put the correct path in and it didn't work.
3) So next I tried a Restore from history, I got my original makefile back, it looks correct and tried to build , Same error. So I thought I must have screwed up the cross complier settings I had for CSS.
4) To confirm my worry I tried to create a new C /C++ project (New->Project->C Project) and when I did I found that I have lost the Cross Gcc and Linux Gcc toolchain options (it just says -OTher Toolchain-)
5) So finally I tried to point CCSv6 to the Beaglebone SDK arm crosspiler under ~/sdk/linux-devkit/sysroots/x86_64-arago-linux/usr/bin by go into Windows -> Preferences-> Compiler but it doesn't pick it up.
So I am a bit lost, it must have been something really bad to manage to remove all cross complier support. I have tried also restoring the complier options to defaul, then adding the cross complier again, no success.
Any ideas ?
Regards
Paul
I have copied the CCS Config settings into a text file. I got them from Help->InstallationDetails->Configuration
Digging around I have found xmls in the project directory where the cross compiler settings are held, .cproject. Trouble is that the .cproject settings look reasonable, the correct cross compiler prefix is there for compiler and the linker. The directory path is also correct. Totally lost.. asked TI email support so perhaps they can help. Must be a generic Ecilpse setting I have somehow lost.