ZLIB

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

ZLIB

Post by schme16 »

I've been trying to include zlib.dll into LOVE, but it always returns an error':
`error loading module 'zlib' from file 'C:\Program Files (x86)\LOVE\zlib.dll': The specified procedure could not be found.` then it has an ascii box/square (see attached)

The reason behind needing zlib is that I'm trying to get the lua-git project to work in LOVE: https://github.com/mkottman/lua-git

any help would be awesome,



Cheers!
Attachments
zlib error.GIF
zlib error.GIF (63.16 KiB) Viewed 2058 times
My Development Diary - http://shanegadsby.info
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: ZLIB

Post by schme16 »

So no-ones got any suggestions?
My Development Diary - http://shanegadsby.info
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: ZLIB

Post by Robin »

schme16 wrote:So no-ones got any suggestions?
Seems not, sorry. But you shouldn't try to include binaries. You lose cross-platfomness and SELÖVE doesn't like it.
Help us help you: attach a .love.
User avatar
schme16
Party member
Posts: 127
Joined: Thu Oct 02, 2008 2:46 am

Re: ZLIB

Post by schme16 »

I suppose you're right. Thanks anyway
My Development Diary - http://shanegadsby.info
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: ZLIB

Post by kikito »

I've seen some gzip decompression happening in pure lua in Kadoba's tile loader, in case you are interested. (look in /AdvTiledLoader/external/ )
When I write def I mean function.
User avatar
genericdave
Citizen
Posts: 53
Joined: Tue Dec 15, 2009 9:08 am

Re: ZLIB

Post by genericdave »

There are a number of pure Lua implementations of zip compression. Have a look at the list over on the Lua-Users Wiki. LibCompress and/or LuaRocks look like they might be just what you're looking for.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 202 guests