I wonder if there will be Windows binaries for the 5.4.0 release? The release has been a while now... I would like to get my hands on some new functions. ;-)
(Or did the download folder change? Maybe I am not up-to-date here?)
Testing binaries of 5.4.0 are available at https://sourceforge.net/projects/gnuplot/files/gnuplot/testing/
Unfortunately, I am experiencing issues on some systems and there have been a number of Windows specific bug reports, which I did not find the time to address yet.
Feedback would be very much appreciated.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I installed 5.4-rc2 and now the Windows terminal won't open. You can see the window opening and closing immediately. No error messages or anything. Is there a debug log file or something to provide helpful information about this issue?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry to hear that. Did you use the installer gp540-win64-mingw.exe? That is 5.4.0 really, although it might say "rc2". There's no LOG file unfortunately. What exactly where you doing? Open wgnuplot with terminal set to "windows" and "plot x"? Do the "qt" or "wxt" terminals work?
Or does it crash immediately? If yes, could you please try uninstalling and reinstalling again? I am suspecting a DLL clash. It may also be that there are incompatible DLLs with the same name in your PATH.
Do you have an '%APPDATA%\wgnuplot.ini' file? Is the behaviour similar for the console version as for wgnuplot?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
=> The plot window shows completely white and closes immediately. gnuplot.exe exits as well.
wxt and qt terminals are s working. windows terminal is not.
It is the same for gnuplot.exe, wgnuplot.exe and wgnuplot_pipes.exe.
I did several installs and uninstalls. In gp528-win64-mingw.exe it was still working.
There is no '%APPDATA%\wgnuplot.ini' file.
It does not look like a DLL mismatch problem to me. Here is the trace right after I issued “plot x” using windows terminal from the console (https://pastebin.com/GM3amphM). Only Image and Process events are shown.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can confirm, however, that on my machine (Win10, x64, 64 bit OS + Gnuplot) its the same bevaviour: windows terminal immediate close, wxt + qt terminal works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the source code and built it successfully with MinGW and kinda have a workspace in VS code to debug gnuplot.exe with gdb.
The crash happens in wd2d.cpp:d2dResize(LPGW lpgw, RECT rect) at this call: lpgw->pDXGISwapChain->ResizeBuffers(0, 0, 0, DXGI_FORMAT_UNKNOWN, 0);
An exception is raised here becauselpgw->pDXGISwapChain is null. It is null because in wd2d.cpp:d2dCreateDeviceSwapChainBitmap(LPGW lpgw) the call to dxgiFactory->CreateSwapChainForHwnd(g_pDirect3dDevice, lpgw->hGraph, &props, NULL, NULL, &pDXGISwapChain); returnshr=0x80070057 (ERROR_INVALID_PARAMETER).
Edit: I'm on the branch-5-4-stable branch (commit 4ab20ae079d7a59348181397a9a10f0ac42b1e28). Also tested on master. Same issue.
Last edit: Markus 2020-10-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, a windows binary release would be highly appreciated!
It contains a crucial bug fix for my use cases.
Sadly it is not straight forward to build gnuplot from source on windows.
At least, I never managed to produce a fully working binary ...
Building gnuplot on Windows in fact is rather straightforward using MSYS2/Mingw64. Instructions can be found here: [#199].
Related
Support Requests: #199
Ok I only tried MSVC ...
Thanks for the link!
Testing binaries of 5.4.0 are available at https://sourceforge.net/projects/gnuplot/files/gnuplot/testing/
Unfortunately, I am experiencing issues on some systems and there have been a number of Windows specific bug reports, which I did not find the time to address yet.
Feedback would be very much appreciated.
I installed 5.4-rc2 and now the Windows terminal won't open. You can see the window opening and closing immediately. No error messages or anything. Is there a debug log file or something to provide helpful information about this issue?
Sorry to hear that. Did you use the installer
gp540-win64-mingw.exe
? That is 5.4.0 really, although it might say "rc2". There's no LOG file unfortunately. What exactly where you doing? Open wgnuplot with terminal set to "windows" and "plot x"? Do the "qt" or "wxt" terminals work?Or does it crash immediately? If yes, could you please try uninstalling and reinstalling again? I am suspecting a DLL clash. It may also be that there are incompatible DLLs with the same name in your PATH.
Do you have an '%APPDATA%\wgnuplot.ini' file? Is the behaviour similar for the console version as for wgnuplot?
Yes I used
gp540-win64-mingw.exe
.What I did:
=> The plot window shows completely white and closes immediately. gnuplot.exe exits as well.
wxt
andqt
terminals are s working.windows
terminal is not.It is the same for gnuplot.exe, wgnuplot.exe and wgnuplot_pipes.exe.
I did several installs and uninstalls. In
gp528-win64-mingw.exe
it was still working.There is no '%APPDATA%\wgnuplot.ini' file.
It does not look like a DLL mismatch problem to me. Here is the trace right after I issued “plot x” using windows terminal from the console (https://pastebin.com/GM3amphM). Only Image and Process events are shown.
Thanks for the hint to the download!
I can confirm, however, that on my machine (Win10, x64, 64 bit OS + Gnuplot) its the same bevaviour: windows terminal immediate close, wxt + qt terminal works.
I downloaded the source code and built it successfully with MinGW and kinda have a workspace in VS code to debug gnuplot.exe with gdb.
The crash happens in
wd2d.cpp:d2dResize(LPGW lpgw, RECT rect)
at this call:lpgw->pDXGISwapChain->ResizeBuffers(0, 0, 0, DXGI_FORMAT_UNKNOWN, 0);
An exception is raised here because
lpgw->pDXGISwapChain
is null. It is null because inwd2d.cpp:d2dCreateDeviceSwapChainBitmap(LPGW lpgw)
the call todxgiFactory->CreateSwapChainForHwnd(g_pDirect3dDevice, lpgw->hGraph, &props, NULL, NULL, &pDXGISwapChain);
returnshr=0x80070057 (ERROR_INVALID_PARAMETER).
Edit: I'm on the branch-5-4-stable branch (commit 4ab20ae079d7a59348181397a9a10f0ac42b1e28). Also tested on master. Same issue.
Last edit: Markus 2020-10-21
Great! Thank you. That should be sufficient info to sort this out. I'll have a look on the weekend.
Please see Bugs #2304 also.