Note: This post offers a Windows JAR/DLL package. I have delivered a newer version, also for Linux/Mac OS X. Get them from here
A long while ago I played around with Slick. A game library for Java. It offers easy 2d graphics drawing with the speed of OpenGL (by using LJWGL). It has much more features than that as well.
When I tried it I was running Win XP 32 bit. However, recently I was trying my code again, this time on Windows 7 64 bit, and I encountered the following error:
lwjgl.dll: Can’t load IA 32-bit .dll on a AMD 64-bit platform
I could not find a decent solution easily, but I fixed it by doing this:
– Get the latest source of Slick
– Download the latest LJWGL version
– Use the latest LJWGL JAR and DLL files and put them into the latest source code of Slick
– Run “ant dist” of Slick
Use the newly generated JAR of Slick and the new DLL files of LJWGL together, and you’re all set for 32 AND 64 bit!
If you just want to download everything (DLL and JAR’s), I’ve made a little archive for Windows users. It is unofficial though, no support given!. Grab it from here.
Your link to download all the DLL’s and JAR’s isn’t work at all, please fix it!
I clicked on the link to take me to the lastest Slick but the connection is unsecured and don’t feel like risking it.
Ok, thank you kindly. Is this the newly created thing needed to work? Because I decide to go into the site to get the “latest source of Slick” and not sure what to download and I’m not sure about where you run “ant dist” thing since both sites don’t seem to have the file.
If you go to the website of Slick, you will find that the latest version you download is actually an old version. If you use the JAR/natives I provide, you will have the latest LJWGL version and latest Slick version (created from a freshly checked-out source code). The ZIP file is not a substitute for Slick, but it does work for 64 bit.
Thank you for providing a 64x version of slick! It is very helpful and works perfectly.
A very big thanks for this 😉
Thanks a lot. I was close to desperation ;-).
Thank you so much! I already had all of the LWJGL dll’s and jars but thank you for the solution. I was so close to finding another library to use.
You saved my day. I tried to replace only the .dll’s and just got rly angry about Slick and now – it works. Thankyou! <3
Thanks, I’am going to sleep tonight.
Glad I saved you a night of searching 😉
Wow, nice. I tried to help my girlfriend to get Slick running, she was trying for hours. Came across your site and voilá – everything works fine.
Whoa, thanks man! Well over a year later and you’re still saving people hours of agony.
This post helped me infinitely! Thank you 😀
thanks. you saved me too.. 🙂