Ultralight icon indicating copy to clipboard operation
Ultralight copied to clipboard

Support of open-source C++ compiler for Windows

Open yvanblanchard opened this issue 1 year ago • 3 comments

Hello,

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

yvanblanchard avatar Oct 13 '24 10:10 yvanblanchard

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: @.***>

adamjs avatar Oct 13 '24 10:10 adamjs

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 avatar Oct 13 '24 10:10 yvanblanchard

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,..).

yvanblanchard avatar Oct 13 '24 10:10 yvanblanchard