3-manifolds / tkinter_gl

An OpenGL drawing surface for tkinter based on TkGL
GNU General Public License v2.0
1 stars 1 forks source link

_tkinter.TclError: couldn't load library "C:/.../TkGL1.1/Tkgl11.dll": ... could not be found in library path #1

Open ken-morel opened 1 week ago

ken-morel commented 1 week ago

Good day @3-manifolds, Really like the library which permits me to add opengl rendering to my tkinter applications in a familiar way, I tryed to run tests in test/ but I got that error. Browsing the C:/tkinter_gl/src/tkinter_gl/tk/win32/TkGL1.1 actually approves what the error message says, Tkgl11.dll seems to not exist. renaming to Tkgl11t.dll actually worked for me, please could you rename the included dll in the tcl file to improve windows users experience.

Also, got another issue: When installing from pypi, the win32 directory is not included but instead pip downloads the darwin/ . I needed to install from source in editable mode.

Thanks!

ken-morel commented 1 week ago

made a pull request for that in #2

culler commented 2 days ago

Thank you very much @ken-morel. (And sorry for being late to respond.). I need to figure out how the pkgIndex.tcl file ended up being wrong. But I expect to merge your PR shortly.

ken-morel commented 2 days ago

Please, in the pull request I just changed the included dll name in the include statement(I do not know manything in tcl), from Tkgl11.dll to Tkgl11t.dll., but the dll name was surely that for a good reason. The modification works for me but please still check if it is not better to just rename the dll file instead of merging #2.