Page 4 of 4

Re: HELP! How to make a dll available for Love2D ?

Posted: Mon May 04, 2015 8:27 pm
by I~=Spam
I don't use windows so I don't know how to do it either. :P

Here is what I have so far (I used VS 2013) and it gives me the error: "%1 is not a valid Win32 application"

Grrrr. This is why I don't use windows... :x (I do know this might not be entirely window's fault though :P)

Link: https://www.dropbox.com/s/xiqfgnnpvxa3x ... b.zip?dl=0

Re: HELP! How to make a dll available for Love2D ?

Posted: Thu May 07, 2015 4:25 pm
by I~=Spam
I got it working! :awesome: :awesome: :awesome:

Here is a repository with support for building in linux and windows (I have only tried VS in windows): https://github.com/GoogleBot42/IronBox Look at my CMakeLists.txt. That is what is really important. Also the declaration of the openlib function has to change somewhat if compiling on windows.

Re: HELP! How to make a dll available for Love2D ?

Posted: Sun May 10, 2015 3:04 am
by dracula004
I~=Spam wrote:I got it working! :awesome: :awesome: :awesome:

Here is a repository with support for building in linux and windows (I have only tried VS in windows): https://github.com/GoogleBot42/IronBox Look at my CMakeLists.txt. That is what is really important. Also the declaration of the openlib function has to change somewhat if compiling on windows.
nice work! awesome!!!

Re: HELP! How to make a dll available for Love2D ?

Posted: Thu May 14, 2015 10:01 am
by dracula004
Solved.

The work project is on github:
https://github.com/Nigh/simple_dll_for_Love2D

thx much for your help. :ultrahappy:

Re: HELP! How to make a dll available for Love2D ?

Posted: Thu May 14, 2015 9:53 pm
by I~=Spam
Thats great! Could you mark the thread as solved so others too can find this answer. ;)