I am pretty sure I did everything correctly as I followed the directions in the wiki.
somebody please help me I don't understand how to fix this problem, I went into the luaconsole code and I went to the lines where the errors occur and it told me that they need to be pointers, but from my understanding the code they already should be pointers :P
EDIT: I think I fixed that problem mentioned above but now I am getting another problem this time in the form of a fatal error
1>regex.lib(regex2.dll) : error LNK2005: _regfree already defined in regex.obj
1>regex.lib(regex2.dll) : error LNK2005: _regexec already defined in regex.obj
1>regex.lib(regex2.dll) : error LNK2005: _regcomp already defined in regex.obj
fatal error LNK1169: one or more multiply defined symbols found
First of all, I hope that in luaconsole.c you changed (void*) to (char*) where you were getting those errors.
And about your other errors, if you go to the Solution Explorer (where the list of the source files are), and there happens to be a "regex.c" file in there, right-click it and click "exclude from project". Then rebuild.