DCPUTeam / DCPUToolchain

[ARCHIVED] The code repository for the DCPU-16 Toolchain.
http://dcputoolcha.in/
MIT License
96 stars 14 forks source link

Removed most of the bundled libraries #201

Closed Ape closed 11 years ago

Ape commented 11 years ago

It's very ugly habit to bundle libraries that are widely available. I removed most of those from the repo and tested that this builds on my Arch Linux system. It now uses system libraries instead.

You might need to install some additional libraries that were previously bundled. All of the removed ones are available as Arch Linux packages and very easy to install. Other distributions should have the packages, too.

I haven't tested this on Windows. Windows users will also have to install the required libraries. The build environment may need some changes to match the new system. Please test this on Windows and fix things if needed.

Our source was updated for the latest version of glfw. Please have the latest version installed, the old bundled one will not work. There is not much changed in glfw api, but some function parameters have changed a bit.

I can help installing the libraries or with anything else. Ask me if you need anything.

Thanks.

hach-que commented 11 years ago

This won't work for several reasons.

Windows does not have the concept of installing packages or development headers; users would need to do that manually. To say it's a pain in the ass to set it up manually is a massive understatement because you need the right headers with the right patches and the right library binaries.

On Linux, all these libraries are statically linked anyway, so system versions make no difference there either and it also again saves people having to build obscure libraries for their platform by downloading particular source code versions (OpenSUSE comes with neither argtable2 or glfw binaries or headers, nor are there packages for these).

So; these libraries have to stay. Removing them only makes it a pain in the ass to build the toolchain (you'd need to acquire required libraries yourself) and gains you nothing. Only for particular distributions of Linux that ship those particular packages is it redundant, and we're not about to degrade the experience for everyone else.