lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: Compiling LuaFileSystem on Windows 10
From
: Viacheslav Usov <via.usov@
...
>
Date
: Sat, 6 Jan 2018 09:20:20 +0100
On Sat, Jan 6, 2018 at 8:45 AM, Russell Haley
<
russ.haley@gmail.com
>
wrote:
> Which, if I am reading it correctly, is saying that to succesful build a DLL in Visual Studio I would either need to mark up the entire Lua API in the header files with
>
> __declspec( dllimport ) void _lua_func_here(...);
Which is already done through the LUA_API prefix, if LUA_BUILD_AS_DLL is defined. See luaconf.h.
You might also want to check out vcpkg:
https://github.com/Microsoft/vcpkg
. If nothing else, its Lua port might be instructive.
> OR Every application (C++ only?) that is built under vs needs to be patched to use
>
> extern "C" { #include "MyCHeader.h" }
You are confused here. This is not specific to MSVC and is indeed something that needs to be done when C++ code interfaces with C code.
Cheers,
V.
Follow-Ups
:
Re: Compiling LuaFileSystem on Windows 10
,
Russell Haley
Re: Compiling LuaFileSystem on Windows 10
,
Russell Haley
References
:
Compiling LuaFileSystem on Windows 10
,
Russell Haley
Re: Compiling LuaFileSystem on Windows 10
,
KHMan
Re: Compiling LuaFileSystem on Windows 10
,
Russell Haley
Re: Compiling LuaFileSystem on Windows 10
,
Russell Haley
Re: Compiling LuaFileSystem on Windows 10
,
Russell Haley
Re: Compiling LuaFileSystem on Windows 10
,
Russell Haley
Re: Compiling LuaFileSystem on Windows 10
,
Russell Haley
Prev by Date:
Re: Compiling LuaFileSystem on Windows 10
Next by Date:
Re: Custom Lua Binary Sizes
Previous by thread:
Re: Compiling LuaFileSystem on Windows 10
Next by thread:
Re: Compiling LuaFileSystem on Windows 10
Index(es):
Date
Thread