- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
07-10-2017 09:34 AM
I have freshly installed Simplicity Studio 3 on Arch linux, there was a package created from the AUR, I have previously installed this and had everything working.
Problem is, now it won't recognise basic C libraries and syntax. I have installed the right SDK's and target parts, but it simply returns syntax errors for anything related to C. I tried to add /bin to the paths in the include section.
I have also tried the steps in this post:
NOTE: the attached photo shows my first attempt and just before posting this I tried: $(StudioSdkPath)/bin
I have attached photos of the problem.
Solved! Go to Solution.
07-10-2017 09:48 AM
Also this is a screenshot of my include folder and it doesn't seem to include the .bin files for gcc etc.
07-10-2017 10:01 AM
The first screenshot you attached showed the errors were semantic errors, which is an error when the Eclipse indexer cannot resolve a symbol, but it doesn't result in a compilation error. Does the project build correctly? The indexer errors can usually be resolved by right clicking on the project folder and selecting [Index] > [Rebuild]. After the indexer finishes rebuilding, if that doesn't resolve the undefined symbols then try [Index]>[Freshen All Files]. Running these two functions will typically resolve the undefined symbols.
07-10-2017 10:23 AM
Having looked at a Windows installation of this software I found that there is an entire gcc installed within the SimplicityStudio3 installation folder. I'm used to IDE's like Netbeans where you include from the system directory, a foolish assumption as this is ARM not x86 or x64.
In Linux these are found at:
To avoid any confusion I have attached a photo of the include config page, and of my current include folder within the project window.