Unable to Export the UI files

Hello,
I’m using latest version of Squareline studio. When I try to Export UI files, it freezes the app.
Platform- Windows 8.1 Pro

@kisvegabor please help.

Regards,
Keshav Aggarwal

Hi,

Please attache the logs as described here.

Hello @kisvegabor
PFA Logs here Player.rar (1.0 KB)

Hello @kisvegabor
Any update?

It seems the error is with the code formatter DLL file.

Please check if libastyle31.dll is really exists at C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/.

If so, maybe your anti virus software prevented it from running. Could you try again by disabling your antivirus SW for a few minutes?

Firstly, directory is bit different. MonoBleedingEdge is not present under SquareLine_Studio_Data

I have also searched the whole folder, libastyle31.dll does not exist anywhere

well there is a AStyle31.dll which does exist at C:\Program Files\SquareLine Studio 1.1.1\SquareLine_Studio_Data\Plugins\x86_64

Install latest vcredist from MS

Its solved now. I installed latest directx and vcredist from MS.
Thanks

Thanks for reporting your solution, we are looking into it.

It seems that I got the same question, I tried the operation you said and installed vcredist from MS, but I still can not export the UI files, here are my logs. ps:(I can not upload files because I am a new user)
Mono path[0] = ‘C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/Managed’
Mono config path = ‘C:/Program Files/SquareLine Studio 1.1.1/MonoBleedingEdge/etc’
Initialize engine version: 2021.3.9f1 (ad3870b89536)
[Subsystems] Discovering subsystems at path C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=0
d3d12: loaded!
Direct3D:
Version: Direct3D 12 [level 12.1]
Renderer: NVIDIA GeForce GTX 1650 Ti (ID=0x1f95)
Vendor: NVIDIA
VRAM: 3962 MB
App VRAM Budget: 3367 MB
Driver: 30.0.15.1272
Begin MonoManager ReloadAssembly

  • Completed reload, in 0.062 seconds
    Initializing input.

XInput1_3.dll not found. Trying XInput9_1_0.dll instead…
Input initialized.

Initialized touch support.

UnloadTime: 0.651400 ms
CurrentCulture converted to en-US
go back to front
Connection closed
StopServer
Select : Screen1
START FULL REBUILD
Checking free port 20085
20085: False
Checking free port 20086
20086: True
StartServer
Start lvgl server from: C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data..\lvgl\lvgl_v8_2_0\server
Connect to 127.0.0.1 on port 20086
START FULL REBUILD
Connection success
Render screen: ui_Screen1
Select : Screen1
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/libastyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/libastyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/libastyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/libastyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/astyle31
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/libastyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/libastyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/libastyle31.dll
Fallback handler could not load library C:/Program Files/SquareLine Studio 1.1.1/SquareLine_Studio_Data/MonoBleedingEdge/libastyle31.dll
Cannot load native library: astyle31.dll
The program has terminated!

@kisvegabor please help.

Regards,
Jim wong

Required in astyle31 is Microsoft Visual C++ 2015-2022 x64/x86

thank you very much, that solved my export ui problem in win8 apparently, now i still need to find out how to make squareline work… is so complicated to get clear information, no idea why…