juancarlospaco/webgui

Linking on Windows fails: undefined reference to ShellExecute

ZoomRmc opened this issue · 1 comments

Linking on Windows fails with undefined reference to ShellExecute errors.

Possible source:

ShellExecute(0, 0, uri, 0, 0 , SW_SHOW );
Should it be ShellExecuteW?
Secondly, -lcomdlg32 isn't passed to the linker, otherwise a bunch of errors pop up for tinyfiledialogs.

@ZoomRmc Can you send PR with the mentioned changes?, I will merge.
I dont have Windows myself right now.