Libnoise is an open-source noise-generating library for c++. I needed a build for a MinGW project, but unfortulately, for windows users, the homepage says it's buildable under "Microsoft Visual C++ 5.0 under Microsoft Windows 2000 Service Pack 4". MinGW users can get lost.
Actually using MSYS and some tweaking it's easy to build it using gcc and pals.
The DLL is available for download here : http://www.unix-junkies.org/kbok/libnoise-0.3.dll
For the curious, here's how I did it:
- Install MinGW, libtool, and bash.
- Remove the last line in src/Makefile (The include thing) This is a hack, and isn't necessary to build.
- Rename the library name to give it a proper DLL extension. A replace-all will do.
- Do a mingw32-make and let make crash miserably in the include/ dir. At that time the DLL will already be there, so we don't care anymore.
You may want to follow me on twitter.
No comments:
Post a Comment