-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Gnuplot builder #2339
Add Gnuplot builder #2339
Conversation
There's an executable called gnuplot-qt, generated in libexec folder |
https://juliapackaging.github.io/BinaryBuilderBase.jl/dev/#BinaryBuilderBase.ExecutableProduct
|
So... ExecutableProduct(dir_path="libexec/gnuplot_qt", :gnuplot_qt) |
No, |
|
Ugh, yeah, my fault, |
@giordano
The Qt one
and the cairo one
|
This is weird...
|
I fixed it with
But there are more such folders within include |
I have the feeling gnuplot can't be easily cross-compiled |
@giordano Are you talking about Windows or MacOS? |
I don't see anything useful in that screenshot. The fact that it's trying to run a command, |
lrelease is a part of QtLinguistTools... or so I hear... |
@giordano How does that sound? |
This is a dependency to build the above package! |
My update to use the latest patch from mingw and latest stable version isn't working on windows. Seems like some simple linking thing on windows. |
Took it one step further by forcing the winmain to be included, but this fails with:
|
Nice! Is it good to merge? I suppose someone should try the binaries out. |
I don't think it's working, unfortunately. Trying to run it gives:
This is just starting the generated executable after unpacking the tarball generated by BB, not sure if that misses any needed setup. |
Failing with:
The strange thing is that when I double-click the exe, I get a popup claiming "this app can't run on your PC". When I do the same on the old v5.4.1 exe, I get the expected "lib...dll not found" errors. |
p.s. If anyone wants to check the binaries, they are here: https://github.com/barche/Gnuplot_jll.jl/releases/tag/Gnuplot-v5.4.5%2B0 I'm still debugging this too. |
I am no help on Windows. I was hoping if the build works, the binaries will just work! |
Remind me to take a look on Windows. |
So I found out that there is another simpler executable being built, which also doesn't run. And the trigger is just adding the Works:
Fails:
The working version runs and produces no output, with the bad version I get:
Dependency Walker shows both exes only link to KERNEL32.DLL and MSVCRT.DLL. The built files differ in size. |
It seems one of the dependencies puts the following libraries in
Removing these builds a working executable, but I'm going to investigate which dep does this. |
Binaries are working now. The above-mentioned libraries were from |
It'd be good to know what is the problem with those libraries since we're going to use them in JuliaLang/julia#47184. CC: @vchuravy |
@barche If you have merge privileges, please merge. Otherwise, let me know and I can. |
I don't, so please, go ahead! |
This again is incomplete!
@giordano Your kind help is yet again needed my friend!