Re: Lua PureLibrary deprecated?
Posted: Sat Sep 18, 2010 4:52 pm
This is the original source code, compiled with VC6.
http://www.purebasic.com
https://www.purebasic.fr/english/
kinda hard when "i can't compile because of linker errors" is the only info you're sharing! What errors?Louise wrote:Can someone help me?
What errors?Louise wrote:Show different errors.Keya wrote:kinda hard when "i can't compile because of linker errors" is the only info you're sharing! What errors?Louise wrote:Can someone help me?
if you want to try compile using the command line then the instructions found on https://lua64bit.wordpress.com
might do the trick
from the command prompt cd to the lua src directory
(edit the path of your vs installation and lua version below)note that lua version 5.3.0 does not have some of the functions that are in version 5.1.5 so your test code may need changing"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
cl /MD /O2 /c /GS- /DLUA_BUILD_AS_DLL *.c
ren lua.obj lua.o
ren luac.obj luac.o
link /DLL /IMPLIB:lua5.3.0.lib /OUT:lua5.3.0.dll *.obj
link /OUT:lua.exe lua.o lua5.3.0.lib
lib /OUT:lua5.3.0-static.lib *.obj
link /OUT:luac.exe luac.o lua5.3.0-static.lib
edit: just tried it and the static lib of version 5.1.5 works ok compiling as above
also the dll and import lib work ok