Acknowledged

Monkey C / VS Code: macOS home folder contains exclamation mark fail to compile

As previously discussed here

My development machine which i utilize to code fail to compile "Your First Connect IQ app".

The culprit was my home folder name has exclamation mark as one of its character. After creating new account with safer username, everything build as expected.

Renaming home folder or account name is really cumbersome. Creating a dedicated "safe" username requires to setup a lot of things, which also add a lot complexity (installation, authentication for syncing, etc) which are also really tedious.

I've been using this laptop for almost a decade to develop lots of software with numerous variety of SDKs, libraries and programming languages, and compilers without any problems.

Please allow special characters to escape to Monkey C compiler.

Thank you.

Parents
  • 1. Creating symlink does not work.
    2. I tried to move the whole sdks, and project, developer key, in "safe" name location. Change the path in

    ~/Library/Application Support/Garmin/ConnectIQ/current-sdk.cfg

    ~/Library/Application Support/Garmin/ConnectIQ/sdkmanager-config.ini

    It compiles. Simulator is running, but shows blank. 

    my terminal output

     *  Executing task in folder HelloWorld: java -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar /Users/Garmin/ConnectIQ/Sdks/connectiq-sdk-mac-4.1.7-2022-11-21-562b8a195/bin/monkeybrains.jar -o bin/HelloWorld.prg -f /Users/Garmin/projects/HelloWorld/monkey.jungle -y /Users/Garmin/developer_key -d instinct2s_sim -w -l 2 
    
    WARNING: instinct2s: The launcher icon (30x30) isn't compatible with the specified launcher icon size of the device 'instinct2s' (54x54). Image will be scaled to the target size.
     *  Terminal will be reused by tasks, press any key to close it. 

Comment
  • 1. Creating symlink does not work.
    2. I tried to move the whole sdks, and project, developer key, in "safe" name location. Change the path in

    ~/Library/Application Support/Garmin/ConnectIQ/current-sdk.cfg

    ~/Library/Application Support/Garmin/ConnectIQ/sdkmanager-config.ini

    It compiles. Simulator is running, but shows blank. 

    my terminal output

     *  Executing task in folder HelloWorld: java -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar /Users/Garmin/ConnectIQ/Sdks/connectiq-sdk-mac-4.1.7-2022-11-21-562b8a195/bin/monkeybrains.jar -o bin/HelloWorld.prg -f /Users/Garmin/projects/HelloWorld/monkey.jungle -y /Users/Garmin/developer_key -d instinct2s_sim -w -l 2 
    
    WARNING: instinct2s: The launcher icon (30x30) isn't compatible with the specified launcher icon size of the device 'instinct2s' (54x54). Image will be scaled to the target size.
     *  Terminal will be reused by tasks, press any key to close it. 

Children
No Data