ultralight-ux / Ultralight

Lightweight, high-performance HTML renderer for game and app developers.
https://ultralig.ht
4.69k stars 197 forks source link

Support of open-source C++ compiler for Windows #514

Open yvanblanchard opened 1 month ago

yvanblanchard commented 1 month ago

Hello,

In the doc, there is requirement for Visual Studio C++ compiler for Windows: is it possible to use other open-source C++ compilers ?

adamjs commented 1 month ago

What’s your goal?

You can use Clang-CL on Windows (the library is actually compiled with it). Latest Visual Studio has an option to install it.

If you want to cross-compile to Windows from other machines you can use Clang as long as you have it target the MSVC ABI. (I think you’ll also need a copy of the Windows SDK that has been extracted).

On Oct 13, 2024, at 3:32 AM, Yvan Blanchard @.***> wrote:



Hello,

In the doc, there is requirement for Visual Studio C++ compiler for Windows: is it possible to use other open-source C++ compilers ?

— Reply to this email directly, view it on GitHub https://github.com/ultralight-ux/Ultralight/issues/514, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3ZSZ63LCN7O6QW7S32AWTZ3JD5PAVCNFSM6AAAAABP3JXYUWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DGOBVG42TKNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

yvanblanchard commented 1 month ago

Thank you for your quick reply. I want to use a free C++ compiler , in VS Code. Thus, I don't want to use VisualStudio.

yvanblanchard commented 1 month ago

Sorry, just a last question (unrelated): Do you have links for finding other more detailed examples ? I am looking for example with an embedded 3D viewer and docked widgets to interact with (loading a STL mesh, displaying mesh data in widgets,..).