Internal Lua and require

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
I am using;
TCC  16.03.54  Windows Vista [Version 6.0.6002]
TCC Build 54  Windows Vista Build 6002  Service Pack 2
I am attempting to use an external lua library;
which lua
lua is an internal command


Lua 5.2.3  Copyright (C) 1994-2013, PUC-Rio
> require "luacom"
stdin:1: module 'luacom' not found:
  no field package.preload['luacom']
  no file 'C:\Program Files\JPSoft\TCMD16\lua\luacom.lua'
  no file 'C:\Program Files\JPSoft\TCMD16\lua\luacom\init.lua'
  no file 'C:\Program Files\JPSoft\TCMD16\luacom.lua'
  no file 'C:\Program Files\JPSoft\TCMD16\luacom\init.lua'
  no file '.\luacom.lua'
  no file 'C:\Program Files\Lua\5.1\lua\luacom.luac'
  no file 'C:\Program Files\JPSoft\TCMD16\luacom.dll'
  no file 'C:\Program Files\JPSoft\TCMD16\loadall.dll'
  no file '.\luacom.dll'
stack traceback:
  [C]: in function 'require'
  stdin:1: in main chunk
  [C]: in ?
The lua library that I want to use is located at;
C:\Program Files\Lua\5.1\clibs\luacom.dll
Is there a way to make TCC seach C:\Program Files\Lua\5.1\clibs for a library?