Cannot link a minimal Lua program

后端 未结 2 1241
情歌与酒
情歌与酒 2021-01-05 20:27

I have the following trivial Lua program which I copied from the book Programming In Lua

#include 
#include 
#include 

        
2条回答
  •  鱼传尺愫
    2021-01-05 20:48

    The names in the Lua API do not have those leading underscores. Try compiling with -fno-leading-underscore.

提交回复
热议问题