nomad-software / tkd

GUI toolkit for the D programming language based on Tcl/Tk
MIT License
117 stars 16 forks source link

Has this been abandoned? #65

Closed 1404er closed 2 years ago

1404er commented 2 years ago

Tried running the example with the dub --config=example command, it gives me several warning of deprecated functions and then ends in an error:

libcmt.lib(exe_winmain.obj) : error LNK2019: unresolved external symbol WinMain referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@YAHXZ) .dub\build\example-debug-windows-x86_64-dmd_v2.098.1-dirty-7A28AC43C1B0C9E959EE4A53C170C61F\example.exe : fatal error LNK1120: 1 unresolved externals Error: linker exited with status 1120 C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.

Am I doing something wrong or is this just out of date? I saw the last commit was october so I wasn't sure if this was even still maintained.

JAZ-013 commented 2 years ago

I'm having this same problem. Did you close this because you discovered the solution? Care to share? Thanks.

nomad-software commented 2 years ago

I'm sorry this project is no longer being maintained.

JAZ-013 commented 2 years ago

I'm sorry this project is no longer being maintained.

Well that's a bummer. I was just assessing if this library would be a fit for a GUI project I need to undertake, and it was looking pretty good.

I did figure out how to overcome my problem in the end too.

For anyone else that has this problem and finds this issue, look here: https://wiki.dlang.org/D_for_Win32 You will need to modify the entrypoint into the application as described so that the linker can use the /subsystem:windows option.