Main.obj : error LNK2019: unresolved external symbol "void __cdecl lua::load_file(char *)" (?load_file@lua@@YAXPAD@Z) referenced in function "void __cdecl DarkGDK(void)" (?DarkGDK@@YAXXZ)
Debug\load script.exe : fatal error LNK1120: 1 unresolved externals
It means that the compiler cannot find the function defined in the library. Probably because it wasnt able to link to the library.
Try adding this:
pragma comment ( "lib", "barnskilibnameIforgotsry,lib" )
Make sure the library is added in the library directories.
As TechLord and Darkcoder says, you can use lua library directly without barnski plug-in. Its not that hard if you're an experienced programmer. If you have no background in programming whatsoever like school class and trainings, you'll find it hard. Believe me. The syntax is hard to understand for noobs. hehehe
When a person has nothing but a dream, can he dare to dream.