View Issue Details

IDProjectCategoryView StatusLast Update
0003645NoesisGUIC++ SDKpublic2024-12-12 12:27
ReporterRafael Munoz Assigned Tojsantos  
PrioritynormalSeveritymajor 
Status resolvedResolutionfixed 
Product Version3.2 
Target Version3.2.7Fixed in Version3.2.7 
Summary0003645: Native C++ SDK application sampe does not compile with recent Emscripten version
Description

I've been follow the installation tutorial for Emscripten. Installed
The install is relatively recent.(Emscripten 3.1.64)
The environvent variables are set

When running the makefile for the example app it runs partially until it finds a compilation error on file
Packages/App/EmscriptenDisplay/Src/EmscriptenDisplay.cpp:187:5: fatal error: no matching function for call to 'emscripten_set_resize_callback_on_thread'

There are an additional couple or logs but they don't seem to be errors, add them from reference and also screen capture

C:\projects\nworkspace-hello\tools\emsdk\upstream\emscripten\cache\sysroot/include\emscripten/html5.h:442:95: note: expanded from macro 'emscripten_set_resize_callback'

C:\projects\nworkspace-hello\tools\emsdk\upstream\emscripten\cache\sysroot/include\emscripten/html5.h:177:19: note: candidate function not viable: no known conversion from
'(lambda at ../../../Packages/App/EmscriptenDisplay/Src/EmscriptenDisplay.cpp:187:5)' to 'em_ui_callback_func'

For i can workaround this by trying older versions of emscripten, but i guess this is something that needs to be addressed

Steps To Reproduce

run gnumake on windows as instructed by
https://www.noesisengine.com/docs/Gui.Core.GettingStartedNative.html#building-webgl

For reference:
NoesisSample: NoesisGUI-NativeSDK-win-3.2.4
Working dir was : ./Build
Command line: gnumake -f NoesisGUI-wasm.mk CONFIG=Release

Attached Files
image.png (63,747 bytes)   
image.png (63,747 bytes)   
PlatformAny

Activities

Rafael Munoz

Rafael Munoz

2024-08-17 16:31

reporter   ~0009891

I can confirm that rolling back to Emscripten 3.1.39 and performing a clean rebuild works around the issue

Issue History

Date Modified Username Field Change
2024-08-17 16:16 Rafael Munoz New Issue
2024-08-17 16:16 Rafael Munoz File Added: image.png
2024-08-17 16:31 Rafael Munoz Note Added: 0009891
2024-08-19 11:50 jsantos Assigned To => jsantos
2024-08-19 11:50 jsantos Status new => assigned
2024-08-19 11:50 jsantos Target Version => 3.2.5
2024-10-24 12:22 jsantos Target Version 3.2.5 => 3.2.6
2024-11-22 18:19 jsantos Target Version 3.2.6 => 3.2.7
2024-12-12 12:26 jsantos View Status private => public
2024-12-12 12:27 jsantos Note View State: 0009891: public
2024-12-12 12:27 jsantos Status assigned => resolved
2024-12-12 12:27 jsantos Resolution open => fixed
2024-12-12 12:27 jsantos Fixed in Version => 3.2.7