Skip to content
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

include Windows binaries as part of the release #342

Open
ststeiger opened this issue Nov 14, 2016 · 4 comments
Open

include Windows binaries as part of the release #342

ststeiger opened this issue Nov 14, 2016 · 4 comments

Comments

@ststeiger
Copy link

ststeiger commented Nov 14, 2016

I need libGD for a C# project.
I need the x86-32 + x86-64 dll's.
Here I can download the sourcecode, but not the binaries.
Also, the sourcecode doesn't compile, and there's no howto on doing it with VS201X, or at least I can't find it.

If it would be done right, you could always download the latest binaries from a CI server.
Like here:
https://ci.appveyor.com/project/imazen/gd-libgd
https://ci.appveyor.com/project/imazen/gd-libgd/branch/master
except that the dll shoud be working.

So far, I found (via Google) bdl.dll, but only the 32 bit version.
Do you really have to make this more complicated and time-consuming than it should be ?
I'm stopping development now.
Too bad, already had it working on Linux and Win32.

@cmb69
Copy link
Contributor

cmb69 commented Nov 14, 2016

We're already working on improving Windows support, see issue #249. Near the end of the current discussion you may find some helpful info for building the DLLs on Windows yourself. Particularly, note the comments on top of Makefile.vc.

@vapier vapier added the build label Nov 14, 2016
@vapier vapier changed the title Could you please start releasing statically linked BINARIES ? include Windows binaries as part of the release Nov 14, 2016
@cmb69 cmb69 mentioned this issue Jan 20, 2017
@cmb69
Copy link
Contributor

cmb69 commented Jan 20, 2017

I had a closer look at this, and the question is which VC runtimes should be supported. The dependendencies on http://windows.php.net/downloads/php-sdk/deps/ only support VC11 and VC14, but besides the inline declaration issue, there is no libwegp available for VC11 (PHP uses libvpx for older versions instead). So without further work we could support VC14 only. Would that be sufficient?

@ststeiger
Copy link
Author

ststeiger commented Jan 20, 2017

It would be sufficient to have working x86 32bit and 64bit binaries that I could call from C#. ARM binaries would be a bonus. Whether they have been cross-compiled, compiled with mingw/msys or whatever version of msvc doesn't matter (just statically link the runtime libraries). I just need to be able to GetProcAddress the functions. Preferably, you would add continuous integration where one could download the build-artefacts for each platform (or better where the build-artifacts get uploaded to github-releases automatically).

@pierrejoye
Copy link
Contributor

That is something we could do now that we have github actions in place.

Please check #743 and .github/workflow in master.

Only thing needed is a cpack call or more builds for static and shared DLLs.

Help welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants