- 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-06-2017 08:20 AM
Error from wine trying to all compiler.
21:16:35 **** Build of configuration Keil 8051 vnull - Debug for project u2f ****
Building file: ../src/InitDevice.c
Invoking: Keil 8051 Compiler
wine "/Applications/SimplicityStudio_v4.app/Contents/Eclipse/developer/toolchains/keil_8051/9.53/BIN/C51" "@src/InitDevice.__i" || test $? -lt 2
/Applications/SimplicityStudio_v4.app/Contents/Eclipse/support/common/wine/opt/local/bin/wine: line 6: 18131 Illegal instruction: 4 DYLD_FALLBACK_LIBRARY_PATH="$current_dir/../lib:$current_dir/../../../usr/X11/lib:/usr/lib" "$current_dir/wine.bin" "$@"
make: *** [src/InitDevice.OBJ] Error 1
07-06-2017 10:39 AM
I will work with you to figure out this error.
Have you registered the Keil compiler (Help -> Licensing -> Keil 8051 v9.53)?
Has the Keil compiler ever worked for you?
Are there any other instances of wine installed on your Mac?
Also to help us figure out what is going on with the Keil compiler, please generate a zip file of the Simplicity Studio Logs - [Help] > [Report Bug...] make sure "Export Simplicity Studio log files" is selected, then hit [Next] twice and [Finish] and upload the resulting zip file to either this forum thread or else to a support case created through your Silicon Labs account.
07-07-2017 09:22 AM
Thank jpitt for the offer of help.
I haven't registered Keil yet.
I haven't had Keil working previously.
I have another instance of Wine embedded in MoI CAD program (www.moi3d.com) but Ive had no particular problems with it.
I have since managed to get SSv3 to compile the code (free version not registered) but its over size limit for free version, however the objective is SSv4.
07-10-2017 02:12 PM
If you try and get a license for the Keil toolchain (Help->Licensing->Keil 8051 v9.53) what happens?
The log files show that when Simplicity Studio calls the Keil dll (UV4.dll) used to check for licensing isn't getting a response. If updating the Keil license doesn't work, it could be that the two installed wine installations aren't playing nice together. (my limited understanding is that all wine installations use the same folder in the user directory and there could be incompatibilities). After exiting Simplicity Studio, please try and create a symbolic link between where Simplicity Studio installs wine and where the other wine installation is with a variation of these commands based on your installation:
cd /Applications/Simplicity\ Studio.app/Contents/Eclipse/support/common/wine/opt/local/bin
ln -s /usr/local/bin/wine ./wine
Please let me know if either licensing the Keil compiler or creating the symbolic link to the wine installation resolves the issue for you.